Solana logo

Solana Devnet

RPC Endpoints

Chain ID: 901 · SOL

Other Solana networks:MainnetTestnet
How to add Solana to MetaMask or other wallets

Solana Devnet uses SOL as its native currency. Chain ID: 2305 (901). Below are 3 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Solana Devnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://solana-devnet.drpc.org
901SOLExplorer
Checking
https://api.devnet.solana.com
901SOLExplorer
Checking
https://solana-devnet.gateway.tatum.io
901SOLExplorer

Connect to Solana Devnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://solana-devnet.drpc.org");

const network = await provider.getNetwork();
console.log(network.chainId); // 2305n

Solana Devnet — common questions

What is the RPC URL for Solana Devnet?
There are 3 public RPC endpoints for Solana Devnet, including https://solana-devnet.drpc.org. See the full list in the table above.
What is the Chain ID for Solana Devnet?
The Chain ID for Solana Devnet is 2305 (901 in hexadecimal).
What is the native currency of Solana Devnet?
The native currency of Solana Devnet is SOL.
How do I add Solana Devnet to MetaMask?
Use the "Add to Wallet" button on this page to add Solana Devnet to MetaMask automatically, or follow our step-by-step guide for Solana.