Monad · Beginner
Monad testnet guide: chain ID, RPC URL, faucet, explorer, and wallet setup
Everything you need to connect to Monad testnet: chain ID 10143, the RPC URL, the faucet, the block explorer, and how to add it to MetaMask, Hardhat, and Foundry.
By Adwait Keshari, founder of Monsmith5 min read
Copy-paste reference for Monad's networks, followed by the exact configuration for the tools people actually use.
Monad testnet
| Field | Value |
|---|---|
| Chain ID | 10143 |
| RPC URL | https://testnet-rpc.monad.xyz |
| Currency | MON |
| Explorer | https://testnet.monadexplorer.com |
| Faucet | https://faucet.monad.xyz |
Monad mainnet
| Field | Value |
|---|---|
| Chain ID | 143 |
| RPC URL | https://rpc.monad.xyz |
| Currency | MON |
| Explorer | https://monadvision.com |
| Block time | 300 ms |
| Finality | 600 ms |
MetaMask
Settings, Networks, Add a network manually. Enter the testnet values above. Or open monsmith.com/studio and press Deploy: Monsmith asks MetaMask to add and switch networks for you.
Hardhat
typescript// hardhat.config.ts
export default {
solidity: "0.8.24",
networks: {
monadTestnet: {
url: "https://testnet-rpc.monad.xyz",
chainId: 10143,
accounts: [process.env.PRIVATE_KEY!],
},
},
};Foundry
bashforge create src/MyToken.sol:MyToken \
--rpc-url https://testnet-rpc.monad.xyz \
--private-key $PRIVATE_KEY \
--constructor-args 1000000000000000000000000viem
typescriptimport { defineChain } from "viem";
export const monadTestnet = defineChain({
id: 10143,
name: "Monad Testnet",
nativeCurrency: { name: "Monad", symbol: "MON", decimals: 18 },
rpcUrls: { default: { http: ["https://testnet-rpc.monad.xyz"] } },
blockExplorers: { default: { name: "Monad Explorer", url: "https://testnet.monadexplorer.com" } },
testnet: true,
});Things that trip people up
- Fees are charged on the gas limit, not gas used. Let your tooling estimate tightly instead of padding the limit by 50 percent.
- Contracts can be up to 128 KB, so a contract that failed Ethereum's 24 KB limit deploys fine here.
- Blocks are 300 ms. If your script waits for a fixed number of confirmations, it will feel instant; if it polls every 12 seconds out of Ethereum habit, it will feel slow for no reason.
Frequently asked questions
- What is the Monad testnet chain ID?
- The Monad testnet chain ID is 10143. Mainnet is 143.
- What is the Monad testnet RPC URL?
- https://testnet-rpc.monad.xyz. The mainnet RPC is https://rpc.monad.xyz.
- Where do I get Monad testnet tokens?
- From the official faucet at https://faucet.monad.xyz. Test MON has no value and is rate limited per address.
Try it in Monsmith
Free, in the browser, no account. Compile, audit, profile, and deploy to Monad.
Open the studio