Skip to content

Repository files navigation

🌍 Stellar Local

A hyperlocal community platform where verified members participate in local marketplaces and transparent community funds using Stellar.

CI License: MIT Built on Stellar

🎥 Watch Demo | 📖 Documentation | 🤝 Contributing | 🗺️ Roadmap


What is Stellar Local?

Stellar Local empowers neighborhoods to build self-sustaining local economies through blockchain-backed marketplaces and transparent community funding—all powered by Stellar's fast, low-cost network and Soroban smart contracts.

The Problem

Local communities face fragmented commerce and opaque community funding:

  • Marketplaces lack trust systems for neighbor-to-neighbor transactions
  • Community funds lack transparency in contributions and distributions
  • Local economies have no unified digital infrastructure

Why Stellar?

Stellar Local uses Stellar as the settlement layer for local marketplace transactions and community funds, while Soroban provides programmable logic for membership verification, marketplace rules, and community financial workflows.

Key Benefits:

  • Fast settlements — transactions confirm in 3-5 seconds
  • 💰 Low fees — fractions of a cent per transaction
  • 🔗 Smart contracts — Soroban enables programmable community logic
  • 🌍 Global reach, local focus — Stellar's network with hyperlocal rules

📊 Current Status

✅ Working

  • Community membership Soroban contract
  • Community fund Soroban contract with deposit/payment flows
  • Marketplace Soroban contract with listing/purchase logic
  • Contract test suite (community, fund, marketplace)
  • Stellar SDK integration (payments, accounts, assets)
  • PostgreSQL schema for off-chain data
  • CI/CD pipeline (lint, build, test)

🚧 In Progress

  • Frontend marketplace UI
  • Wallet connection (Freighter)
  • Community fund dashboard
  • End-to-end marketplace transaction flow

📋 Planned (Phase 2+)

  • Resource sharing module
  • Mutual aid system
  • Local governance (proposals + voting)
  • Mobile application
  • Cross-community features

🏗️ Architecture

STELLAR LOCAL
│
┌────────────┴────────────┐
│                         │
Web / Mobile          External APIs
│
▼
Application Layer
│
┌──────┼───────┐
│      │       │
Membership  Marketplace  Community Fund
│      │       │
└──────┼───────┘
▼
Soroban Contracts
│
▼
Stellar Network
│
▼
Settlement Layer

Components

Layer Purpose
Application Next.js frontend + Node.js microservices
Soroban Contracts Membership verification, marketplace logic, fund management
Stellar Network Payment settlement, account management, asset transfers

📖 Read full architecture docs


🚀 Quick Start

Prerequisites

  • Node.js >= 20
  • Rust (for Soroban contracts)
  • Docker & Docker Compose
  • Stellar CLI

Installation

# Clone the repository
git clone https://github.com/Fayedamz/Stellar-Local.git
cd Stellar-Local

# Install dependencies
npm install

# Copy environment variables
cp .env.example .env

# Start infrastructure (PostgreSQL, Redis, MongoDB)
docker-compose up -d

# Build Soroban contracts
cd contracts/membership && cargo build --target wasm32-unknown-unknown --release
cd ../marketplace && cargo build --target wasm32-unknown-unknown --release
cd ../community-fund && cargo build --target wasm32-unknown-unknown --release

# Run tests
npm test

# Start development servers
npm run dev

The web app runs at http://localhost:3000
API Gateway runs at http://localhost:4000

📖 Detailed setup guide


🗺️ Roadmap

Phase 1: Core Infrastructure (Current)

  • Community membership contract
  • Marketplace contract (listing + purchase)
  • Community fund contract (deposit + distribution)
  • Stellar payment integration
  • Wallet connection (Freighter)
  • Frontend marketplace
  • Community fund dashboard

Phase 2: Community Features

  • Resource sharing module
  • Mutual aid system
  • Community proposal system
  • Reputation & trust scoring
  • Multi-community support

Phase 3: Ecosystem Expansion

  • Mobile application (React Native)
  • Local business onboarding
  • API for external integrations
  • Cross-community transactions
  • Advanced governance (DAO-style)

🤝 Contributing

We welcome contributions from the community! Stellar Local is designed to be contributor-friendly with well-scoped issues.

How to Contribute

  1. Browse Issues — Check open issues labeled good first issue or help wanted
  2. Pick an Issue — Comment to let us know you're working on it
  3. Fork & Branch — Create a feature branch from develop
  4. Build & Test — Ensure all tests pass
  5. Submit PR — Reference the issue number in your pull request

📖 Read full contribution guide

Areas to Contribute

Area Example Issues
Soroban Contracts Membership contract, community fund logic
Frontend Marketplace UI, wallet integration
Backend Listing API, payment webhooks
Testing Contract test coverage, integration tests
Documentation Developer guides, API docs
DevOps CI/CD improvements, Docker optimization

See Wave Contribution Map for detailed guidance.


📺 Demo

🎥 Coming Soon — Watch a 3-minute demo of Stellar Local in action

The demo will show:

  1. Connect Stellar wallet
  2. Join a community
  3. Browse marketplace listings
  4. Make a purchase with Stellar payment
  5. View community fund dashboard

📄 License

MIT License — see LICENSE for details.


🔗 Links


Built with ❤️ for local communities on Stellar

About

Stellar Local is a blockchain-enabled hyperlocal economy infrastructure built on the Stellar network that empowers neighborhoods and communities to coordinate marketplaces, shared resources, mutual aid systems, community funds, and local governance within a single digital ecosystem.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages