celo-agent-skills
viral-sangani tarafından
Web & Frontend DevelopmentÖzet
End-to-end Celo development playbook (Feb 2026)
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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
Gereksinimler
- Celoscan API key for contract verification (CELOSCAN_API_KEY environment variable)
Kurulum
clawhub install viral-sangani/celo-agent-skillsCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.