Skip to content
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

Bitcoin deposit fees #248

Merged
merged 3 commits into from
Feb 22, 2024
Merged
Changes from 1 commit
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
11 changes: 11 additions & 0 deletions docs/developers/omnichain/zrc-20.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ correspond to a contract address on ZetaChain, the token will be deposited to
that contract and the `onCrossChainCall` function of that contract will be
called with the remaining input data as the `message`.

When depositing native gas tokens from EVM-based connected chains, there is no
additional cross-chain fee. If you send 1 token to a TSS address, you will
receive 1 ZRC-20 version of the same token on ZetaChain.

For Bitcoin deposits, which utilize the UTXO (Unspent Transaction Output) model,
the process incurs additional fees. Unlike EVM-based chains, each deposited
Bitcoin output incurs a fee when it is spent. To address this, both the
depositor and the withdrawer share the cost of the spend. This fee is charged in
advance as a deposit fee. Currently, the rate is set at 20 satoshis per virtual
fadeev marked this conversation as resolved.
Show resolved Hide resolved
byte (sats/vB), but it may vary according to market conditions.

## Depositing Supported ERC-20 Tokens as ZRC-20

To deposit a supported ERC-20 token to ZetaChain, use the `deposit` method of
Expand Down
Loading