Ship with the tools you already know.
Public testnet connection details, documentation and faucet are coming soon. Configuration below is illustrative.
Cockroach Chain runs the EVM. Your Solidity contracts, test suites and front-ends work as they are. Point them at a new RPC and deploy.
// hardhat.config.js
module.exports = {
solidity: "0.8.24",
networks: {
cockroachTestnet: {
url: "Coming soon",
chainId: Coming soon,
accounts: [process.env.PRIVATE_KEY],
},
},
};
From zero to deployed.
Add the network
Add Cockroach Testnet to MetaMask with the RPC and chain ID below.
Get test tokens
Request free testnet COCKROACH from the faucet for gas.
Configure your tool
Add the network to Hardhat, Foundry or your ethers.js / viem client.
Deploy and verify
Deploy as usual, then verify source on the Blockscout explorer.
# Foundry
forge create src/Counter.sol:Counter \
--rpc-url Coming soon \
--private-key $PRIVATE_KEY
Connection details.
Endpoints and chain IDs are published with the public testnet. One key works for both address formats.
| Parameter | Testnet |
|---|---|
| Network name | Cockroach Testnet |
| EVM chain ID | Coming soon |
| EVM JSON-RPC | Coming soon |
| WebSocket | Coming soon |
| Cosmos RPC / REST | Coming soon · Coming soon |
| Currency symbol | COCKROACH (18 decimals) |
| Address formats | 0x… · cockroach1… |
| Explorer | Coming soon |
| Faucet | Coming soon |
| Note | Testnet tokens have no monetary value and may be reset. Developer terms |
Native chain features, callable from Solidity.
Precompiled contracts at fixed addresses expose Cosmos modules to your contracts. Stake, vote and move assets across chains without leaving the EVM.
Staking
Delegate, undelegate and redelegate from a contract or an EVM wallet.
Distribution
Read and claim staking rewards and validator commission.
IBC transfer
Send tokens to other IBC chains straight from Solidity.
Bank
Query native balances and token supply.
Governance
Vote on proposals and read their status from a contract.
Single token representation
Native and IBC tokens appear as ERC-20s, with one balance for both views.
Works out of the box.
Hardhat
Compile, test and deploy with your existing config.
Foundry
forge, cast and anvil against the Cockroach RPC.
ethers.js · viem
Standard JSON-RPC, no custom provider needed.
MetaMask · Keplr
EVM wallets for apps, Cosmos wallets for staking.
Building something on Cockroach?
Talk to the core team about launch support and early access to the testnet.
