minipay-integration

Detect MiniPay wallets and integrate USDm transfers in Celo dApps.

8|4|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/celo-org/agent-skills --skill minipay-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minipay-integration
Source: https://github.com/celo-org/agent-skills/tree/main/skills/minipay-integration
Command: npx skills add https://github.com/celo-org/agent-skills --skill minipay-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to rapidly build and integrate MiniPay-based Mini Apps into mobile-first dApps, simplifying wallet detection and on-device payment flows within the Celo ecosystem.

Core Features & Use Cases

  • Wallet detection and integration: Identify MiniPay in web apps and automatically adapt UI and flows.
  • Mobile-first app scaffolding: Quick start templates to bootstrap Next.js apps with MiniPay ready.
  • End-to-end example flows: Read balances and perform USDm transfers within MiniPay contexts using viem and the Celo chain.

Quick Start

Use the MiniPay integration skill to scaffold a Next.js app configured for MiniPay and run the development server to test wallet interactions.

Frequently Asked Questions about minipay-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect and integrate MiniPay wallet into my dApp?

MiniPay wallet detection identifies whether the MiniPay wallet is available in a user's browser or mobile environment, allowing your dApp to adapt UI and payment flows accordingly. Use viem with TypeScript to check for wallet availability and initialize connections to the Celo network for seamless integration.

Can I build a mobile-first dApp with MiniPay and USDm payments?

Yes. MiniPay enables mobile-first dApp scaffolding with Next.js templates preconfigured for wallet detection and USDm transfers on Celo. This approach streamlines user onboarding and on-device payment flows without manual wallet setup.

What's required to read wallet balances and transfer USDm with MiniPay?

You need TypeScript, viem for blockchain interaction, and access to MiniPay API references and Celo network specifics. These tools enable balance queries and USDm transfers directly within the MiniPay context in your dApp.

Do I need Next.js to use MiniPay integration?

Next.js is the recommended framework for MiniPay-enabled apps and is included in the quick-start templates, but the core wallet detection and viem-based transaction logic can be adapted to other TypeScript environments on web and mobile platforms.

How quickly can I bootstrap a MiniPay app from scratch?

MiniPay integration provides ready-to-use Next.js scaffolding and quick-start templates that eliminate boilerplate setup. Developers can spin up a wallet-detection-enabled app and run a development server in minutes to begin testing payment flows.

What limitations exist when building with MiniPay on Celo?

MiniPay integration is optimized for Celo's USDm stablecoin and mobile-first contexts. Compatibility is limited to environments where MiniPay is available; desktop-only or non-Celo chains require alternative wallet solutions or fallback logic.