Bridging the Divide: Build Anywhere. Pay Offline
The world's first mobile wallet combining offline-first payments with AI-powered smart contract migration.
Sopan Wallet is a revolutionary dual-purpose crypto platform that solves two critical problems in blockchain adoption:
Billions of people live in areas with unreliable internet. Traditional crypto wallets become useless the moment you lose signal, leaving entire communities excluded from the digital economy.
The blockchain ecosystem is fragmented. Developers who've built on Ethereum (Solidity) face months of work to migrate their dApps to high-performance networks like Stellar.
A unified platform that enables offline payments for users and instant smart contract migration for developers.
Sopan is powered by two groundbreaking engines working in tandem:
The lifeline for unconnected economies.
๐ฑ User A (Offline) โโBluetoothโโ> ๐ฑ User B (Offline)
โ โ
โ (Signs Transaction) โ (Verifies Signature)
โ โ
โผ โผ
[Local Queue] [Local Queue]
โ โ
โโโโโโโโโ Internet Restored โโโโโโโโโโ
โ
โผ
๐ Stellar Blockchain
(Final Settlement)
- ๐ก True Offline Mode: Send XLM via Bluetooth Low Energy (BLE) when cellular networks fail
- ๐ Cryptographic Security: Transactions are signed with Ed25519 keys, verified locally
- ๐ Intelligent Auto-Sync: The
SyncServicequeues signed transactions and auto-submits when online - โก Near-Instant Finality: Settles on Stellar in 3-5 seconds once broadcasted
- ๐ก๏ธ Conflict Resolution: Handles sequence number mismatches and balance conflicts automatically
- ๐๏ธ Remote Villages: Farmers transact without cell towers
- ๐ Underground Transit: Commuters pay for tickets in subway tunnels
- ๐ Maritime Commerce: Fishermen settle payments at sea
- ๐๏ธ Disaster Zones: Emergency aid distribution during network outages
A powerful AI assistant designed to migrate the world's dApps to Stellar.
๐ Solidity Contract (.sol)
โ
โผ
๐ค Groq AI Analysis
(Function Extraction)
โ
โผ
๐ง Intelligent Transpilation
(Solidity โ Rust/Soroban)
โ
โผ
๐ฆ WASM Compilation
โ
โผ
๐ One-Click Deployment
(Testnet/Mainnet)
โ
โผ
โ
Contract ID Generated
- ๐ง AI-Powered Analysis: Upload any Solidity contract; Groq AI extracts functions and logic
- ๐ Intelligent Conversion: Automatically transpiles to optimized Stellar Rust (Soroban) code
- ๐ ๏ธ Mobile Deployment: Deploy contracts directly from your phoneโno desktop IDE needed
- ๐ฑ Developer-Friendly: Select specific functions to convert; preview before deployment
- ๐ Ecosystem Bridge: Lowers the barrier for Ethereum developers to enter Stellar
- โ ERC-20 Token Standards โ Stellar Assets
- โ Payment Splitters โ Multi-Operation Transactions
- โ Escrow Contracts โ Time-Locked Payments
- โ DAO Voting โ Weighted Signatures
| Traditional Wallets | Sopan Wallet |
|---|---|
| โ Requires constant internet | โ Works 100% offline via Bluetooth |
| โ Centralized mobile money (trust required) | โ Fully decentralized (you hold keys) |
| โ High fees (remittance services) | โ Fraction-of-a-cent fees (Stellar) |
| โ Vulnerable to SIM swapping | โ Cryptographically secured |
| Manual Migration | Solust AI |
|---|---|
| โ Weeks of rewriting code | โ 5-second AI conversion |
| โ Requires Rust expertise | โ No Rust knowledge needed |
| โ Desktop IDE mandatory | โ Deploy from mobile device |
| โ Trial-and-error debugging | โ AI-optimized output |
Sopan runs on custom Soroban logic for fee routing and treasury management.
- Contract ID:
CBV5C5JWPKNZKR6TZN7K65P7WRN2OCRUUT7ZCGL5O4A3YBXU4SKS3524 - Network: Stellar Testnet
- Language: Rust (Soroban SDK)
- Purpose: Automatic 0.01% fee distribution to sustain the ecosystem
This contract ensures that for every offline transaction synced, a micro-fee is transparently routed to the service treasury, creating a sustainable economic model.
| Component | Technology |
|---|---|
| Framework | React Native (Expo SDK 54) |
| Language | TypeScript 5.3.0 |
| Communication | react-native-ble-plx (Bluetooth) |
| Storage | expo-secure-store (Keys), AsyncStorage (Metadata) |
| UI/UX | expo-linear-gradient, react-native-reanimated |
| QR Codes | expo-camera, react-native-qrcode-svg |
| Biometrics | expo-local-authentication |
| Component | Technology |
|---|---|
| Network | Stellar (Testnet/Mainnet) |
| SDK | @stellar/stellar-sdk 13.0.0 |
| Smart Contracts | Rust + Soroban SDK |
| Cryptography | tweetnacl (Ed25519), @noble/hashes |
| Component | Technology |
|---|---|
| AI Model | Groq (Llama 3.1 70B) |
| Server | Node.js / Express |
| Containerization | Docker |
| Deployment | Railway (Production) |
| Live API | https://sopan-wallet-production.up.railway.app |
| Feature | Sopan | Traditional Wallets | Mobile Money Apps |
|---|---|---|---|
| Offline Payments | โ | โ | |
| Decentralized | โ | โ | โ |
| Low Fees (<$0.01) | โ | โ | |
| Smart Contract Support | โ | โ | |
| AI Dev Tools | โ | โ | โ |
| Mobile Deployment | โ | โ | โ |
| Biometric Security | โ |
- Offline BLE payments
- Stellar integration
- Solust AI transpilation
- Mobile deployment
- Mesh networking (multi-hop offline transactions)
- Hardware wallet support (Ledger/Trezor)
- Cross-border remittance anchors
- Advanced conflict resolution algorithms
- Merchant POS mode
- Multi-signature wallets
- Decentralized identity (DID) integration
- NFT support on Stellar
- Node.js 18+
- Expo CLI
- Android Studio (for Android builds)
# Clone the repository
git clone https://github.com/Anidipta/Sopan-Wallet.git
cd Sopan-Wallet/mobile
# Install dependencies
npm install
# Start development server
npx expo start
# Build for Android
eas build -p android --profile previewCreate a .env file in /mobile:
GROQ_API_KEY=your_groq_api_key
SERVER_URL=https://sopan-wallet-production.up.railway.appWe welcome contributions! Please see CONTRIBUTING.md for guidelines.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Stellar Development Foundation for the robust blockchain infrastructure
- Groq for lightning-fast AI inference
- Expo Team for the incredible mobile development platform
- Open Source Community for the libraries that power this project
Empowering the Unconnected Economy
Built with โค๏ธ by the Sopan Team
โญ Star us on GitHub โข ๐ Report Bug โข ๐ก Request Feature
