Deploy a Smart Contract on Cronos
This guide covers adding the network to a browser wallet, then deploying a simple contract using Foundry and Hardhat — pick whichever you prefer.
Cronos is EVM-compatible, so contracts deploy using the standard Solidity toolchain — Foundry, Hardhat, or Remix — with a GetBlock endpoint. This guide covers adding the network to a wallet and deploying a first contract to Cronos EVM.
Prerequisites
An EVM wallet (such as MetaMask) with CRO on Cronos for gas — see Add Network to Your Wallet and Funding Your Deployer
A GetBlock access token — the endpoint is
https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/A funded deployer address with CRO on Cronos
Network Details
Network Name
Cronos EVM Mainnet
RPC URL
https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
Chain ID
25 (0x19)
Currency Symbol
CRO
Block Explorer
Add Network to Your Wallet
Ethereum Mainnet is pre-configured in MetaMask by default. Cronos is not, so it must be added manually — use the button below or the manual steps that follow.
Enter the network details
Enter the values from the Network Details table above.
Funding Your Deployer
Cronos gas is paid in CRO.
Mainnet — acquire CRO from an exchange or bridge assets in via the Cronos Bridge, then send CRO to your deployer's address.
Testnet (Cronos Testnet 3, chain ID 338) — request test CRO from the Cronos testnet faucet; see docs.cronos.org for the current faucet and endpoints.
Deploy with Foundry
Deploy with Hardhat
Last updated
Was this helpful?