Inspiration
MicroPay was born from the frustration with traditional payment systems that make small transactions impractical due to high fees and slow processing times. We saw the potential of blockchain technology, particularly StarkNet's scalability and low-cost transactions, to revolutionize micropayments. Inspired by the growing gig economy, content creators struggling with monetization, and local businesses needing efficient payment solutions, we envisioned a platform that makes micro-transactions as seamless as sending a text message.
What it does
MicroPay is a decentralized service marketplace that enables instant micropayments on the StarkNet blockchain. Users can create and participate in three types of campaigns: donations for charities and causes, service offerings for freelancers, and e-commerce for digital or physical products. The platform supports payments as small as $0.01 with near-zero network fees and sub-second transaction times. Key features include:
- Versatile Campaign Creation: AI-powered tools to set up donation, service, or product campaigns with customizable pricing and goals
- Secure Blockchain Payments: Multi-currency support (focusing on STRK) with instant confirmations
- Real-time Analytics: Comprehensive dashboard with performance tracking and participant insights
- Wallet Integration: Seamless connection to StarkNet-compatible wallets
- 3D Visualization: Interactive wallet interface using Three.js for an engaging user experience
How we built it
The project consists of three main components:
Frontend (SvelteKit + TypeScript):
- Built with SvelteKit for modern, reactive UI
- Styled with TailwindCSS for responsive design
- Integrated Three.js and Threlte for 3D wallet visualization
- Wallet connectivity using StarkNet libraries
- Real-time data handling with custom hooks and stores
Backend (Elysia + Bun):
- RESTful API built with Elysia framework on Bun runtime
- MongoDB for data persistence
- Cerebras AI integration for campaign assistance
- CORS-enabled for frontend communication
Smart Contracts (Cairo on StarkNet):
- Payment processing contracts written in Cairo
- Deployed on StarkNet testnet
- Handles secure, low-cost micropayments
The architecture emphasizes scalability, security, and user experience, with AI assistance throughout the campaign creation process.
Challenges we ran into
- StarkNet Integration: Learning Cairo smart contract development and navigating StarkNet's unique architecture proved challenging, especially for micropayment optimization
- 3D Visualization: Implementing smooth Three.js animations while maintaining performance across devices required significant optimization
- AI Integration: Balancing AI assistance with user control in campaign creation while ensuring data privacy
- Cross-platform Compatibility: Ensuring consistent wallet connectivity across different StarkNet wallet implementations
- Real-time Analytics: Building efficient data aggregation and visualization for live campaign metrics
Accomplishments that we're proud of
- Sub-second Transactions: Achieved <1s transaction times with near-zero fees, making micropayments truly practical
- Intuitive 3D Interface: Created an engaging wallet visualization that makes blockchain interactions accessible to non-technical users
- AI-Powered Campaign Creation: Implemented intelligent assistance that helps users optimize their campaigns without requiring blockchain expertise
- Comprehensive Analytics: Built real-time dashboards that provide actionable insights for campaign management
- Multi-campaign Support: Successfully implemented three distinct campaign types (donations, services, e-commerce) in a unified platform
What we learned
- Blockchain Scalability: Gained deep insights into StarkNet's Layer 2 scaling solutions and their potential for mainstream adoption
- User Experience in Web3: Learned that successful blockchain applications require exceptional UX design to overcome adoption barriers
- AI Integration: Discovered effective ways to incorporate AI assistance while maintaining user agency and data security
- Performance Optimization: Mastered techniques for optimizing 3D graphics and real-time data processing in web applications
- Cross-functional Development: Improved skills in full-stack development combining frontend, backend, and smart contract development
What's next for Micro Pay
- Mobile App Development: Native iOS and Android apps for enhanced accessibility
- Expanded Token Support: Integration with additional cryptocurrencies and stablecoins
- Advanced Analytics: Machine learning-powered insights and predictive campaign optimization
- Decentralized Governance: Community-driven feature development and platform governance
- Enterprise Solutions: B2B tools for businesses to integrate micropayments into their services
- Global Expansion: Localization and compliance for international markets
- NFT Integration: Tokenized campaign rewards and collectible achievements
Built With
- ai
- starknet
- starknet.js
- svelte
- threlte
Log in or sign up for Devpost to join the conversation.