Skip to content
cockroachCHAINWhitepaper ↗
Developers

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.

Deploy in 5 minutes Read the docs
// hardhat.config.js
module.exports = {
  solidity: "0.8.24",
  networks: {
    cockroachTestnet: {
      url: "Coming soon",
      chainId: Coming soon,
      accounts: [process.env.PRIVATE_KEY],
    },
  },
};
Quickstart

From zero to deployed.

01Connect02Fund03Configure04Deploy
Design illustration · follow the sequence below
01

Add the network

Add Cockroach Testnet to MetaMask with the RPC and chain ID below.

02

Get test tokens

Request free testnet COCKROACH from the faucet for gas.

03

Configure your tool

Add the network to Hardhat, Foundry or your ethers.js / viem client.

04

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
Network

Connection details.

Endpoints and chain IDs are published with the public testnet. One key works for both address formats.

ParameterTestnet
Network nameCockroach Testnet
EVM chain IDComing soon
EVM JSON-RPCComing soon
WebSocketComing soon
Cosmos RPC / RESTComing soon · Coming soon
Currency symbolCOCKROACH (18 decimals)
Address formats0x… · cockroach1…
ExplorerComing soon
FaucetComing soon
NoteTestnet tokens have no monetary value and may be reset. Developer terms
Beyond the EVM

Native chain features, callable from Solidity.

01Solidity02Precompiles03Cosmos modules
Design illustration · follow the sequence below

Precompiled contracts at fixed addresses expose Cosmos modules to your contracts. Stake, vote and move assets across chains without leaving the EVM.

0x…0800

Staking

Delegate, undelegate and redelegate from a contract or an EVM wallet.

0x…0801

Distribution

Read and claim staking rewards and validator commission.

0x…0802

IBC transfer

Send tokens to other IBC chains straight from Solidity.

0x…0804

Bank

Query native balances and token supply.

0x…0805

Governance

Vote on proposals and read their status from a contract.

ERC-20

Single token representation

Native and IBC tokens appear as ERC-20s, with one balance for both views.

Tooling

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.

Get in touch GitHub