From baaafa55150afcfa87c4784e143b8cd4fba5b9e1 Mon Sep 17 00:00:00 2001 From: jlwllmr <95916148+jlwllmr@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:45:00 +0000 Subject: [PATCH] Initial draft --- docs/get-started/connect.mdx | 75 ++++++++++++++++++++++++++++++++++++ sidebars.js | 1 + 2 files changed, 76 insertions(+) create mode 100644 docs/get-started/connect.mdx diff --git a/docs/get-started/connect.mdx b/docs/get-started/connect.mdx new file mode 100644 index 000000000..51c0d91c0 --- /dev/null +++ b/docs/get-started/connect.mdx @@ -0,0 +1,75 @@ +--- +title: Connect to Linea +description: Learn how to connect wallets to Linea. +--- + +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) \ No newline at end of file diff --git a/sidebars.js b/sidebars.js index e08e04185..3dd70e265 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",