Перейти к содержимому
TakoAPI
Назад к навыкам

celo-agent-skills

от viral-sangani

Web & Frontend Development
911Число загрузок по данным clawskills.sh
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

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. 1

    Detects MiniPay environment via window.ethereum?.isMiniPay

  2. 2

    Sets up viem walletClient with the Celo chain and custom transport

  3. 3

    Configures USDC adapter address as feeCurrency in the transaction (adapter required for 6-decimal tokens)

  4. 4

    Serializes transactions using viem/celo serializeTransaction with feeCurrency field set

  5. 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 — любой кодинг-агент, которым пользуетесь.

Ссылки