Add section for using the bridge

This commit is contained in:
arturoBeccar
2024-09-25 15:56:08 -03:00
parent 3f2c908028
commit 710ca1b9df

View File

@@ -36,3 +36,58 @@ Once the wallet is successfully connected, you will notice the blockchain icon i
{% hint style="info" %} You can connect wallets for different blockchains simultaneously (e.g., Stacks, Bitcoin, and EVM). Once connected, you will see the respective blockchain icons in the top right corner of the app. {% endhint %}
## Using the Bridge
Follow these steps to bridge your assets between chains using XLink.
### Step 1: Select the Source Blockchain and Token
To start, choose the blockchain from which you want to bridge your assets (e.g., **Stacks Chain**). Then, select the token you would like to bridge (e.g., **sUSDT**).
![Select Token](../.gitbook/assets/using-the-bridge/3-0-select-token-from.png)
![Select Blockchain and Token](../.gitbook/assets/using-the-bridge/3-1-select-blockchain-and-token-from.png)
### Step 2: Select the Destination Blockchain and Token
Next, select the destination blockchain where you wish to send the assets (e.g., **Bison Testnet**). Then, choose the corresponding token on this chain (e.g., **sUSDT ERC-20**).
![Select Destination Token](../.gitbook/assets/using-the-bridge/3-2-select-token-to.png)
![Select Blockchain and Token Destination](../.gitbook/assets/using-the-bridge/3-3-select-blockchain-and-token-to.png)
### Step 3: Input the Amount to Bridge
Enter the amount of tokens you would like to bridge. You can also use the **Max** button to select your full balance.
![Input Amount of Tokens](../.gitbook/assets/using-the-bridge/3-4-input-amount-of-tokens-to-bridge.png)
### Step 4: Initiate the Bridge
After confirming the selected blockchains and token amounts, click the **Bridge** button to begin the process.
![Click on Bridge](../.gitbook/assets/using-the-bridge/3-5-click-on-bridge.png)
### Step 5: Confirm the Transaction
You will now be prompted to confirm the bridging transaction. Review the details and ensure everything is correct, then click **Confirm** to proceed.
![Confirm the Bridge Transaction](../.gitbook/assets/using-the-bridge/3-6-confirm-the-bridge.png)
### Step 6: Complete Transfer (Unwrap)
Once the bridge process begins, scroll down to the **Transfer-to-Unwrap** section and confirm the additional unwrap transaction. This step is required for your tokens to be fully processed on the destination chain.
![Scroll Down to Transfer to Unwrap](../.gitbook/assets/using-the-bridge/3-7-scroll-down-transfer-to-unwrap.png)
![Confirm Transaction to Unwrap](../.gitbook/assets/using-the-bridge/3-8-confirm-transaction-to-unwrap.png)
### Step 7: Wait for Confirmation
Finally, wait for the transaction to be confirmed on the blockchain. The confirmation time can take anywhere from 10 to 30 minutes, depending on network conditions. Once the transaction is broadcasted, you can check the status in the explorer.
![Wait for Transaction Confirmation](../.gitbook/assets/using-the-bridge/3-9-done-wait-for-transaction.png)
{% hint style="info" %}
You can monitor your transaction in real-time by clicking the **View in explorer** link or turning on **Telegram notifications**.
{% endhint %}