Skip to main content

Prerequisites

  • Node.js and npm installed
  • Basic understanding of React and Web3 development
  • An Aarc API key
You need to get your contract address whitelisted with Aarc. Contact our support team to request whitelisting.

Quick Start

  1. Create a new Vite React project:
  1. Install required dependencies:
  1. Create a .env file with your Aarc API key:

Implementation Guide

1. Setup Aarc Configuration

Create a configuration file for Aarc’s FundKit SDK:

2. Create the Deposit Component

3. Setup App Component

User Flow

  1. User connects their wallet
  2. User enters the amount they want to deposit
  3. User clicks the “Deposit” button
  4. Aarc modal opens showing available payment options
  5. User selects their preferred payment method
  6. Transaction is processed cross-chain
  7. Funds are deposited to the destination contract
Minting in Progress User selecting payment method in Aarc modal Minting Complete Successfully depositing funds cross-chain

Example Implementation

You can find a complete working example at:

Support

For additional queries contact support: