truffleuniversity / truffle-cryptotruffles

Truffle-scented ERC721 NFT using Drizzle on the FE 🍪
https://cryptotruffles.truffle.university
MIT License
0 stars 1 forks source link

Error in Truffles list Collection #1

Open damianlluch opened 5 years ago

damianlluch commented 5 years ago

Hi, thanks for sharing this resources. I try run your project and not showed truffles list. I share image capture.

image

kevinbluer commented 5 years ago

Hey @damianlluch! It's likely that there aren't currently any "truffles" deployed to you local ganache instance. If you open up the truffle console (truffle console or truffle develop if you don't have a existing ganache instance running) and run the following it should create one...

let i = await CryptoTruffles.deployed()
i.mint("Truffle X", "blue", 0)

Note that this is assuming you've migrated the contracts first of course.

Any queries, just let me know.