About
**DeWrap** is a Web3-native payment platform designed specifically for builders, creators, agencies, and freelancers who want to accept cryptocurrency payments with maximum flexibility and automation. The platform solves the fundamental problem of crypto payment fragmentation by providing a unified solution for cross-chain, multi-token payments with intelligent automation.
### Core Problem & Solution
**Problem**: Traditional crypto payment solutions are limited by:
- Single-chain restrictions
- Manual token conversion processes - Complex cross-chain payment handling - Lack of automated investment strategies - Fragmented payment tracking across networks
**Solution**: DeWrap provides a complete payment infrastructure that:
- Accepts payments in ANY ERC-20 token or native tokens across multiple blockchain networks
- Automatically converts tokens using 1inch's cross-chain DEX aggregation
- Provides intelligent invoicing with flexible payment preferences
- Offers automated investment and dollar-cost averaging (DCA) capabilities [COMING SOON]
- Maintains comprehensive payment tracking and analytics
### Key Features & Capabilities
**1. Multi-Token Payment Acceptance**
- Support for any ERC-20 token across all EVM chains that are supported by 1inch Protocol
- Native token support (ETH, MATIC, etc.)
- Automatic payment validation and processing
**2. Cross-Chain Infrastructure**
- Powered by 1inch's Fusion Plus cross-chain API
- Seamless token bridging and swapping across networks
- Real-time quote generation for optimal swap routes
- Automated transaction execution with MEV protection
**3. Smart Invoicing System**
- Create professional invoices with flexible payment options
- Set preferred tokens and chains for each invoice
- Real-time payment status tracking
- Automated payment matching and processing
**4. Automated Token Management** [COMING SOON]
- Auto-swap functionality to convert received tokens to preferred tokens
- Dollar-cost averaging (DCA) for systematic investment
- Investment portfolio tracking and analytics
- Scheduled swap execution via cron jobs
**5. User Management & Analytics**
- Secure authentication via Clerk
- Comprehensive user profiles with payment preferences - Real-time balance tracking across all supported networks [USING 1INCH API] - Detailed transaction history and analytics [USING 1INCH API] - Performance metrics and insights
### Technical Architecture
**Frontend (Next.js 15)**
- Modern React 19 with TypeScript
- Tailwind CSS 4 for responsive design - Radix UI for accessible components - Wagmi + AppKit for Web3 integration - Real-time data fetching with TanStack Query
**Smart Contracts (Solidity 0.8.27)**
- `DeWrap.sol`: Core contract managing users, invoices, and payouts
- `DewrapPaymentCollector.sol`: Payment collection and processing
- `PaymentCollectorFactory.sol`: Factory pattern for scalable deployment
- OpenZeppelin contracts for security and best practices
**Backend Infrastructure**
- PostgreSQL database with Prisma ORM
- **1inch Cross-Chain API** integration - Viem for Ethereum interactions - Zod for runtime validation - Comprehensive API endpoints for all operations
**Key API Endpoints**
- `/api/user` - User management and profiles
- `/api/invoice` - Invoice creation and management
- `/api/payment` - Payment processing and tracking
- `/api/quote` - Real-time token price quotes
- `/api/execute` - Cross-chain transaction execution
- `/api/supported-network` - Network and token information
- `/api/token` - Descriptive detail regarding token
### Target Users & Use Cases
**Primary Users**:
- **Freelancers**: Accept payments in any token, automatically convert to preferred tokens
- **Agencies**: Manage multiple client payments across different networks
- **Content Creators**: Monetize with crypto while maintaining payment flexibility
- **Web3 Builders**: Integrate DeWrap for project funding and revenue collection
**Use Cases**:
- Invoice-based payment collection with automatic token conversion
- Cross-chain payment processing for international clients
- Automated investment strategies for received payments
- Portfolio diversification across multiple blockchain networks
- Systematic DCA for long-term investment goals
### Competitive Advantages
- **True Cross-Chain Support**: Unlike competitors limited to single chains, DeWrap operates seamlessly across 9+ major networks
- **1inch Integration**: Leverages the most advanced DEX aggregator for optimal swap routes and MEV protection
- **Automation-First**: Built-in auto-swap and DCA capabilities reduce manual intervention
- **Developer-Friendly**: Comprehensive API and smart contract architecture for easy integration
- **User Experience**: Modern, intuitive interface that abstracts away blockchain complexity
### Business Model & Revenue Streams
- Transaction fees on cross-chain swaps
- Premium features for advanced users - API access for enterprise integrations - White-label solutions for businesses
DeWrap essentially transforms the fragmented crypto payment landscape into a unified, automated, and user-friendly experience, making it as simple to accept crypto payments as traditional fiat payments while providing advanced features that only blockchain technology can enable.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






