RemitPay
A secure, blockchain-based remittance platform
Created on 2nd November 2025
โข
RemitPay
A secure, blockchain-based remittance platform
The problem RemitPay solves
RemitPay addresses critical pain points in cross-border money transfers and blockchain remittances:
๐ Traditional Remittance Challenges
High Fees: Traditional services (Western Union, banks) charge 5-10% fees. RemitPay charges just 0.00125%
Slow Transfers: Bank transfers take 3-5 days. RemitPay enables instant transfers on blockchain
Limited Transparency: No visibility into transfer status. RemitPay provides real-time tracking and complete audit trails
Restrictive Limits: Fixed sending limits regardless of user trust. RemitPay offers tiered limits (1,500 - 6,000 ETH) based on verification
๐ Crypto Adoption Barriers
Lack of Compliance: Most crypto platforms lack proper KYC. RemitPay provides 4-tier KYC verification with regulatory compliance
Security Concerns: No protection against fraud. RemitPay includes whitelist/blacklist management and account freeze capabilities
Complexity: Crypto is intimidating for regular users. RemitPay offers an intuitive dashboard that abstracts blockchain complexity
No Recourse: Irreversible transactions with no safety net. RemitPay's claim-based system lets recipients accept funds when ready
๐ผ For Users
Migrant Workers: Send money home safely with minimal fees
Freelancers: Receive international payments instantly
Small Businesses: Process cross-border payments without bank delays
Families: Support loved ones abroad with transparent, trackable transfers
๐ก For Regulators & Platforms
Compliance: Automated KYC verification meets regulatory requirements
Risk Management: Tiered limits prevent money laundering
Audit Trail: Immutable blockchain records for compliance reporting
Control: Admin tools for emergency intervention and user management
Challenges we ran into
Challenges I ran into
๐ Sonic Testnet Integration
Limited documentation and RPC instability made integration difficult. Solved with custom Wagmi config, retry logic, manual gas overrides, and community contributions.
๐ฆ IPFS Storage Performance
Large KYC documents (>5MB) caused upload timeouts and slow retrieval. Implemented client-side compression (60-70% reduction), progress indicators, CDN caching, and dual CID/URL storage.
๐ Privacy vs. Transparency
Balancing on-chain transparency with KYC privacy was challenging. Solution: store only document hashes on-chain, keep full docs on IPFS with admin-only API access and wallet verification.
๐ธ Daily Limit Tracking
Smart contracts lack timezone awareness for daily resets. Built LimitLibrary.sol with 24-hour rolling windows using block timestamps and per-user reset tracking.
๐จ State Management Across Dashboards
TanStack Query caused stale data when switching between user/admin views. Fixed with AuthContext, role-prefixed query keys, manual cache invalidation, and optimistic updates.
๐งช Contract Edge Cases
Production revealed reentrancy vulnerabilities and frozen account loopholes. Added ReentrancyGuard, freeze checks in send/claim functions, and 40+ unit tests for attack vectors.
๐ Wagmi v2 Migration
Mid-development upgrade broke TypeScript hooks. Rewrote using useReadContract/useWriteContract, created ContractWrapper class, added Zod validation, and used Viem's BigInt utilities.
๐ Transaction Feedback
Users lacked feedback during pending transactions. Implemented useWaitForTransactionReceipt, stage-based toast notifications, explorer links, and auto-refresh on confirmation.
๐จ Gas Estimation Failures
estimateGas failed near daily limits, hanging the UI. Added try-catch handling, pre-flight limit checks, clear error messages, and 200k gas fallback.
Tracks Applied (1)
Ethereum Track
ETHIndia