Stellar MicroPay is currently in active development. Testnet allows us to iterate quickly without real financial risk. Switching to Mainnet is straightforward — change the STELLAR_NETWORK environment variable from testnet to mainnet and update the Horizon URL.
- Install the Freighter browser extension
- Create or import a wallet and switch to Testnet
- Copy your public key
- Fund it via Friendbot: open
https://friendbot.stellar.org/?addr=<YOUR_PUBLIC_KEY>in your browser
You can also use the Stellar CLI: stellar keys fund <identity-name> --network testnet
A streaming payment channel lets a payer deposit XLM and stream it to a recipient at a defined rate (e.g., 1 XLM per hour). The recipient can claim the accumulated amount at any time. The payer can close the stream and receive a refund of unstreamed funds.
The claimable amount is calculated based on ledger progression. If you just created the stream, no ledgers have elapsed yet, so the claimable amount is zero. Wait a few ledgers (typically 3–5 seconds each on Stellar) and check again.
Freighter is the most widely used Stellar browser wallet. It provides a clean API for transaction signing without exposing private keys to the application. Other Stellar wallets can be integrated in the future, but Freighter is the primary supported wallet.
Turrets enable automated transaction execution — things like Dollar-Cost Averaging (DCA) and stop-loss orders. The user signs a one-time authorization via Freighter, and the Turrets sidecar executes the strategy on schedule. This preserves the non-custodial model: the server never holds private keys.
SEP-10 is Stellar's standard for web authentication. The server issues a challenge transaction, the user signs it with Freighter (proving they own the key), and the server verifies the signature. No passwords or third-party auth providers are needed.
Yes. Update the following environment variables:
STELLAR_NETWORK=mainnetHORIZON_URL=https://horizon.stellar.orgNEXT_PUBLIC_STELLAR_NETWORK=mainnetNEXT_PUBLIC_HORIZON_URL=https://horizon.stellar.org
Ensure you have real XLM in your account before transacting on Mainnet.
See CONTRIBUTING.md for the full setup guide. In short:
git clone https://github.com/<your-fork>/stellar-micropay.git
cd stellar-micropay
cd frontend && npm install && npm run dev
cd backend && npm install && npm run devSee docs/testing.md for all test suite commands.
Check the docs/adr/ directory for Architecture Decision Records explaining key design choices like Soroban usage, Turrets integration, and SEP-10 authentication.