Skip to content

Commit

Permalink
Initial draft
Browse files Browse the repository at this point in the history
  • Loading branch information
jlwllmr committed Dec 3, 2024
1 parent c3c002a commit baaafa5
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
75 changes: 75 additions & 0 deletions docs/get-started/connect.mdx
Original file line number Diff line number Diff line change
@@ -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.

<Tabs className="my-tabs">
<TabItem value="extension" label="MetaMask Extension">

**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

</TabItem>
<TabItem value="mobile" label="MetaMask Mobile">
**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

</TabItem>
</Tabs>

:::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)
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const sidebars = {
label: "Overview",
id: "get-started/index",
},
"get-started/connect",
{
type: "category",
label: "Build on Linea",
Expand Down

0 comments on commit baaafa5

Please sign in to comment.