First off — thank you for taking the time to contribute! 🎉
Stellar MicroPay is an open-source project and every contribution matters, whether it's fixing a typo, reporting a bug, or building a new feature.
- Code of Conduct
- How to Fork & Set Up
- Running the Project Locally
- Making Changes
- Submitting a Pull Request
- Issue Templates
- Project Structure Overview
Be kind, inclusive, and constructive. We follow the Contributor Covenant. Harassment of any kind will not be tolerated.
Click Fork on the top-right of the GitHub page to create your own copy.
git clone https://github.com/YOUR_USERNAME/stellar-micropay.git
cd stellar-micropaygit remote add upstream https://github.com/your-org/stellar-micropay.gitgit fetch upstream
git checkout main
git merge upstream/maincd frontend
npm install
cp .env.example .env.local
# Edit .env.local if needed
npm run devcd backend
npm install
cp .env.example .env
npm run dev# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup target add wasm32-unknown-unknown
# Install Stellar CLI
cargo install --locked stellar-cli
# Build the contract
cd contracts/stellar-micropay-contract
cargo build --target wasm32-unknown-unknown --releasefeature/your-feature-name
fix/bug-description
docs/what-you-documented
chore/what-you-cleaned-up
Example:
git checkout -b feature/qr-code-paymentsWe use Conventional Commits:
feat: add QR code payment generation
fix: correct balance display on dashboard
docs: update API endpoint documentation
chore: upgrade stellar-sdk to latest
-
Push your branch to your fork:
git push origin feature/your-feature-name
-
Open a PR against the
mainbranch ofstellar-micropay -
Fill in the PR template — describe what you changed and why
-
Link any related issues using
Closes #123 -
Wait for a review — we aim to respond within 48 hours
- My code follows the project's style
- I've tested my changes locally
- I've updated documentation if needed
- No new warnings or errors in the console
- I've added a brief description of the change
When creating issues, please use the appropriate template:
- Bug Report — Something is broken
- Feature Request — You have an idea
- Question — You need help understanding something
stellar-micropay/
├── frontend/
│ ├── components/ ← Reusable React components
│ ├── pages/ ← Next.js pages (routes)
│ ├── lib/ ← Stellar SDK + wallet helpers
│ └── utils/ ← Shared utility functions
├── backend/
│ └── src/
│ ├── routes/ ← Express route definitions
│ ├── controllers/← Request handlers
│ └── services/ ← Business logic
├── contracts/ ← Soroban smart contracts (Rust)
└── docs/ ← Architecture & API docs
Look for issues tagged good first issue — these are beginner-friendly tasks!
Thanks again for contributing. You're helping make global payments accessible to everyone 🌍