Rozo - Intent Pay SDK

Cross-chain crypto payments made simple – Accept payments from any blockchain with a single component

npm version TypeScript React

🎯 What RozoAI Intent Pay Does

RozoAI Intent Pay SDK is a React component that lets users pay you in crypto from supported networks β€” Base, Polygon, Solana, Stellar, and BSC. Your users can pay with their preferred wallet, while you receive exactly what you want.

Key Benefits:

  • βœ… One Component - Add <RozoPayButton> and you're done

  • βœ… Supported Chains - Base, Polygon, Solana, Stellar, BSC

  • βœ… Any Wallet - MetaMask, Phantom, Coinbase Wallet, and more

  • βœ… Supported Tokens - USDC on Base/Polygon/Solana/Stellar; USDT on BSC

  • βœ… Mobile Ready - Works perfectly on mobile apps

  • βœ… Zero Config - Smart defaults, easy customization

πŸ“š Documentation

Document
Description

Get up and running in 5 minutes

Copy-paste ready examples for different frameworks

Complete props and configuration reference

Common mistakes and how to avoid them

Templates for AI services to generate code

πŸš€ Quick Example

import { RozoPayButton } from "@rozoai/intent-pay";
import { baseUSDC } from "@rozoai/intent-common";
import { getAddress } from "viem";

<RozoPayButton
  appId="rozoDemo"
  toChain={baseUSDC.chainId}
  toAddress={getAddress("0x742d35Cc6634C0532925a3b8D454A3fE1C11C4e2")}
  toToken={getAddress(baseUSDC.token)}
  toUnits="10"
  intent="Pay $10"
  onPaymentCompleted={() => alert("Payment successful! πŸŽ‰")}
/>;

πŸ”— Supported Chains & Tokens

Chain
Chain ID
Token
Supported

Base

8453

USDC

βœ…

Polygon

137

USDC

βœ…

BSC

56

USDT

βœ…

Solana

-

USDC

βœ…

Stellar

-

USDC

βœ…

πŸ’³ Payment Methods

Supported wallets:

  • Desktop: MetaMask, Coinbase Wallet, Rainbow, Trust Wallet, Phantom, Albedo, etc.

  • Mobile: All wallets via deep-linking

πŸ”§ Installation

npm install @rozoai/intent-pay @rozoai/intent-common @tanstack/react-query wagmi viem

πŸ“ž Support & Resources

πŸ“„ License

MIT License - see LICENSE for details.


Made with ❀️ by the RozoAI team

Simplifying crypto payments, one transaction at a time.

Last updated