10.1 Setup

To set up our project, we will use the command 'clarinet new tiny-market' and then create the tiny market contract with 'clarinet contract new tiny-market'. As our marketplace focuses on selling NFTs, we need to add the SIP009 trait and create a SIP009 NFT. We have already created a few of these, so we will leave it as a challenge for the reader. It is important to name the SIP009 contract BIP009-nft-trait' and the NFT contract 'BIP009-nft'. The contract can be implemented in any way, as long as it includes a mint function that can be called by the contract deployer.

Last updated