COOK COOK N/A
Last Block- HealthChecking Head-
BT--:--
ConsensusQBFT Chain ID20261001 Nodes0/0
Gas price- Gwei
Cookchain Cookchain

Token & Contract Deployment

Deploy Solidity smart contracts on Cookchain using an EVM wallet and standard Ethereum JSON-RPC. Tokens use ERC-20 contracts; native COOK pays the transaction gas.

Chain ID: 20261001Native coin: COOK · 18 decimals

1. Connect your wallet

Use Connect → Add Cookchain to MetaMask in the Explorer header. Select Cookchain and fund the deploying address with native COOK.

HTTP RPC: https://rpc.cookscan.net/evm

All RPC and WebSocket endpoints →

2. Compile your contract

Use your Solidity development tools to compile an ERC-20 implementation or another EVM contract. Keep the exact compiler version and complete Solidity Standard JSON input, including every source file, optimizer settings, EVM target and library addresses.

Choose a compiler supported by the verification form if you want to verify the deployed source through Cookscan.

3. Deploy on Cookchain

  1. Select Cookchain in your wallet and deployment tool.
  2. Provide the compiled creation bytecode and ABI-encoded constructor arguments.
  3. Estimate gas and confirm the deployment transaction in your wallet.
  4. Wait for a successful transaction receipt. Its contractAddress is the deployed contract.
  5. Open the address in Cookscan to inspect transactions, token metadata and events.

Check the connected chain

curl https://rpc.cookscan.net/evm \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'

The expected result is 0x1352889 (20261001).

4. Verify the source

Open Verify Contract. Enter the contract address, exact compiler version, contract name, original Standard JSON input and constructor arguments. Verification succeeds when the compiled bytecode and metadata match the deployed contract.

Preserve the original build inputs. Changing the optimizer, source paths or compiler version can produce a different bytecode result.

Explorer APIs →

Contract interactions

Use the ABI with an EVM wallet or client library. Read calls use eth_call; wallet-signed transactions change contract state. Read the receipt with eth_getTransactionReceipt and inspect events in Cookscan.

ERC-20 token decimals are defined by each token contract. Native COOK uses 18 decimals. Token balances and native gas balances are separate.