This repository was archived by the owner on Dec 4, 2024. It is now read-only.
Repository navigation
Bridge rootchain-originated assets #2114
|
How I can bridge rootchain-originated assets on the Supernets? |
Answered by
Stefan-Ethernal
Feb 5, 2024
Replies: 1 comment
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-erc721orbridge deposit-erc1155commands are used for depositing andbridge withdraw-erc721orbridge withdraw-erc1155are used for withdrawals.Preconditions