Skip to content

Repository files navigation

Circle Multichain Checkout

Built by Nithin Reddy

A merchant-focused npm package for seamless cross-chain USDC payments using Circle's CCTP V2 protocol. Accept USDC payments from any supported EVM chain and receive them on your preferred destination chain.

Features

  • Cross-Chain USDC Transfers: Accept payments from any supported EVM chain
  • CCTP V2 Integration: Powered by Circle's Cross-Chain Transfer Protocol
  • Merchant-Friendly: Simple integration with single line
  • Multi-Chain Support: Currently supports Ethereum Sepolia, Avalanche Fuji, Base Sepolia, and more
  • Coming Soon: Solana mainnet and Devnet support for complete cross-chain across all Major Chains

Supported Chains

  • Unichain Sepolia
  • Ethereum Sepolia
  • Avalanche Fuji C-Chain
  • Base Sepolia
  • Sonic
  • Worldchain
  • Arbitrum Fuji

Installation

npm install circle-multichain-checkout
# or
yarn add circle-multichain-checkout

Quick Start

import { CheckoutPage } from 'circle-multichain-checkout';

  <CheckoutPage
      merchantAddress="0xcfb31219238fe98eff27BBae2a00cEEaf0bE8BE5"
      preferredChain={84532}
      amount="99.99"
      onSuccess={(txHash) => console.log('Payment successful:', txHash)}//handle successful payment
      onError={(error) => console.error('Payment failed:', error)}//handle custom error
    />

How It Works

  1. Customer selects source chain (where they have USDC)
  2. System burns USDC on source chain using CCTP V2
  3. Circle provides attestation for the cross-chain transfer
  4. USDC is minted on your preferred destination chain
  5. You receive USDC on your specified address

Use Cases

  • E-commerce: Accept USDC payments from any chain
  • SaaS Subscriptions: Cross-chain recurring payments
  • NFT Marketplaces: Multi-chain payment support
  • DeFi Protocols: Cross-chain liquidity provision
  • Gaming: In-game purchases with any chain's USDC

Built by Nithin Reddy

About

A merchant-focused npm package for seamless cross-chain USDC payments using Circle's CCTP V2 protocol. Accept USDC payments from supported chains and receive them on your preferred destination chain.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages