This guide covers infrastructure components for building production applications on Stellar, including anchors, SEPs, and bulk payment systems.
Anchors are entities that issue assets on Stellar and provide fiat on/off ramps. They bridge traditional finance with the Stellar network.
SDF-maintained platform for building SEP-compliant anchor services.
| Feature | Details |
|---|---|
| GitHub | stellar/java-stellar-anchor-sdk |
| Docs | developers.stellar.org/docs/category/anchor-platform |
| Language | Java/Kotlin |
Features:
- Pre-built SEP implementations
- Compliance integrations
- Customer management
- Transaction monitoring
Stellar Ecosystem Proposals (SEPs) define standards for interoperability.
Programmatic deposits and withdrawals for wallets and exchanges.
| Feature | Details |
|---|---|
| Spec | SEP-0006 |
| Use Case | Automated fiat on/off ramps |
Flow:
- Wallet requests deposit/withdrawal info
- Anchor provides instructions
- User completes fiat transfer
- Anchor issues/redeems tokens
Interactive deposits/withdrawals via hosted web UI.
| Feature | Details |
|---|---|
| Spec | SEP-0024 |
| Use Case | User-facing on/off ramps |
Flow:
- Wallet opens anchor's web interface
- User completes KYC/AML
- User initiates deposit/withdrawal
- Anchor processes and settles
Direct payments between institutions (no end-user interaction).
| Feature | Details |
|---|---|
| Spec | SEP-0031 |
| Use Case | B2B remittances, institutional transfers |
Flow:
- Sending FI queries receiving FI
- Payment info exchanged
- Sender initiates payment
- Receiver delivers to beneficiary
Stellar-based authentication for web services.
| Feature | Details |
|---|---|
| Spec | SEP-0010 |
| Use Case | Secure user authentication |
Metadata file for Stellar entities (anchors, issuers, validators).
| Feature | Details |
|---|---|
| Spec | SEP-0001 |
| Location | /.well-known/stellar.toml |
Example:
# https://example.com/.well-known/stellar.toml
NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015"
TRANSFER_SERVER="https://api.example.com/sep6"
WEB_AUTH_ENDPOINT="https://api.example.com/auth"
[[CURRENCIES]]
code="USD"
issuer="GEXAMPLEISSUER..."
display_decimals=2
name="US Dollar"Bulk payment infrastructure for enterprises.
| Feature | Details |
|---|---|
| GitHub | stellar/stellar-disbursement-platform |
| Docs | developers.stellar.org/docs/category/use-the-stellar-disbursement-platform |
- Aid distribution - Humanitarian organizations
- Payroll - Cross-border salary payments
- Rewards - Loyalty program distributions
- Grants - Scholarship/funding disbursements
- CSV-based bulk uploads
- Multi-asset support
- Wallet registration workflows
- KYC integration
- Audit trails
- Retry mechanisms
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Admin UI │ ──► │ SDP API │ ──► │ Stellar │
│ │ │ │ │ Network │
└─────────────┘ └─────────────┘ └─────────────┘
│ │
│ ▼
│ ┌─────────────┐
│ │ Database │
│ └─────────────┘
▼
┌─────────────┐
│ Recipients │
│ (Wallets) │
└─────────────┘
# Clone the repository
git clone https://github.com/stellar/stellar-disbursement-platform
cd stellar-disbursement-platform
# Run with Docker
docker-compose upComprehensive network explorer with analytics.
| Feature | Details |
|---|---|
| URL | stellar.expert |
| Features | Transactions, accounts, assets, contracts |
Developer tools and transaction builder.
| Feature | Details |
|---|---|
| URL | laboratory.stellar.org |
| Features | XDR viewer, transaction signing, account viewer |
Alternative explorer with contract support.
| Feature | Details |
|---|---|
| URL | stellarchain.io |
| Network | RPC URL | Horizon URL |
|---|---|---|
| Mainnet | https://soroban.stellar.org |
https://horizon.stellar.org |
| Testnet | https://soroban-testnet.stellar.org |
https://horizon-testnet.stellar.org |
For high-volume applications, consider:
- Blockdaemon - Enterprise RPC
- QuickNode - Multi-chain infrastructure
- Self-hosted - Run your own nodes
# Run local Stellar network
docker run --rm -it \
-p 8000:8000 \
--name stellar \
stellar/quickstart \
--testnetFor production deployments:
| Component | Repository |
|---|---|
| Stellar Core | stellar/stellar-core |
| Horizon | stellar/go |
| Soroban RPC | stellar/soroban-rpc |
Track contract events and transactions.
| Feature | Details |
|---|---|
| Docs | See openzeppelin/monitor.md |
// Example: Track transaction status
import * as StellarSdk from "@stellar/stellar-sdk";
async function monitorTransaction(hash: string) {
const rpc = new StellarSdk.rpc.Server("https://soroban-testnet.stellar.org");
let status = "NOT_FOUND";
while (status === "NOT_FOUND") {
const result = await rpc.getTransaction(hash);
status = result.status;
if (status === "NOT_FOUND") {
await new Promise(r => setTimeout(r, 1000));
}
}
return status;
}