This app is a payment tool with:
Multi-Wallet Distribution: Send payments to multiple recipients simultaneously
Multi-Strategy Allocation: Allocate funds across different DeFi protocols (AAVE, Morpho, Uniswap)
Automated Recurring: Schedule recurring payments with customizable intervals
Cross-Chain Support: Accept payments from multiple major EVM chains and bridge seamlessly
Payroll Manager: Configure wallet groups, execute one-off payouts, or schedule recurring runs with DeFi strategy allocations
Gifting Manager: Percentage-based USDC gifting with DeFi strategy allocations and cross-chain execution
Cross-chain Bridge: Seamless token bridging through Nexus Widgets
DeFi Integration: Support for AAVE, Morpho Vault, and Uniswap V2 strategies
Config Management: On-chain storage for saving and loading payroll/gifting configurations
Network Gate: Automatic wallet connection and network switching to Arbitrum Sepolia
Tech Stack
Frontend
- Next.js 14 with App Router for modern React development
 
- TypeScript for type-safe development
 
- React 18 with hooks and concurrent features
 
- Tailwind CSS for utility-first styling
 
- Radix UI components for accessible UI primitives
 
- Wagmi v2 for Ethereum interaction and wallet management
 
- Viem v2 for low-level Ethereum operations
 
- RainbowKit for multi-wallet connection UI
 
- TanStack Query for state management
 
- Sonner for toast notifications
 
Web3 Integration
- Avail Nexus Widgets for cross-chain bridge functionality
 
- @walletconnect for multi-chain wallet connections
 
- @gelatonetwork/automate-sdk for automation services
 
Smart Contracts
- Solidity ^0.8.25 with OpenZeppelin contracts
 
- Hardhat for development, testing, and deployment
 
- TypeScript for deployment scripts and testing
 
DeFi Protocols (completely same standards as the live contracts on mainnets)
- AAVE: Lending and borrowing protocol integration
 
- Morpho Vault v2: ERC4626 compatible yield optimization
 
- Uniswap V2: Decentralized exchange for token swaps
 
Cross-Chain Integration
Avail Nexus Widget Integration
Bridge Execution Flow
The application leverages Avail Nexus Widgets (@avail-project/nexus-widgets) for seamless cross-chain token bridging:
BridgeAndExecuteButton usage pattern
Token Address Management
- TOKEN_CONTRACT_ADDRESSES: SDK-provided token addresses per chain
 
- TOKEN_METADATA: Token decimals and metadata
 
- Chain-specific bridging: Support for Base Sepolia, Arbitrum Sepolia, Optimism Sepolia