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
Step 4: Deploy
Step 5: Verify (Optional)
See Verify with Foundry for contract verification on CTMScan.Configuration
Add c8ntinuum to yourfoundry.toml:
Useful Commands
| Command | Description |
|---|---|
cast chain-id --rpc-url continuum | Verify chain ID (should return 2184) |
cast balance $ADDRESS --rpc-url continuum | Check CTM balance |
cast send $TO --value 1ether --rpc-url continuum | Send CTM |
cast call $CONTRACT "method()" --rpc-url continuum | Call a contract method |