Book a free call

How to Build an App on Stellar: A Practical Guide

Stellar is built for fast, low-cost payments and asset transfers. This guide covers the tools, the build steps and the checks to run before your app goes live.

Hertiv engineering teamReviewed by a senior engineer
6 min read
How to Build an App on Stellar: A Practical Guide
On this page

Short answer

To build an app on Stellar, set up a Stellar account and wallet, connect to the network with a software development kit, write the payment or asset logic, and test it on the test network before launch. Stellar's built-in asset and payment features handle much of the work, while smart contracts written in Rust add custom rules. Budget time for testing, key management and compliance.

What is a Stellar app?

A Stellar app is an application built on the Stellar network, a blockchain designed for fast, low-cost payments and asset transfers. The app lets users send money, hold tokenised assets such as stablecoins, or trade between currencies, with the Stellar network settling each transaction in seconds.

Stellar differs from general-purpose blockchains in what it builds in: payments, asset issuance and currency exchange are native operations, so many apps need no custom smart contract at all. When custom logic is needed, developers write it in Soroban, Stellar's smart contract platform.

Typical Stellar apps include remittance services, wallets, savings products, payroll tools and marketplaces that settle in stablecoins. The shared pattern is moving value between people or businesses quickly and cheaply.

This guide covers the tools, the build steps and the checks to run before launch. If you only need the background, see what the Stellar blockchain is.

What do you need before you start?

Before you write code, you need an account on the network, a way to talk to it, and a clear picture of what the app must do. The tooling is small, which is part of Stellar's appeal.

Piece What it does Where to get it
Stellar SDK Builds and signs transactions JavaScript, Python, Java, Go and more
Test network Free test funds and a safe place to try Stellar testnet and its faucet
Horizon API Reads accounts, payments and history Public Horizon servers or your own
Wallet Holds keys and signs for users Freighter, Lobstr or your own wallet
Soroban Custom smart contract logic Rust contracts on the Soroban platform

You also need to decide how users will hold keys. Custodial wallets are simpler for users but make you responsible for their funds; non-custodial wallets shift that responsibility to the user and need a clear recovery story.

Finally, check the rules for your market early. Payment apps usually need licences or a licensed partner, and that work takes longer than the build itself.

How do you build a Stellar app in 5 steps?

You build a Stellar app by setting up accounts, connecting to the network, writing the payment logic, adding the user-facing app, and then testing everything on the test network before launch.

  1. Set up accounts and test funds. Create test accounts on the test network, fund them from the faucet, and confirm you can send a payment between them.
  2. Connect with the SDK. Use the software development kit to build transactions, sign them and submit them, and read account balances and payment history through Horizon.
  3. Build the payment or asset logic. Use Stellar's built-in operations for payments, asset issuance and currency exchange. Add a Soroban contract only where built-in operations cannot express the rule.
  4. Build the app around it. Add user accounts, transaction history, notifications and the wallet connection, keeping keys out of your own servers wherever possible.
  5. Test on the test network. Run the full flow end to end: funding, payment, failure cases and recovery. Fix the rough edges before touching real funds.

Keep the first version narrow. A remittance app that does one corridor well is easier to test, licence and support than one that tries to cover every currency at launch.

The surrounding product work, such as onboarding and support, is part of blockchain development when you need help beyond the Stellar code itself.

When do you need a Soroban smart contract?

You need a Soroban smart contract when a rule cannot be expressed with Stellar's built-in operations. Most payment apps do not need one, and skipping it keeps the app simpler and cheaper to audit.

  • Built-in operations cover: sending payments, issuing an asset, exchanging currencies through the built-in order book, setting multi-signature rules, and time-locking a payment.
  • Soroban covers: escrow that releases on conditions, custom fee or reward rules, lending logic, voting, and any workflow with steps that depend on each other.

Soroban contracts are written in Rust, which is a deliberate choice: the language catches many errors before the code runs. That matters because a contract bug can move real money, and fixing a live contract is slow and expensive.

Even when you use Soroban, keep the contract small. Put the complex business logic in your off-chain service and let the contract hold only the rules that must be enforced on chain. For the build and audit steps, see smart contract development.

