Skip to content

Commit

Permalink
fix(devx): add hardhat verification command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginowine committed Sep 9, 2024
1 parent 3a50d2a commit 7ef3951
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/build/isc/v1.3/docs/tutorials/defi-yield-farming.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ npx hardhat run scripts/deploy.js --network evm-testnet

You can verify your contract by visiting
the [EVM Testnet Explorer](https://explorer.evm.testnet.shimmer.network/),
and searching for the address from the previous step. If you access the `Contract` tab, you should be able to see your code and interact with your contract.
and searching for the address from the previous step. If you access the `Contract` tab, you should be able to see your code and interact with your contract or you can use the below command to verify the contracts through hardhat :

```bash
npx hardhat verify --network iota_evm_testnet CONTRACT_ADDRESS_HERE "CONSTRUCTOR_ARGUMENTS_IF_ANY"
```

Feel free to [fork this repository](https://github.com/iota-community/Defi-yield-farming), contribute with pull requests, or customize it to suit your needs. We have a React [frontend](https://github.com/iota-community/Defi-yield-farming/tree/main/frontend) on the repository that you can use to interact with Token Farm smart contract.
6 changes: 5 additions & 1 deletion docs/build/isc/v1.4/docs/tutorials/defi-yield-farming.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ npx hardhat run scripts/deploy.js --network evm-testnet

You can verify your contract by visiting
the [EVM Testnet Explorer](https://explorer.evm.testnet.shimmer.network/),
and searching for the address from the previous step. If you access the `Contract` tab, you should be able to see your code and interact with your contract.
and searching for the address from the previous step. If you access the `Contract` tab, you should be able to see your code and interact with your contract or you can use the below command to verify the contracts through hardhat :

```bash
npx hardhat verify --network iota_evm_testnet CONTRACT_ADDRESS_HERE "CONSTRUCTOR_ARGUMENTS_IF_ANY"
```

Feel free to [fork this repository](https://github.com/iota-community/Defi-yield-farming), contribute with pull requests, or customize it to suit your needs. We have a React [frontend](https://github.com/iota-community/Defi-yield-farming/tree/main/frontend) on the repository that you can use to interact with Token Farm smart contract.

0 comments on commit 7ef3951

Please sign in to comment.