This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
Bridge rootchain-originated assets #2114
-
How I can bridge rootchain-originated assets on the Supernets? |
Beta Was this translation helpful? Give feedback.
Answered by
Stefan-Ethernal
Feb 5, 2024
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Stefan-Ethernal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following paragraphs explain how bridging from a rootchain to a child chain is done when a token originates from a rootchain (namely its supply is controlled over there: minting and burning). Given example explains how ERC20 tokens are bridged from a rootchain to a child chain, but workflow is similar to any other asset type (ERC721 or ERC1155). The only difference is that
bridge deposit-erc721
orbridge deposit-erc1155
commands are used for depositing andbridge withdraw-erc721
orbridge withdraw-erc1155
are used for withdrawals.Preconditions