- Compile smart contract
- Start Ganache CLI
npx ganache-cli --deterministic
- Deploying a contract
npx truffle migrate --network development
- Enable Truffle console
npx truffle console --network development
- Interacting with contract from Truffle console
const disc = await TestDisc.deployed();
await disc.mintNFT("0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1", "https://gateway.pinata.cloud/ipfs/Qmen8Yo37xpMjGXEJ1gasQYfZAcbM7FMVJhSB6VSUXtMGr")
await disc.ownerOf(1)
await disc.tokenURI(1)
- Run automated tests
- Deploying to rinkeby network
npx truffle migrate --network rinkeby
- Run decentraland server