Solana Devnet
RPC EndpointsChain ID: 901 · SOL
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.
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); // 2305nSolana 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.