Skip to content

PrincessnJoy/stellarpay

StellarPay 💫

Payment system for merchants powered by the Stellar network

CI CodeQL License: MIT PRs Welcome

StellarPay is an open-source payment solution that enables merchants to accept payments on the Stellar network easily and securely. It leverages Stellar blockchain capabilities to offer fast, cost-effective, and reliable transactions.


🚀 Features

  • Simple merchant integration — onboard in minutes with a clean dashboard
  • Real-time payment processing — instant settlement on the Stellar network
  • Multi-asset support — accept XLM, USDC, and any Stellar-issued asset
  • Payment links — generate shareable links with fixed or variable amounts
  • Minimal fees — Stellar's ~0.00001 XLM base fee per transaction
  • Webhook notifications — real-time payment event delivery to your backend
  • Admin dashboard — full transaction history, analytics, and merchant management

🏗️ Architecture

stellarpay/
├── stellarpay-frontend/   # Next.js 14 + TypeScript + Tailwind CSS
└── stellarpay-backend/    # Express + TypeScript + PostgreSQL

🛠️ Tech Stack

Layer Technology
Frontend Next.js 14, TypeScript, Tailwind CSS, shadcn/ui
Backend Node.js, Express, TypeScript
Database PostgreSQL + Prisma ORM
Blockchain Stellar SDK (@stellar/stellar-sdk)
Auth JWT + bcrypt
Testing Jest, React Testing Library
CI/CD GitHub Actions
Container Docker + Docker Compose

🏁 Quick Start

Prerequisites

  • Node.js ≥ 18
  • PostgreSQL ≥ 14
  • Docker (optional)

With Docker (recommended)

git clone https://github.com/PrincessnJoy/stellarpay.git
cd stellarpay
cp stellarpay-backend/.env.example stellarpay-backend/.env
cp stellarpay-frontend/.env.example stellarpay-frontend/.env.local
docker compose up --build

Frontend: http://localhost:3000
Backend API: http://localhost:4000

Manual Setup

# Backend
cd stellarpay-backend
npm install
npx prisma migrate dev
npm run dev

# Frontend (new terminal)
cd stellarpay-frontend
npm install
npm run dev

📖 Documentation


🤝 Contributing

Contributions are welcome! Please read our Contributing Guide before submitting a PR.

  1. Fork the project
  2. Create your feature branch: git checkout -b feat/amazing-feature
  3. Commit your changes: git commit -m 'feat: add amazing feature'
  4. Push to the branch: git push origin feat/amazing-feature
  5. Open a Pull Request

🔐 Security

Found a vulnerability? Please read our Security Policy and report it responsibly.


📄 License

This project is licensed under the MIT License — see the LICENSE file for details.


💬 Community


⭐ Support the Project

If you find StellarPay useful, please consider:

  • ⭐ Starring the repository
  • 🐛 Reporting bugs
  • 💡 Suggesting features
  • 🤝 Contributing code

About

Payment system for merchants powered by the Stellar network — fast, low-cost, and open-source.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors