Connecting to Base
Connect to Base Mainnet or the Sepolia testnet using the public RPC endpoints, then configure any EVM-compatible wallet to use the network.
Base Mainnet
Section titled “Base Mainnet”| Name | Value |
|---|---|
| Network Name | Base Mainnet |
| Description | The public mainnet for Base. |
| RPC Endpoint | https://mainnet.base.org — Flashblocks-enabled; rate limited, not for production. |
| Transaction Submission | https://mainnet-sequencer.base.org — send transactions only; use the RPC endpoint for everything else. |
| Chain ID | 8453 |
| Currency Symbol | ETH |
| Block Explorer | https://base.blockscout.com/ |
Base Testnet (Sepolia)
Section titled “Base Testnet (Sepolia)”| Name | Value |
|---|---|
| Network Name | Base Sepolia |
| Description | The public testnet for Base. |
| RPC Endpoint | https://sepolia.base.org — Flashblocks-enabled; rate limited, not for production. |
| Transaction Submission | https://sepolia-sequencer.base.org — send transactions only; use the RPC endpoint for everything else. |
| Chain ID | 84532 |
| Currency Symbol | ETH |
| Block Explorer | https://sepolia-explorer.base.org |
Base Vibenet (preview)
Section titled “Base Vibenet (preview)”Vibenet is Base’s experimental preview network. Chain-level features land here first, ahead of any rollout to Sepolia or Mainnet, so it is the place to try upcoming capabilities before they stabilize. At the moment it carries B20 tokens — an ERC-20 superset that adds roles, supply caps, pausing, and policy gating, with permit provided as a native precompile. Treat Vibenet as a sandbox for cutting-edge work only; it is not meant for production deployments or anything user-facing. Vibenet’s landing page, faucet, and explorer now all sit under chain.base.org/vibenet; the older vibes.base.org subdomains have been retired apart from the RPC endpoint.
| Name | Value |
|---|---|
| Network Name | Base Vibenet |
| Description | Base’s experimental preview network. |
| RPC Endpoint | https://rpc.vibes.base.org |
| WebSocket Endpoint | wss://rpc.vibes.base.org/ws |
| Chain ID | 84538453 |
| Currency Symbol | ETH |
| Faucet | https://chain.base.org/vibenet/faucet |
| Block Explorer | https://chain.base.org/vibenet/explorer |
Streaming from Vibenet
Section titled “Streaming from Vibenet”Vibenet is the one Base network with an open WebSocket, at wss://rpc.vibes.base.org/ws. It accepts eth_subscribe, so subscription code can be written and tested here without a provider account:
newHeadsfires once per block and tracks chain progress.logscarries contract events, narrowed by address and indexed topics.
import WebSocket from "ws";
const ws = new WebSocket("wss://rpc.vibes.base.org/ws");
ws.on("open", () => { ws.send(JSON.stringify({ jsonrpc: "2.0", id: 1, method: "eth_subscribe", params: ["newHeads"], }));});
ws.on("message", (data) => { const msg = JSON.parse(data.toString()); if (msg.method === "eth_subscription") { console.log("new head:", msg.params.result.number); }});Vibenet runs 200ms blocks, which changes what polling can do. A loop on a 250ms to 1s timer will step over whole blocks rather than merely lag behind them, so the socket has to be the primary feed and polling drops back to reconciliation work: balances, fee estimates, health checks. Hold a small number of long-lived connections and share each one across subscriptions and ordinary calls rather than opening a socket per subscription. Keep an HTTPS path ready for when the socket drops.
Do not carry this endpoint into code destined for Sepolia or Mainnet. Neither offers an equivalent, so the transport has to change when the network does.
Using Base with your wallet
Section titled “Using Base with your wallet”Coinbase Wallet
Section titled “Coinbase Wallet”The Coinbase Wallet browser extension supports Base out of the box.
To switch to Base in Coinbase Wallet:
- Open the Coinbase Wallet extension and sign in.
- Connect to an app from within the wallet.
- Click the network icon in the top right to open the network menu.
- Choose Base.
The active network now points at Base.
Other wallets
Section titled “Other wallets”Base works as a custom network in any EVM-compatible wallet, including MetaMask.
MetaMask
Section titled “MetaMask”To add Base as a custom network in MetaMask:
-
Open the MetaMask extension.
-
Click the network dropdown at the top of the extension.
-
Click Add network.
-
Click Add a network manually.
-
Enter the Base mainnet values:
Name Value Network Name Base Mainnet Description The public mainnet for Base. RPC Endpoint https://mainnet.base.org Chain ID 8453 Currency Symbol ETH Block Explorer https://base.blockscout.com/ -
Click Save.
Base now appears in the network dropdown.
Testnet
Section titled “Testnet”Coinbase Wallet supports Base Sepolia by default
Section titled “Coinbase Wallet supports Base Sepolia by default”To use Base Sepolia in Coinbase Wallet:
- Open the Coinbase Wallet extension and sign in.
- Connect to an app.
- Click the network icon at the top right.
- Click More networks.
- Open the Testnets tab.
- Choose Base Sepolia.
The active network is now the Base testnet.
Other wallets
Section titled “Other wallets”Base Sepolia can also be added as a custom network in any EVM-compatible wallet such as MetaMask.
MetaMask
Section titled “MetaMask”To add Base Sepolia in MetaMask:
-
Open the MetaMask extension.
-
Click the network dropdown.
-
Click Add network.
-
Click Add a network manually.
-
Enter the Base Sepolia values:
Name Value Network Name Base Sepolia RPC Endpoint https://sepolia.base.org Chain ID 84532 Currency Symbol ETH Block Explorer https://sepolia-explorer.base.org -
Click Save.
Base Sepolia is now selectable from the network dropdown.