Prerequisites

  • Foundry installed
  • A wallet with CTM for gas fees
  • RPC endpoint: https://public-evm-rpc.c8ntinuum.com

Step 1: Create a Project

Step 2: Write Your Contract

Step 3: Compile

c8ntinuum runs the Prague EVM rules and Osaka is not active, so Osaka features such as the CLZ opcode are unavailable. Recent Foundry versions compile for osaka by default, so set evm_version = "prague" under [profile.default] in foundry.toml (see Configuration) before you build.

Step 4: Deploy

Step 5: Verify (Optional)

See Verify with Foundry for contract verification on CTMScan.

Configuration

Add c8ntinuum to your foundry.toml:
Then deploy with:

Useful Commands