Skip to content

[Soroban] Add Royalty Support #631

Description

@Eniola3321

Add configurable royalty support using basis points (BPS).

Background

Creators should receive royalties on secondary sales, while the platform may receive a configurable fee.

Pasted text.txt

Document

Tasks
Add set_royalty().
Store royalty recipient.
Validate max 1500 BPS.
Add royalty getter.
Support platform fee.
Swagger / API Integration
Document:

GET /nfts/:id/royalty

PATCH /nfts/:id/royalty

Add response schema.
Acceptance Criteria

Royalties are stored correctly.

Values above 15% are rejected.

Getter returns recipient and BPS.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions