Files
xlink-docs/proposal/getting-started/using-the-brige.md
2024-09-25 15:56:08 -03:00

4.3 KiB
Raw Blame History

Using the Bridge

Connecting your Wallet

Follow these steps to connect your wallet to XLink.

Step 1: Open the Wallet Manager

First, navigate to the Wallet Manager located in the top right corner of the XLink app. This is where youll manage all your wallet connections.

Select Wallet Manager

Step 2: Choose the Blockchain and Wallet

In the Wallet Manager, select the blockchain you are using (e.g., Stacks Chain or Bitcoin Chain), then choose the wallet that you want to connect. Supported wallets include Leather, Xverse, and others as shown.

Select Wallet

Step 3: Enter Your Password

After selecting your wallet, you will be prompted to enter your wallets password.

Enter Password

Step 4: Select Your Account

Once the password is entered, choose the specific account you want to connect. This account will be used for executing transactions on the bridge.

Select Account

Step 5: Confirm Your Connection

Once the wallet is successfully connected, you will notice the blockchain icon in the top right corner of the screen, confirming that your wallet has been successfully linked.

Check Wallet Connection

{% 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

Select Blockchain and Token

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

Select Blockchain and Token Destination

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

Step 4: Initiate the Bridge

After confirming the selected blockchains and token amounts, click the Bridge button to begin the process.

Click on Bridge

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

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

Confirm Transaction to Unwrap

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

{% hint style="info" %} You can monitor your transaction in real-time by clicking the View in explorer link or turning on Telegram notifications. {% endhint %}