Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
End-to-end Celo blockchain development guide covering dApp UI, fee abstraction, MiniPay Mini App development, smart contracts, and AI agent infrastructure. Uses viem for all client and transaction code, thirdweb for React wallet UI, and Foundry for contract development. Covers Celo's native gas fee payment in stablecoins without paymasters or relayers.
Celo's native fee abstraction lets users pay gas in stablecoins without paymasters or relayers, but requires viem-specific transaction serialization that ethers.js and web3.js cannot provide.
When to use it
- Building a React dApp where users pay gas fees in USDC or USDT
- Deploying and verifying a smart contract on Celo Sepolia with Foundry
- Creating a MiniPay Mini App with implicit wallet connection and stablecoin UX
- Setting up AI agent trust verification using ERC-8004 on-chain reputation scores
- Integrating stablecoin transfers with correct fee currency adapter addresses
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Build a MiniPay Mini App that accepts USDC payments with stablecoin gas fees
- 1Detects MiniPay environment via window.ethereum?.isMiniPay
- 2Sets up viem walletClient with the Celo chain and custom transport
- 3Configures USDC adapter address as feeCurrency in the transaction (adapter required for 6-decimal tokens)
- 4Serializes transactions using viem/celo serializeTransaction with feeCurrency field set
- 5Provides ngrok tunnel setup instructions for testing in MiniPay Site Tester
Working MiniPay Mini App where users pay gas in USDC with implicit wallet connection and no CELO balance required
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.