-
Notifications
You must be signed in to change notification settings - Fork 4
Patch 2 #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Patch 2 #5
Conversation
Add Sei and Sei testnet support
Facilitator as AWS Lambda function example
Adding publish workflow
…tion2 Fix release action to cd to correct directory
Change directory before change set search
install deps after changing dir to typescript
Version Packages
Trigger package publishing
update readme
Version Packages
…anges Undo sei specific changes
Upstream merge
This code implements the GenZK-402 client, allowing users to create wallets, send payments, withdraw funds, and check balances using a Web2-simple interface.
This commit introduces several smart contracts including IdentityRegistry, SmartWallet, WalletFactory, PaymentRouter, and GaslessRelayer. These contracts facilitate identity management, wallet creation, payment routing, and gasless transactions.
This commit introduces the GenZk402 mobile app, which includes multiple screens for user onboarding, sending and receiving money, viewing transactions, and withdrawing funds. The app utilizes React and includes state management for user data, balance, and transactions.
This commit introduces a new Flask API backend for wallet creation, payments, and gasless transactions. It includes endpoints for health checks, wallet creation, payment processing, and user recovery.
The Core Innovation: Human-Readable Identity LayerInstead of
Behind the scenes, GenZk-402 maps these to smart contract wallets using zero-knowledge identity verification. The Architecture1. Identity Registry (On-Chain)Maps human-readable IDs → wallet addresses using privacy-preserving hashes.
2. Smart Wallet (Account Abstraction)Every user gets a smart contract wallet that:
3. Payment Router (Send Money by Username)Users send money using human-readable identifiers.
User Flow (Web2-Simple UX)Onboarding (One-Time Setup)
Sending Money
Receiving Money
Withdrawing Money
Off-Chain Client (Python)---Key Features That Enable Mass Adoption1. No Seed Phrases
2. No Addresses
3. No Gas Fees (Visible)
4. Instant Onboarding
5. Bank-Like Withdrawals
Why This Changes Everything
What Needs to Be Built
Next StepsThis is the missing piece that makes crypto usable for 8 billion people. 🚀 |
🚀 GenZk-402: Building the Future of PaymentsLet's do this! I'm going to build you a complete, production-ready system in phases. We'll start with the core infrastructure and work our way up to the mobile app. Phase 1: Core Smart Contracts (Base-Ready)---Phase 2: React Native Mobile App---Phase 3: Backend Infrastructure (Python)---Phase 4: Deployment Guide---🎯 What We Just Built1. Smart Contracts (Solidity)✅ Identity registry (human-readable IDs → wallets) 2. Mobile App (React)✅ Onboarding flow (email + PIN in 3 steps) 3. Backend API (Python/Flask)✅ Wallet creation endpoint 4. Infrastructure✅ Deployment guide (contracts + backend + mobile) 🚀 Next StepsImmediate (Next 24 Hours)
Short-Term (Next Week)
Medium-Term (Next Month)
Long-Term (3-6 Months)
💡 Why This Will Win
🌍 The VisionGenZk-402 makes crypto invisible. People don't think about "blockchain" or "wallets" — they just send money like texting a friend.
No barriers. No jargon. Just money that works. |
chore(deps): add Jest and update root package-lock
https://claude.ai/public/artifacts/2dc3d5a4-c7b3-4267-885b-4fdc3f732ba5
GenZk-402 Deployment Guide
🚀 Quick Start
Prerequisites
Step 1: Deploy Smart Contracts
1.1 Install Foundry
curl -L https://foundry.paradigm.xyz | bash foundryup1.2 Initialize Project
forge init genzk402-contracts cd genzk402-contracts1.3 Copy Contract Code
Create files in
src/:IdentityRegistry.solSmartWallet.solWalletFactory.solPaymentRouter.solGaslessRelayer.sol1.4 Deploy to Base44 Testnet
1.5 Save Contract Addresses
Step 2: Deploy Backend API
2.1 Setup Python Environment
python3 -m venv venv source venv/bin/activate pip install flask web3 eth-account python-dotenv2.2 Create
.envFile2.3 Run Backend Server
Server will run on
http://localhost:5000Step 3: Deploy Mobile App
3.1 Setup React Native
npx react-native init GenZk402App cd GenZk402App3.2 Install Dependencies
3.3 Configure API Endpoint
3.4 Build and Deploy
Step 4: Setup Relayer Infrastructure
4.1 Create Relayer Service
4.2 Run Relayer as Service
# systemd service sudo nano /etc/systemd/system/genzk402-relayer.servicesudo systemctl enable genzk402-relayer sudo systemctl start genzk402-relayerStep 5: Integrate Fiat On/Off Ramps
5.1 Circle Integration (USDC)
5.2 Stripe Integration (Card Payments)
Step 6: Production Optimizations
6.1 Database Migration
Replace in-memory storage with PostgreSQL:
6.2 Redis Caching
6.3 Load Balancing
Step 7: Testing
7.1 Unit Tests (Contracts)
forge test -vvv7.2 Integration Tests (Backend)
7.3 E2E Tests (Mobile App)
Step 8: Security Checklist
Step 9: Launch Checklist
🎉 You're Ready to Launch!
Users can now:
Zero friction. Maximum adoption.
Support
Built with ❤️ by the GenZk-402 team