Skip to content

Refund target in IBC #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/docs/pages/users/ibc/shielded-ibc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,12 @@ namadac ibc-transfer \

Gas fees can be paid like all the other transactions either directly from an implicit account adding `--gas-payer $IMPLICIT_ADDRESS` or via the MASP.
For more information please refer to the [fees section](../fees.mdx).

### Refund when IBC transfer failure
The token should be refunded when the IBC transfer fails.

`--refund-target` can be set to specify the address to be refunded only if you send tokens from a shielded address. In a transparent IBC transfer, tokens will be refunded to the source address.

The refund target address will receive the refund if `--refund-target` is given. You can set only a transparent address for the refund target. Please note that this address should be disposable not to leak infromation.

If no `--refund-target` is given in a transfer from a shielded address, a generated transparent address whose alias is prefixed with `ibc-refund-target` and the token will be refunded to the transparent address.
Loading