Error using NFT tutorial: Cannot create instance of ERC721PresetMinterPauserAutoId

Hi @some_guy,

Thanks for the feedback. :pray:

Apologies, the tutorial was using my example contract address and it wasn’t clear in the tutorial to change it to your own, I have now changed it to use deployed() instead.

truffle(rinkeby)> nft = await ERC721PresetMinterPauserAutoId.deployed()

I have also made some slight improvements to the end of the tutorial to make it clearer about what contract address to use.

Please ask all the questions that you need. I can update the tutorial to make it better for the community.


The ERC20 Preset tutorial I created Truffle, Remix, buidler and OpenZeppelin CLI versions.

I may do similar for the ERC721 Preset tutorial depending on demand.
I started with truffle as I wanted to share it with the widest audience.