- Get Started
- Become an Anchor
- Stellar Attachment Convention
- Compliance Protocol
- Add Stellar To Your Exchange
- Hardware Requirements
- Issuing Assets
- Known Validators
- Build Stellar Apps
- Contribution Guide
The testnet is a small test Stellar network, run by the Stellar Development Foundation (SDF), which is open to developers.
SDF runs 3 Stellar Core validators on the testnet.
There is also a Horizon instance that can directly interact with the testnet.
Keep in mind that you can always run your own test network for use cases that don’t work well with SDF’s testnet.
In order to preserve a good experience for developers, the SDF testnet is periodically reset to the genesis (initial) ledger. This ensures the removal of spam, minimizing the time to catch up to the latest ledger, and easier maintenance of the system over time.
When this happens, all ledger entries (such as accounts, trustlines, offers, etc), transactions, and historical data are cleared for both Stellar Core and Horizon.
As a result, developers should not rely on the existence of any accounts, or the state of any balances within testnet.
Since most applications rely on data being present to do anything useful, it is highly recommended that you have testing infrastructure that can repopulate testnet with useful data after a reset. Not only will this make testing more reliable, but it will also help you scale out your testing infrastructure to a private test network if you choose to do so.
As a maintainer of an application, you will want to think about creating a data set that is representative enough to test your primary use cases, and allow for robust testing even when testnet is not available.
For additional questions we recommend heading over to Stellar’s Stack Exchange.