Isa Hassan ⚡ pfp
Isa Hassan ⚡
@totheapex
Day 5: Deploying and Testing the Contract_ We'll deploy our contract on a local blockchain like Ganache or Hardhat, and then test its functionality using Truffle's `truffle console` or Remix. Here's an example of how to deploy and test the contract using Truffle: /base
0 reply
1 recast
1 reaction

Isa Hassan ⚡ pfp
Isa Hassan ⚡
@totheapex
truffle deploy --network ganache truffle console --network ganache // Create a new instance of the contract var myContract = await MyERC721.deployed() // Mint a new token await myContract.mintToken("0x...", 1, "https://...")
0 reply
0 recast
0 reaction