How do you test and launch?

You test and launch a Stellar app by proving the full flow on the test network, reviewing the money paths, and going live with a small group before opening to everyone.

  • Test the money paths. Send, receive, fail and retry every transaction type. Check what happens when a payment is too large, too small or sent to a wrong address.
  • Review key handling. Confirm that private keys never leave the user's device or your secure key store, and that a lost key has a documented recovery path.
  • Audit any Soroban contract. A contract that holds funds should be reviewed by someone who did not write it, with the findings fixed and re-tested.
  • Watch the first live users closely. Log every transaction, set alerts for unusual volumes, and keep a way to pause the app if something goes wrong.
  • Plan support. Payment questions arrive fast and users expect quick answers, so staff the launch week accordingly.

Wallet integration is often the slowest part of launch, because each wallet behaves slightly differently. Budget a week for wallet testing alone. The wallet side is covered in crypto wallet development.

Example: a small remittance app budget

Example (hypothetical): a team of three developers plans a first version of a remittance app for one corridor, sending money from one country to another with a stablecoin in the middle.

The build takes 10 weeks at 40 hours a week for each developer, which is 3 times 10 times 40, or 1,200 hours. At 75 dollars an hour, the build costs 1,200 times 75, or 90,000 dollars.

On top of that, the team budgets 5,000 dollars for a Soroban contract review and 3,000 dollars for hosting and test infrastructure, which brings the total to 98,000 dollars. A 10 percent reserve adds 9,800 dollars, giving a planned budget of 107,800 dollars.

The reserve matters because payment apps always find extra work in compliance checks, wallet behaviour and failed-transaction handling. A budget without a reserve is a budget that will be exceeded.

What are the common mistakes?

The most common mistakes are starting with a smart contract when built-in operations would do, underestimating the compliance work, and testing only the happy path.

  • Writing a contract for everything. Built-in operations are tested, cheap and fast. Use them first and add Soroban only where needed.
  • Leaving compliance to the end. Licences and banking partners take months; start those conversations before the build.
  • Testing only successful payments. Failed, duplicate and partial payments are where users lose money and trust.
  • Storing keys carelessly. A leaked key can drain every account it controls. Keep keys in a proper store, never in code or logs.
  • Launching to everyone at once. A small live group finds the problems that test networks cannot, at a fraction of the cost.
  • No pause button. If something goes wrong, you need a way to stop new transactions quickly while you investigate.

Key takeaways

  • Stellar's built-in payment and asset operations cover most apps, so start without a smart contract
  • Use the SDK, the test network and Horizon to build and test before touching real funds
  • Soroban is for custom rules that built-in operations cannot express, written in Rust
  • Compliance and banking partners take longer than the build, so start them early
  • Test failed and duplicate payments, not just successful ones, and launch to a small group first

Frequently asked questions

Do I need to write a smart contract to build on Stellar?

Usually not. Payments, asset issuance and currency exchange are built-in operations. You only need a Soroban smart contract when your logic has custom rules that those operations cannot express. Most first versions ship without one.

What programming language does Stellar use?

The SDKs come in several languages, including JavaScript, Python, Java and Go. Soroban smart contracts are written in Rust, which catches many errors before the code runs. Pick the SDK in the language your team already knows.

How much does it cost to build a Stellar app?

It depends on scope, team rates and compliance needs. A small first version for one corridor can take a few developers a few months, plus budget for audits, hosting and a reserve for extra work.

What is the Stellar test network?

It is a separate network that behaves like the live one but uses free test funds, so you can try payments and contracts without risking real money. Every flow should be proven there first.

How fast are Stellar transactions?

Transactions typically settle in seconds, and fees are low by design. The exact time depends on network conditions, but payment apps choose Stellar largely for this speed and low cost.

Do I need a licence to build a payment app on Stellar?

It depends on your market and what the app does. Payment and remittance apps usually need licences or a licensed partner, so check the rules for each country you serve before launch.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning a payment app on Stellar and want a build plan? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Blockchain Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call