diff --git a/packages/hardhat/hardhat.config.ts b/packages/hardhat/hardhat.config.ts index b4016739f..7c6e72dfd 100644 --- a/packages/hardhat/hardhat.config.ts +++ b/packages/hardhat/hardhat.config.ts @@ -123,6 +123,14 @@ const config: HardhatUserConfig = { url: "https://sepolia.publicgoods.network", accounts: [deployerPrivateKey], }, + celo: { + url: "https://forno.celo.org", + accounts: [deployerPrivateKey], + }, + celoAlfajores: { + url: "https://alfajores-forno.celo-testnet.org", + accounts: [deployerPrivateKey], + }, }, // configuration for harhdat-verify plugin etherscan: { diff --git a/packages/nextjs/utils/scaffold-eth/networks.ts b/packages/nextjs/utils/scaffold-eth/networks.ts index 39b41913c..96b779866 100644 --- a/packages/nextjs/utils/scaffold-eth/networks.ts +++ b/packages/nextjs/utils/scaffold-eth/networks.ts @@ -31,6 +31,8 @@ export const RPC_CHAIN_NAMES: Record = { [chains.base.id]: "base-mainnet", [chains.baseGoerli.id]: "base-goerli", [chains.baseSepolia.id]: "base-sepolia", + [chains.celo.id]: "celo-mainnet", + [chains.celoAlfajores.id]: "celo-alfajores", }; export const getAlchemyHttpUrl = (chainId: number) => { @@ -81,6 +83,12 @@ export const NETWORKS_EXTRA_DATA: Record = { [chains.scrollSepolia.id]: { color: "#fbebd4", }, + [chains.celo.id]: { + color: "#FCFF52", + }, + [chains.celoAlfajores.id]: { + color: "#476520", + }, }; /**