Celo chain configuration
thirdweb v5 exports both Celo networks fromthirdweb/chains.
getContract, ConnectButton and the rest of the SDK as you would for any other network. Chain IDs, RPC URLs and the faucet are on Network information.
When deploying from the thirdweb dashboard, select Celo or Celo Sepolia as the network in the deploy options.
Fee abstraction
Paying gas in a stablecoin instead of CELO uses Celo’sfeeCurrency transaction field, which not every EVM library sets. viem and wagmi support it natively — see Fee abstraction for what the field expects, including the adapter-address rule for 6-decimal tokens.
Resources
Related
- Using Foundry - deploy and test contracts from the command line
- Using Hardhat - deploy and test contracts with the Hardhat toolchain
- Using Remix - deploy from the browser without local setup
- Celo SDKs - the libraries available for reading and writing Celo state