diff --git a/docs/get-started/connect.mdx b/docs/get-started/connect.mdx new file mode 100644 index 000000000..c8ac5da72 --- /dev/null +++ b/docs/get-started/connect.mdx @@ -0,0 +1,76 @@ +--- +title: Connect to Linea +description: Learn how to connect wallets to Linea. +image: /img/socialCards/connect-to-linea.jpg +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +## MetaMask + +### Infura + +Linea is available by default in MetaMask through an Infura RPC endpoint. + + + + + **Linea Mainnet** + + Find the network selector in the top-left of MetaMask, and click to see your available + networks. From here, select Linea Mainnet: + + IMG + + If you don't see Linea Mainnet in the "Enabled networks" list, scroll to the "Additional + networks" section, and click "Add". + + **Linea Sepolia** + + In the networks menu, scroll until you see the "Show test networks" toggle. If it's off, + switch it on; you should see Linea Sepolia in the list. Select it to get started. + + IMG + + + + **Linea Mainnet** + + Find the network selector at the top of the screen. Tap it to open the networks menu. + + Select "Linea Mainnet" to switch to it. If you don't see it in the list, scroll "Additional + networks" list and tap "Add" to add Linea Mainnet to your wallet. + + IMG + + **Linea Sepolia** + + Scroll until you see the "Show test networks" toggle. If it's off, switch it on; you should + see Linea Sepolia in the list. Select it to get started. + + IMG + + + + +:::note + +See the [MetaMask support article](https://support.metamask.io/networks-and-sidechains/managing-networks/how-to-connect-to-linea-on-metamask/) +for further information. + +::: + +### Custom RPC endpoint + +You can configure MetaMask to connect to Linea Mainnet or Linea Sepolia with any RPC endpoint. + +Refer to the [MetaMask Support site](https://support.metamask.io/networks-and-sidechains/managing-networks/how-to-add-a-custom-network-rpc/#adding-or-editing-rpc-urls) +for instructions on how to add RPC endpoints. + +## Other wallets + +- [Coinbase Wallet](https://help.coinbase.com/en/wallet/layer2-networks/layer2-networks-and-sidechains) +- [Ledger](https://support.ledger.com/article/17822826153757-zd) +- [Trust Wallet](https://community.trustwallet.com/t/how-to-add-a-custom-network-on-the-trust-wallet-mobile-app/626781) +- [Rainbow](https://rainbow.me/support/extension/custom-networks-on-the-browser-extension) diff --git a/mlc_config.json b/mlc_config.json index 5c8c20463..48eafec31 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -21,6 +21,9 @@ { "pattern": "https://rpc.sepolia.linea.build" }, + { + "pattern": "https://help.coinbase.com/en/wallet/layer2-networks/layer2-networks-and-sidechains" + }, { "pattern": "https://bridge.linea.build/" }, diff --git a/sidebars.js b/sidebars.js index 63a5f2bdc..5ce467b46 100644 --- a/sidebars.js +++ b/sidebars.js @@ -6,6 +6,7 @@ const sidebars = { label: "Overview", id: "get-started/index", }, + "get-started/connect", { type: "category", label: "Build on Linea",