I am developing a smart contract to publish the NFT. Since I am using ipfs to store json I made a function to create a collection that gets the metadata reference and mints the token. Is it necessary to prescribe in the smart contract to set the price and pass the NFT to another person?

  • What do you mean by necessary? Sep 8 at 12:33
  • @PatrickCollins I'm talking about creating a function in a smart contract something like setPrice() and passing Sep 8 at 14:22
  • @PatrickCollins Or is it enough to call _safeMint() and _setTokenTURI() to put the nft up for sale ? Sep 8 at 14:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.