Zcash logo

Zcash Mainnet

RPC Endpoints

Chain ID: ZEC · ZEC

Other Zcash networks:Testnet
How to add Zcash to MetaMask or other wallets

Zcash Mainnet uses ZEC as its native currency. Chain ID: NaN (ZEC). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Zcash Mainnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://mainnet.lightwalletd.com:9067
ZECZECExplorer
Checking
https://zcash-mainnet.gateway.tatum.io
ZECZECExplorer

Connect to Zcash Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://mainnet.lightwalletd.com:9067");

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

Zcash Mainnet — common questions

What is the RPC URL for Zcash Mainnet?
There are 2 public RPC endpoints for Zcash Mainnet, including https://mainnet.lightwalletd.com:9067. See the full list in the table above.
What is the Chain ID for Zcash Mainnet?
The Chain ID for Zcash Mainnet is NaN (ZEC in hexadecimal).
What is the native currency of Zcash Mainnet?
The native currency of Zcash Mainnet is ZEC.
How do I add Zcash Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Zcash Mainnet to MetaMask automatically, or follow our step-by-step guide for Zcash.