Skip to content

Commit

Permalink
chore: change README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liyukun committed Oct 16, 2023
1 parent 557bf18 commit ecb6940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ function bindPort(string calldata portId, address moduleAddress)

To comply with IBC protocol regulations, a channel cannot function until it is paired with a business module through a port.

## Send ICS20 Packet (WIP)
## Send ICS20 Packet (using ERC20)

In the previous migration step, a standard ICS20 transfer module has already been bound at port `port-0` by default. Run script `scripts/send_packet.js` to send a standard custom ICS20 packet:
In the previous migration step, a standard ICS20 transfer module has already been bound at port `transfer` by default. Run script `scripts/send_erc20_packet.js` to send a standard custom ICS20 packet:

```bash
$ yarn send
```

This is because an IBC packet cannot be sent by directly calling the method in `OwnableIBCHandler` contract. Instead, it should be sent by calling a method in the business module, and the handler contract will be invoked subsequently.
This is because an IBC packet cannot be sent by directly calling the method in `OwnableIBCHandler` contract. Instead, it should be sent by calling a method in the business module, and the handler contract will be invoked subsequently.

0 comments on commit ecb6940

Please sign in to comment.