Deploy smart contract on Ronin
This guide covers adding the network to a browser wallet, then deploying a simple contract using Foundry and Hardhat — pick whichever you prefer.
Ronin is EVM-compatible, so contracts deploy with standard Ethereum tooling such as Foundry, Hardhat, and Remix. This guide covers adding Ronin to a wallet and deploying a first contract with Foundry and Hardhat through a GetBlock endpoint. Ronin verifies contracts through Sourcify rather than an Etherscan-style explorer.
Prerequisites
A wallet holding RON for gas (see Add Network to Your Wallet below)
A GetBlock access token from the GetBlock dashboard, used as
<ACCESS-TOKEN>in the endpointhttps://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/Node.js version 20 or later, for Hardhat
A funded deployer address, on Saigon Testnet for testing (see Testnet Faucets)
Network Details
Chain ID
2020 (0x7e4)
202601 (0x31769)
RPC URL
https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
Currency Symbol
RON
RON
Every command below defaults to Mainnet — replace environment variable values with testnet ones for a dry run before touching real funds.
Never commit a real private key. Use environment variables and prefer a throwaway deployer key for testing. Private keys committed to a public repo are drained within seconds by automated bots.
Add Network to Your Wallet
Deploy with Foundry
Deploy with Hardhat
Testnet Faucets
Saigon Testnet
Ronin Faucet — dispenses Saigon test RON to a connected wallet, roughly 0.01 RON per day (verify)
Last updated
Was this helpful?