Skip to main content
This guide covers how to deploy Oak Network smart contracts to the Celo blockchain.

Prerequisites

  • Node.js and npm/pnpm installed
  • Foundry installed
  • Celo wallet with testnet/mainnet CELO
  • Environment variables configured

Deployment Steps

1. Clone the Repository

2. Install Dependencies

3. Configure Environment

Copy the example environment file:
Update the .env file with your configuration:

4. Deploy Contracts

Deploy All Contracts

Deploy Individual Contracts

Contract Addresses

Mainnet (Celo)

  • GlobalParams: TBD
  • CampaignInfoFactory: TBD
  • TreasuryFactory: TBD

Testnet (Alfajores)

  • GlobalParams: TBD
  • CampaignInfoFactory: TBD
  • TreasuryFactory: TBD

Verification

After deployment, verify your contracts on CeloScan:

Next Steps