Bridging assets
Last updated
Last updated
Bridges exist to connect blockchain networks. They enable connectivity and interoperability between blockchains. This makes the main network ecology more inclusive, so that all other chain applications can be migrated to the AI Trader main network.
You can get default bridges' addresses using the AIT_getBridgeContracts
endpoint or getDefaultBridgeAddresses
method of Provider
in our (similar methods are available in the other SDKs).
Use the standard bridge contract only with standard bridge tokens
Only use standard bridge contracts with standard bridge tokens Note that if you use the AITrader bridge (opens new window) or the AITrader SDK, it automatically selects the correct bridge contract, so this issue does not occur. There are two ways to check if a token can use the standard bridge: View a list of tokens (opens new window). If the token can use a standard bridge, then the "ChainId": 20 entry will have the standard bridge address 0x8200..0898