Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion developer/architecture/x-layer-architecture.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ There are two main actors on X Layer that earn OKB as reward and pay OKB token a
- Aggregators compete to produce validity proofs based on their strategies and intentions to validate transactions.

## Transactions on X Layer
Before making any transactions on layer 2, users need to have some OKB token on X Layer to perform any layer 2 transaction. To get OKB on layer 2, users need to transfer some OKB from L1 to L2 through X Layer bridge.
Before making any transactions on layer 2, users need to have some OKB token on X Layer to perform any layer 2 transaction. To get OKB on layer 2, users need to transfer some OKB from L1 to L2 through [Third-party bridges](https://web3.okx.com/xlayer/ecosystem).
1. Visit [Bridge user guide](/users/move-your-funds/bridge-funds-to-xlayer "Bridge user guide") for detailed steps to transfer OKB from L1 to layer 2.
2. Layer 2 transactions:
- The user starts a transaction from their wallet (e.g., MetaMask) and sends it to a sequencer.
Expand Down
48 changes: 3 additions & 45 deletions users/move-your-funds/bridge-funds-to-xlayer.mdx
Original file line number Diff line number Diff line change
@@ -1,53 +1,11 @@
# Bridge funds to X Layer

You can bridge over existing assets from other networks to X Layer by using the following options:
You can bridge over existing assets from other networks to X Layer by [Third-party bridges](https://web3.okx.com/xlayer/ecosystem)

1. [X Layer official bridge](https://www.okx.com/xlayer/bridge "official bridge")

2. [Third-party bridges](https://www.okx.com/xlayer/ecosystem "ecosystem bridges")

<Tip title="Third-party bridges">
You can find third-party bridges on the [ecosystem portal](https://www.okx.com/xlayer/ecosystem "ecosystem portal"). Use the filter to find the available third-party bridges. Note that these are permissionless bridges, and, you should do your own research before interacting with dApps in order to keep your funds safe.
</Tip>


## Bridge assets from Ethereum to X Layer via official bridge

You can follow this step-by-step guide to bridge your assets from Ethereum to X Layer mainnet. You can also follow this same flow to bridge assets from X Layer mainnet to Ethereum.

1. Enter the X Layer mainnet [bridge](https://www.okx.com/xlayer/bridge "official bridge") page, then select Ethereum (left) and X Layer (right) as the two bridging directions, as shown below:

![X Layer bridge](./img/bridge-mainnet-guide-1.png)

2. Click the "Connect wallet" button to connect your wallet:

![Connect wallet](./img/bridge-mainnet-guide-2.png)

3. Select the token you need to bridge (ETH is used as an example here), enter the amount, then click the bridge button:

<Tip title="Note">
Please note that you will need to reserve some ETH for Ethereum network fee.
<Tip title="">
You can find third-party bridges on the [ecosystem portal](https://web3.okx.com/xlayer/ecosystem). Use the filter to find the available third-party bridges. Note that these are permissionless bridges, and, you should do your own research before interacting with dApps in order to keep your funds safe.
</Tip>


![Token selection](./img/bridge-mainnet-guide-3.png)

4. Check the bridge transaction details, then click the Confirm button:

![Confirm transaction](./img/bridge-mainnet-guide-4.png)

5. Double check the transaction again in your wallet. Please wait for your transaction to be processed:

![Processing](./img/bridge-mainnet-guide-5.png)

6. Your pending transactions will now appear at the bottom of your screen. You can also click the View all transactions button to view all of the bridge transactions you have made thus far:

<Tip title="Note">
For security purposes, transactions need to await final confirmation on Ethereum for two epochs (64 confirmations), about 15 minutes.
</Tip>

![Awaiting final confirmation](./img/bridge-mainnet-guide-6.png)

## Additional information

The following table specifies the X Layer mainnet RPC information:
Expand Down
24 changes: 12 additions & 12 deletions xlayer-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ module.exports = [
],
},

{
title:'Receive and bridge testnet OKB tokens',
path: '/developer/bridge/overview',
children: [
'/developer/bridge/get-testnet-okb-from-faucet',
'/developer/bridge/bridge-testnet-assets',
'/developer/bridge/asset-transfer',
'/developer/bridge/flow-of-assets',
'/developer/bridge/bridging-usdc-workflow',
'/developer/bridge/usdc-on-x-layer',
],
},
// {
// title:'Receive and bridge testnet OKB tokens',
// path: '/developer/bridge/overview',
// children: [
// '/developer/bridge/get-testnet-okb-from-faucet',
// '/developer/bridge/bridge-testnet-assets',
// '/developer/bridge/asset-transfer',
// '/developer/bridge/flow-of-assets',
// '/developer/bridge/bridging-usdc-workflow',
// '/developer/bridge/usdc-on-x-layer',
// ],
// },

{
title:'Setup nodes',
Expand Down