Drop crypto anywhere on Earth. Powered by Stellar Network.
Demo Β· Documentation Β· Report Bug Β· Request Feature
StellarGo is the first location-based SocialFi platform built on the Stellar Network. Create "Geo-Drops" - cryptocurrency amounts placed at physical locations that anyone nearby can discover and claim. Think of it as a global treasure hunt combined with instant crypto payments.
- πΊοΈ Location-Based Drops: Place crypto at GPS coordinates for others to find
- β‘ Lightning Fast: Transactions confirm in 3-5 seconds on Stellar
- π° Ultra Low Cost: Transaction fees under $0.01
- π― Targeted Drops: Public, friends-only, or customer-specific
- π Gamification: Levels, badges, and leaderboards
- π± Mobile First: Responsive design with bottom navigation
- π Dark Mode: Futuristic fintech aesthetic
Share crypto with friends, create treasure hunts, or discover drops near you
Reward loyal customers, drive foot traffic, and create engaging marketing campaigns
Distribute aid directly, create fundraising events, and engage your community
- Node.js 18+
- Rust & Cargo (for smart contract)
- Soroban CLI
- MongoDB (local or Atlas)
- Freighter Wallet Extension
# Clone repository
git clone https://github.com/MYounesDev/stellargo.git
cd stellargo
# Install dependencies
npm install
# Build smart contract
npm run build:contract:windows # Windows
npm run build:contract # Mac/Linux
cd sorbon/geo_drop
soroban contract deploy --wasm target/wasm32-unknown-unknown/release/geo_drop.wasm --source deployer --network testnet
# Configure environment
cp .env.example .env.local
# Edit .env.local with your CONTRACT_ID and MongoDB URI
# Seed database
npm run seed
# Start development server
npm run devVisit http://localhost:3000 π
π Documentation:
- π Installation Guide - Detailed installation
- π Running Guide - Running locally
- π’ Deployment Guide - Production deployment
- Next.js 14 - React framework with App Router
- TypeScript - Type safety
- Tailwind CSS - Utility-first styling
- Framer Motion - Animations
- Leaflet - Interactive maps
- Lucide React - Icon library
- Next.js API Routes - Serverless functions
- MongoDB + Mongoose - Database
- Stellar SDK - Blockchain integration
- Soroban Smart Contracts - Rust-based smart contracts on Stellar
- Freighter API - Stellar wallet integration
- Stellar Network - Fast, low-cost transactions
- Real On-Chain Transactions - All drops and claims execute on-chain
Create drops with:
- Custom amounts (0.1+ XLM)
- Personal messages
- Target audience (public/friends/customers)
- Expiration times
- 50m claim radius
- Personas: Personal, Business, or Non-Profit
- Levels: Earn XP by creating and claiming drops
- Badges: Unlock achievements
- Statistics: Track your activity
- Direct Transfers: Send XLM to any Stellar address
- Transaction History: View all drops created and claimed
- Leaderboard: See top contributors
- Interactive Map: Real-time drop visualization
stellargo/
βββ src/
β βββ app/ # Next.js 14 App Router
β β βββ api/ # API routes
β β βββ app/ # Protected app pages
β β βββ faq/ # FAQ page
β β βββ page.tsx # Landing page
β βββ components/ # React components
β β βββ Button.tsx
β β βββ Card.tsx
β β βββ ConnectWallet.tsx
β β βββ Modal.tsx
β β βββ Navbar.tsx
β β βββ OnboardingModal.tsx
β βββ hooks/ # Custom React hooks
β β βββ useWallet.ts
β βββ lib/ # Utilities
β β βββ freighter.ts # Wallet integration
β β βββ mongodb.ts # Database connection
β β βββ stellar.ts # Stellar SDK wrapper
β βββ models/ # MongoDB models
β β βββ Drop.ts
β β βββ User.ts
β βββ types/ # TypeScript types
β βββ index.ts
βββ scripts/ # Utility scripts
β βββ seed.js # Database seeding
βββ public/ # Static assets
βββ INSTALL.md # Installation guide
βββ RUN.md # Running guide
βββ DEPLOY.md # Deployment guide
βββ README.md # This file
# Database
MONGODB_URI=mongodb://localhost:27017/stellargo
# Stellar Network
STELLAR_NETWORK=testnet # or 'public' for mainnet
# App URL (optional)
NEXT_PUBLIC_APP_URL=http://localhost:3000- Testnet: Free test XLM, for development
- Public: Real XLM, for production
Get testnet XLM: Stellar Laboratory
{
publicKey: string; // Stellar address
username?: string;
bio?: string;
persona: 'personal' | 'business' | 'nonprofit';
level: number;
badge?: string;
totalDropsCreated: number;
totalDropsClaimed: number;
totalAmountSent: number;
totalAmountReceived: number;
}{
location: {
type: 'Point';
coordinates: [number, number]; // [lng, lat]
};
amount: number;
message: string;
createdBy: string;
claimed: boolean;
claimedBy?: string;
claimedAt?: Date;
targetAudience: 'public' | 'friends' | 'customers';
expiresAt?: Date;
}- Cyber Green:
#00ff9d- Primary CTA - Dark Background:
#0a0a0a - Charcoal Cards:
rgba(10, 10, 10, 0.6)with blur
- Glassmorphism: Backdrop blur with transparency
- Rounded Corners:
xlto2xl - Animations: Smooth transitions, hover effects
- Icons: Lucide React (no emojis in UI)
- Desktop: Fixed top navigation
- Mobile: Bottom navigation bar (app-like)
# Run linter
npm run lint
# Type check
npx tsc --noEmit
# Test build
npm run build
# Test database connection
npm run seedWe 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
This project is licensed under the MIT License - see LICENSE file for details.
- Stellar Development Foundation - For the amazing blockchain network
- Freighter Team - For the wallet extension
- Next.js Team - For the fantastic framework
- Community Contributors - Thank you all!
- Documentation: Check in-app FAQ page
- Issues: GitHub Issues
- GitHub: MYounesDev
- LinkedIn: Myounesdev
- Core geo-drop functionality
- Wallet integration
- User profiles and personas
- Map interface
- Transaction history
- Friends system
- Drop comments
- Push notifications
- Mobile app (React Native)
- Advanced analytics
- NFT drops
- Soroban smart contracts
- DAO governance
- Multi-chain support
- Transactions: 3-5 second confirmation
- Fees: < $0.01 per transaction
- Scalability: 1000+ TPS on Stellar
- Uptime: 99.9% (Stellar Network)
