neo-contrib-token // sample code for demonstration purposes
NFT Tutorial
LunaToken
- mint tokens (name, description, image URL)
- buy a specified token by transferring 10 NEO to the contract
- contract owner can withdraw NEO spent on NFTs
DemoShopContract
- List a token by transferring the NFT to the contract (must specify sale price)
- Buy a token by transferring sale price + 1 in NEO to the contract
- token owner can cancel a sale before the token has sold
- contract owner can withdraw the accumulated +1 NEO fees
CLI Client
- List NFTs
- Buy an NFT