Skip to content

Commit

Permalink
Withdraw tutorial: use interact as a task name (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Jul 26, 2023
1 parent 92b8c2d commit 69955d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developers/omnichain/tutorials/withdraw.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ npx hardhat deploy --network zeta_testnet
Use the standard interact task to call the omnichain contract:

```
npx hardhat withdraw --network goerli_testnet --amount 0.5 --contract 0x5E3229522BeFD3D9CD422Fd91f4273ed4EB2639a --recipient 0x2c2d7aF555156eFB8Bfc3eBB0C41fE57D4D1C7c4
npx hardhat interact --network goerli_testnet --amount 0.5 --contract 0x5E3229522BeFD3D9CD422Fd91f4273ed4EB2639a --recipient 0x2c2d7aF555156eFB8Bfc3eBB0C41fE57D4D1C7c4
```

Where `--contract` is the contract address from the output of the `deploy` task
Expand Down Expand Up @@ -163,4 +163,4 @@ ZetaChain and withdrew the tokens to the recipient address on Goerli.

You can find the source code for the example in this tutorial here:

https://github.com/zeta-chain/example-contracts/blob/feat/import-toolkit/omnichain/withdraw
https://github.com/zeta-chain/example-contracts/tree/main/omnichain/withdraw/

0 comments on commit 69955d1

Please sign in to comment.