Connect to RPC
To interact with the Watr Network from your local development environment, you’ll need to configure RPC endpoints for both Mainnet and Testnet.
These endpoints allow you to deploy and test smart contracts or query blockchain data.
RPC Endpoints
For Watr Mainnet -
- Network Name: Watr Mainnet
- New RPC Endpoint: https://rpc.watr.org/ext/bc/EypLFUSzC2wdbFJovYS3Af1E7ch1DJf7KxKoGR5QFPErxQkG1/rpc
- Chain ID: 192
- Symbol:
WATR - Explorer: https://explorer.watr.org
For Watr Testnet -
- Network Name: Watr Testnet
- New RPC Endpoint: https://rpc.testnet.watr.org/ext/bc/2ZZiR6T2sJjebQguABb53rRpzme8zfK4R9zt5vMM8MX1oUm3g/rpc
- Chain ID:
92870 - Symbol:
WATR - Explorer: https://explorer.testnet.watr.org
Note: This RPC URL is specific to the C-Chain (Contract Chain). Make sure you connect to the correct chain/subnet in your wallet or application.
Add to MetaMask
To connect MetaMask to the Watr Testnet:
- Open MetaMask.
- Click the network dropdown → Add Network → Add a network manually.

Connect via Code
Using ethers.js
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(
"https://rpc.watr.org/ext/bc/EypLFUSzC2wdbFJovYS3Af1E7ch1DJf7KxKoGR5QFPErxQkG1/rpc"
);
Using viem
import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http(
"https://rpc.watr.org/ext/bc/EypLFUSzC2wdbFJovYS3Af1E7ch1DJf7KxKoGR5QFPErxQkG1/rpc"
),
});