Skip to main content

Developer guides

Gnosis Chain is EVM-equivalent: the contracts, tools and libraries you use on Ethereum work here unchanged. This section takes you from a first deployment to a production setup. Everything you deploy today carries over to Gnosis EEZ at the same address.

Start here​

New to Gnosis Chain? Pick one of these. Each ends in a result you can check on-chain.

If you want toStart withTime
Deploy from the browser, with nothing to installQuickstart, using Remix and MetaMaskAbout 15 minutes
Work from the terminal, with tests and verificationDeploy your first contract, using FoundryAbout 30 minutes
Call live protocols instead of deploying your ownBuy a tokenised asset with CoW Swap, using viemAbout 40 minutes

Network details​

Gnosis ChainChiado testnet
Chain ID10010200
RPChttps://rpc.gnosischain.comhttps://rpc.chiadochain.net
ExplorerGnosisscanBlockscout
Gas tokenxDaixDai (test), from the faucet

More endpoints are on RPC providers, and the full network reference is in networks.

What is in this section​

0-1 guides​

Each guide starts from an empty directory and ends in a result you can verify on-chain. Work through them in order.

GuideWhat you buildTime
Deploy your first contractA verified contract, with a state change you read back two ways30 minutes
Accept stablecoin paymentsA payment receiver that pulls a stablecoin, records who paid and what for, and lets you withdraw40 minutes
Launch a tokenised assetA capped-supply token bound to an off-chain asset, with issuance controls you have tested45 minutes

Set up your environment​

ToolUse it for
FoundrySolidity-native testing, scripting and deployment from the terminal
HardhatA JavaScript or TypeScript project with plugins and scripted deploys
CookbookFinding, deploying and reusing open-source Solidity contracts

Build from templates​

TemplateWhat you get
ERC-20 tokenA fungible token deployed to Gnosis
ERC-721 NFTAn NFT collection deployed to Gnosis
Full-stack dAppA Hello World app with a contract and a frontend

Call contracts from your app​

LibraryUse it for
Ethers.jsReading and writing contracts from JavaScript
Web3.jsThe same, with the web3.js library
MetaMask APIDetecting the wallet and adding Gnosis Chain and tokens to it

Verify your contracts​

Publish your source code so anyone can read the contract they are calling.

Go further​

  • Useful contracts: contract, bridge and validator addresses for Gnosis Chain, Chiado and Ethereum.
  • Developer tutorials: smart accounts, custom signers, EIP-7702 and EIP-5792.

Get help​

Ask in Discord or on the forum.