Bridging Process
as of 02/01/2025
Last updated
Was this helpful?
as of 02/01/2025
Last updated
Was this helpful?
The bridging mechanism operates with a straightforward yet robust structure. Bittensor users gain access to the TAO Bridge by connecting their MultiversX and Bittensor accounts. Once connected, the user selects whether they intend to transfer assets from Bittensor to MultiversX or vice versa.
If the user chooses to bridge to MultiversX, they receive a provisional wallet address to deposit their TAO tokens. Subsequently, they sign the transaction through the Bridge frontend and await the minting of their wTAO tokens.
For users looking to swap their wTAO tokens back to TAO, the process is streamlined. Users only need to initiate the burn of their wTAO tokens through the frontend, signaling a bridge-back request. After a brief period, Hatom will transfer the corresponding TAO tokens to the provided Bittensor address.
To initiate the Bridge In process, the user must establish connections with both the Bittensor and MultiversX wallets. Hatom supports four wallet options for the Bittensor ecosystem: Polkadot.js Wallet, Nova Wallet, Sub Wallet, or the Bittensor Wallet extension.
To connect to the MultiversX ecosystem, users have four available methods: the MultiversX DeFi Wallet, the MultiversX Web Wallet, Ledger hardware wallets, and the xPortal App.
You can either bridge to MultiversX, also referred to as Bridge In, which involves transferring assets from the Bittensor ecosystem to the MultiversX blockchain, enabling you to exchange your TAO tokens for the wrapped version, wTAO. Alternatively, you can Bridge Back from MultiversX to Bittensor, allowing you to retrieve your TAO tokens after burning the corresponding wTAO tokens on the MultiversX blockchain.
When a user initiates a transfer from the Bittensor ecosystem to the MultiversX blockchain, they will be prompted to enter the desired amount. The interface will then display the applicable fees for the bridging service. If the user accepts the presented values, they can proceed by clicking "Bridge." This action will create a bridge intent record in the system's database, and the user will be assigned a provisional wallet address to transfer the specified amount of TAO tokens for bridging.
Subsequently, the user will be required to sign the transfer transaction using their selected wallet provider, authorizing the movement of TAO tokens from their wallet to the assigned provisional wallet address.
After a period of time, the system will systematically scan all bridge intents created for users who have initiated the bridging process. It will verify the provisional wallets for the presence of funds and identify valid bridge intents. For each valid intent, the system will proceed to mint the corresponding amount of wTAO (Wrapped TAO) tokens and delegate them to the user's MultiversX account.
When users wish to retrieve their TAO tokens from the wTAO tokens on the MultiversX blockchain, they must select the "Bridge to Finney" option to access the bridge-back interface. On this page, users will specify the amount they intend to bridge back. Similar to the initial bridging process, the interface will display the corresponding amount of TAO tokens the user will receive.
If the user proceeds, they will be prompted to click "Bridge" and sign a transaction to burn the specified amount of wTAO tokens. This action will trigger the creation of a bridge-back intent record in the system's database.
After a period of time, the system will scan for these burn transactions that have been confirmed on the blockchain, typically after 20 blocks have been included. Bridge-back intents associated with confirmed burn transactions will be qualified as valid, and the system will then proceed to transfer the corresponding TAO tokens from the Treasury wallet to the user's Bittensor wallet address.