Create a Smart Contract Instance
Create a Smart Contract Instance
Let's import the JSON file and the Ethers Contract
object within App.js
. We can create a contract object instance with an address and ABI, so replace INSERT_CONTRACT_ADDRESS
with the address of the contract that you copied back when you deployed it:
Last updated