celo-agent-skills
由 viral-sangani 提供
Web & Frontend Development简介
End-to-end Celo development playbook (Feb 2026)
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: Build a MiniPay Mini App that accepts USDC payments with stablecoin gas fees
- 1
Detects MiniPay environment via window.ethereum?.isMiniPay
- 2
Sets up viem walletClient with the Celo chain and custom transport
- 3
Configures USDC adapter address as feeCurrency in the transaction (adapter required for 6-decimal tokens)
- 4
Serializes transactions using viem/celo serializeTransaction with feeCurrency field set
- 5
Provides 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
前置要求
- Celoscan API key for contract verification (CELOSCAN_API_KEY environment variable)
安装
clawhub install viral-sangani/celo-agent-skills运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。