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
- Create a new Vite React project:
- Install required dependencies:
- 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
- User connects their wallet
- User enters the amount they want to deposit
- User clicks the “Deposit” button
- Aarc modal opens showing available payment options
- User selects their preferred payment method
- Transaction is processed cross-chain
- Funds are deposited to the destination contract


Example Implementation
You can find a complete working example at:- GitHub: aarc-xyz/aarc-apex-omni-deposit
- Live Demo: aarc-apex-omni-deposit.netlify.app