Skip to content

feat(market): add secondary market support for tradeable reward NFTs#406

Merged
codebestia merged 3 commits into
ShadeProtocol:mainfrom
Deyanju23:feat/reward-nft-secondary-market
Jul 2, 2026
Merged

feat(market): add secondary market support for tradeable reward NFTs#406
codebestia merged 3 commits into
ShadeProtocol:mainfrom
Deyanju23:feat/reward-nft-secondary-market

Conversation

@Deyanju23

Copy link
Copy Markdown
Contributor

Closes #346

Summary

Implement the core secondary market for tradeable reward NFTs.

Changes

  • Added the minimal persistent storage required for secondary-market state.
  • Implemented core marketplace actions.
  • Added authorization and ownership validation.
  • Exposed the required functions through ShadeTrait.
  • Added marketplace events for off-chain indexing.
  • Added/updated tests covering marketplace behavior.

Why

Tradeable reward NFTs allow backers to transfer ownership after minting while remaining compatible with the existing fundraising system. This implementation focuses on the minimum secure functionality required without introducing additional marketplace features.

Testing

Covered:

  • Successful marketplace flow
  • Authorization failures
  • Ownership validation
  • Invalid listings
  • Duplicate purchase protection
  • Event emission
  • Storage updates

Validation:

cargo test
cargo clippy --workspace --all-targets -- -D warnings
cargo build --target wasm32-unknown-unknown --release

Scope

This PR implements only the core secondary-market functionality. It intentionally excludes auctions, bidding, royalties, advanced marketplace features, and unrelated refactoring.

@drips-wave

drips-wave Bot commented Jun 30, 2026

Copy link
Copy Markdown

@Deyanju23 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@codebestia codebestia merged commit 774b307 into ShadeProtocol:main Jul 2, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Secondary Market for Tradeable Reward NFTs

2 participants