<100 subscribers
Share Dialog
Share Dialog
In the first task of deploying a contract, we have learned how to deploy an on-chain contract,
If not, you can refer to the official tutorial and the tutorial of joio.eth.
https://mirror.xyz/joio.eth/uW3qffe_byHABaMCcE9b8bbAPbfhj_d9xSqdCu4Knv4
Note: This tutorial must use the following supporting contracts (Comments) to use this DAPP normally, otherwise the operation will report an error!
The second task needs to write a testnet application (dapp). At this time, we can use the contract in the first task to perform various contract operations.
Here I will take the dapp released by myself as an example to illustrate.

In the first task of deploying a contract, we have learned how to deploy an on-chain contract,
If not, you can refer to the official tutorial and the tutorial of joio.eth.
https://mirror.xyz/joio.eth/uW3qffe_byHABaMCcE9b8bbAPbfhj_d9xSqdCu4Knv4
Note: This tutorial must use the following supporting contracts (Comments) to use this DAPP normally, otherwise the operation will report an error!
The second task needs to write a testnet application (dapp). At this time, we can use the contract in the first task to perform various contract operations.
Here I will take the dapp released by myself as an example to illustrate.



Modify the RPC address in pages/index.tsx
Modify abi and contract address in hooks/useCommentsContract.ts



If the contract has been verified, you can see copy abi in the Code column of the block browser


If the contract is not verified, you can find abi on remix, just copy the following [ … ] array






Modify the RPC address in pages/index.tsx
Modify abi and contract address in hooks/useCommentsContract.ts



If the contract has been verified, you can see copy abi in the Code column of the block browser


If the contract is not verified, you can find abi on remix, just copy the following [ … ] array




No comments yet