Skip to content

TENAMINT/nft-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nft-challenge

Smart contract for NFT challenges. NFT Challenges are ways to reward users NFTs(or even RWAs) for completing challenges, where challenge "components" are represented as NFTS they've collected. Once they collect all challenge piece NFTs, their eligible to complete the challenge and be marked as a winner!

Important:

If you plan on burning challenge NFTs on completion, make sure users who try to complete the challenge give the challenge contract transfer approval for their challenge piece NFTs, so that the challenge contract can burn them. If you plan on minting the reward NFT through the challenge contract, ensure you make the challenge contract a minter of the reward NFT contract.

How to Build Locally?

Install cargo-near and run:

cargo near build

How to Test Locally?

cargo test

How to Deploy?

Deployment is automated with GitHub Actions CI/CD pipeline. To deploy manually, install cargo-near and run:

cargo near deploy <account-id>

Useful Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages