GoodBuild

Blog · Blockchain apps

How to Deploy a Smart Contract on Celo Sepolia

Celo Sepolia is Celo's test network. Deploying there first costs nothing real and lets you find mistakes before they cost money.

· 2 min read

Why test first

A deployed contract can't be edited. If there is a mistake, you deploy a new one. Doing that on a test network, where tokens are free, is the cheap way to learn.

Steps

  1. Switch your wallet to Celo Sepolia, or let your builder add the network for you.
  2. Get test CELO from a faucet. You paste your wallet address, and the faucet sends free test coins.
  3. Build the contract. In GoodBuild, you describe it and the builder writes it.
  4. Press Deploy and sign in your wallet. Your wallet pays a tiny test fee.
  5. Open the contract's address in a block explorer to see it on the network.
  6. Use the app: try every function, including the ones that should fail.

Check it

  • Is the source code verified on the explorer, so anyone can read it?
  • Do the owner and settings match what you intended?
  • Does each function work with a normal amount, zero and a very large amount?

Then mainnet

When you are happy, deploy the same contract to Celo mainnet. It uses real money, so GoodBuild shows an extra confirmation naming the network before you sign. Start with small amounts.