|
| 1 | +--- |
| 2 | +title: "Stellar Networks" |
| 3 | +description: "Passphrase, RPC endpoints, Friendbot, reset cadence, and Wraith contract IDs for every Stellar network" |
| 4 | +keywords: "Stellar, testnet, mainnet, futurenet, soroban, passphrase, RPC, friendbot, contract IDs, network" |
| 5 | +--- |
| 6 | + |
| 7 | +Quick reference for every Stellar network supported by Wraith Protocol — what each one is for, how to connect to it, and which contract addresses to use. |
| 8 | + |
| 9 | +## Network overview |
| 10 | + |
| 11 | +| Network | Purpose | Wraith contracts | Friendbot | |
| 12 | +|---|---|---|---| |
| 13 | +| [Testnet](#testnet) | Development and integration testing | Live | ✓ | |
| 14 | +| [Futurenet](#futurenet) | Experimental Soroban preview features | Not deployed | ✓ | |
| 15 | +| [Mainnet](#mainnet) | Production | Pending mainnet launch | ✗ | |
| 16 | + |
| 17 | +--- |
| 18 | + |
| 19 | +## Testnet |
| 20 | + |
| 21 | +The SDF-operated Stellar testnet. This is where Wraith contracts are deployed today |
| 22 | +and where you should build and test integrations. |
| 23 | + |
| 24 | +<Warning> |
| 25 | + The testnet is reset **approximately every quarter**. All accounts, balances, and |
| 26 | + contract state are wiped on reset. Watch |
| 27 | + [status.stellar.org](https://status.stellar.org) and the `#stellar-dev` |
| 28 | + channel for reset announcements. |
| 29 | +</Warning> |
| 30 | + |
| 31 | +### Connection details |
| 32 | + |
| 33 | +| Property | Value | |
| 34 | +|---|---| |
| 35 | +| Network passphrase | `Test SDF Network ; September 2015` | |
| 36 | +| Horizon URL | `https://horizon-testnet.stellar.org` | |
| 37 | +| Soroban RPC URL | `https://soroban-testnet.stellar.org` | |
| 38 | +| Friendbot URL | `https://friendbot.stellar.org?addr=<G_ADDRESS>` | |
| 39 | + |
| 40 | +### Friendbot — fund a testnet account |
| 41 | + |
| 42 | +New accounts need at least 1 XLM to activate. Friendbot hands out 10,000 XLM for free: |
| 43 | + |
| 44 | +```bash |
| 45 | +# Fund via curl |
| 46 | +curl "https://friendbot.stellar.org?addr=GABC...YOURADDRESS" |
| 47 | +``` |
| 48 | + |
| 49 | +```typescript |
| 50 | +// Fund via the Stellar SDK |
| 51 | +import { Server } from "@stellar/stellar-sdk/rpc"; |
| 52 | + |
| 53 | +const server = new Server("https://soroban-testnet.stellar.org"); |
| 54 | +await fetch(`https://friendbot.stellar.org?addr=${keypair.publicKey()}`); |
| 55 | +``` |
| 56 | + |
| 57 | +<Note> |
| 58 | + Friendbot is only available on testnet and Futurenet. On mainnet you must fund |
| 59 | + accounts yourself with real XLM. |
| 60 | +</Note> |
| 61 | + |
| 62 | +### Wraith contract IDs |
| 63 | + |
| 64 | +<!-- Last verified: 2026-07-29. Re-run `npm run generate:stellar-reference` to refresh from bindings. --> |
| 65 | + |
| 66 | +| Contract | Testnet address | Version | |
| 67 | +|---|---|---| |
| 68 | +| `stealth-announcer` | `CCJLJ2QRBJAAKIG6ELNQVXLLWMKKWVN5O2FKWUETHZGMPAD4MHK7WVWL` | v2 | |
| 69 | +| `stealth-registry` | `CPLACEHOLDER_REGISTRY_TESTNET` | v1 | |
| 70 | +| `stealth-sender` | `CPLACEHOLDER_SENDER_TESTNET` | v1 | |
| 71 | +| `wraith-names` | `CDEMB3MAE62ZOCCKZPTYSXR5CS5WVENPOU5MDVK4PNKTZXFVDC74AFBV` | v1 | |
| 72 | + |
| 73 | +<Note> |
| 74 | + `stealth-registry` and `stealth-sender` addresses are pending deployment. |
| 75 | + Track progress in `contracts/stellar/MAINNET_READINESS.md` in the contracts repo. |
| 76 | + The `stealth-announcer` and `wraith-names` addresses above are live and sourced |
| 77 | + from `getDeployment("stellar")` in the SDK. |
| 78 | +</Note> |
| 79 | + |
| 80 | +### Connecting with the SDK |
| 81 | + |
| 82 | +```typescript |
| 83 | +import { getDeployment } from "@wraith-protocol/sdk/chains/stellar"; |
| 84 | +import { Server } from "@stellar/stellar-sdk/rpc"; |
| 85 | +import { Horizon } from "@stellar/stellar-sdk"; |
| 86 | + |
| 87 | +const deployment = getDeployment("stellar"); |
| 88 | +// { |
| 89 | +// network: "testnet", |
| 90 | +// networkPassphrase: "Test SDF Network ; September 2015", |
| 91 | +// horizonUrl: "https://horizon-testnet.stellar.org", |
| 92 | +// sorobanUrl: "https://soroban-testnet.stellar.org", |
| 93 | +// contracts: { |
| 94 | +// announcer: "CCJLJ2QRBJAAKIG6ELNQVXLLWMKKWVN5O2FKWUETHZGMPAD4MHK7WVWL", |
| 95 | +// names: "CDEMB3MAE62ZOCCKZPTYSXR5CS5WVENPOU5MDVK4PNKTZXFVDC74AFBV", |
| 96 | +// }, |
| 97 | +// } |
| 98 | + |
| 99 | +const soroban = new Server(deployment.sorobanUrl); |
| 100 | +const horizon = new Horizon.Server(deployment.horizonUrl); |
| 101 | +``` |
| 102 | +
|
| 103 | +### Environment variables |
| 104 | +
|
| 105 | +Copy this block into your `.env` when targeting testnet: |
| 106 | +
|
| 107 | +```bash |
| 108 | +STELLAR_NETWORK=testnet |
| 109 | +STELLAR_NETWORK_PASSPHRASE="Test SDF Network ; September 2015" |
| 110 | +STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org |
| 111 | +STELLAR_RPC_URL=https://soroban-testnet.stellar.org |
| 112 | +STELLAR_ANNOUNCER_CONTRACT_ID=CCJLJ2QRBJAAKIG6ELNQVXLLWMKKWVN5O2FKWUETHZGMPAD4MHK7WVWL |
| 113 | +STELLAR_NAMES_CONTRACT_ID=CDEMB3MAE62ZOCCKZPTYSXR5CS5WVENPOU5MDVK4PNKTZXFVDC74AFBV |
| 114 | +# STELLAR_REGISTRY_CONTRACT_ID — pending deployment |
| 115 | +# STELLAR_SENDER_CONTRACT_ID — pending deployment |
| 116 | +``` |
| 117 | +
|
| 118 | +--- |
| 119 | +
|
| 120 | +## Futurenet |
| 121 | +
|
| 122 | +The SDF's preview network for upcoming Soroban features. **Wraith contracts are not |
| 123 | +deployed on Futurenet.** Use it only if you are building against unreleased Soroban |
| 124 | +capabilities or testing SDK changes that require a bleeding-edge node. |
| 125 | +
|
| 126 | +<Warning> |
| 127 | + Futurenet can reset at any time without notice and runs protocol versions that |
| 128 | + are not yet production-stable. Do not use it for integration testing. |
| 129 | +</Warning> |
| 130 | +
|
| 131 | +### Connection details |
| 132 | +
|
| 133 | +| Property | Value | |
| 134 | +|---|---| |
| 135 | +| Network passphrase | `Test SDF Future Network ; October 2022` | |
| 136 | +| Soroban RPC URL | `https://rpc-futurenet.stellar.org` | |
| 137 | +| Friendbot URL | `https://friendbot-futurenet.stellar.org?addr=<G_ADDRESS>` | |
| 138 | + |
| 139 | +### Connecting with the SDK |
| 140 | + |
| 141 | +```typescript |
| 142 | +import { Server } from "@stellar/stellar-sdk/rpc"; |
| 143 | +import { Networks } from "@stellar/stellar-sdk"; |
| 144 | +
|
| 145 | +const FUTURENET_RPC = "https://rpc-futurenet.stellar.org"; |
| 146 | +const FUTURENET_PASSPHRASE = "Test SDF Future Network ; October 2022"; |
| 147 | +
|
| 148 | +const soroban = new Server(FUTURENET_RPC); |
| 149 | +``` |
| 150 | + |
| 151 | +<Note> |
| 152 | + `getDeployment("futurenet")` returns RPC and passphrase details but no Wraith |
| 153 | + contract addresses, because contracts are not deployed there. |
| 154 | +</Note> |
| 155 | + |
| 156 | +--- |
| 157 | + |
| 158 | +## Mainnet |
| 159 | + |
| 160 | +The Stellar public network. **Wraith contracts are not yet deployed on mainnet.** |
| 161 | +Contract addresses will be published here and in `contracts/stellar/MAINNET_READINESS.md` |
| 162 | +once the mainnet deployment is complete. |
| 163 | + |
| 164 | +<Warning> |
| 165 | + All contract addresses below are **placeholder values** (`CPLACEHOLDER…`). |
| 166 | + Do not use these in production. Subscribe to the `#announcements` channel for |
| 167 | + the mainnet launch notification. |
| 168 | +</Warning> |
| 169 | + |
| 170 | +### Connection details |
| 171 | + |
| 172 | +| Property | Value | |
| 173 | +|---|---| |
| 174 | +| Network passphrase | `Public Global Stellar Network ; September 2015` | |
| 175 | +| Horizon URL | `https://horizon.stellar.org` | |
| 176 | +| Soroban RPC | Provider-dependent (see below) | |
| 177 | +| Friendbot | Not available | |
| 178 | + |
| 179 | +### Soroban RPC providers for mainnet |
| 180 | + |
| 181 | +The SDF does not operate a public Soroban RPC endpoint for mainnet. Choose a provider: |
| 182 | + |
| 183 | +| Provider | Endpoint | Free tier | Notes | |
| 184 | +|---|---|---|---| |
| 185 | +| Validation Cloud | `https://mainnet.stellar.validationcloud.io/v1/<API_KEY>` | Yes | Recommended for production | |
| 186 | +| QuickNode | `https://<slug>.stellar-mainnet.quiknode.pro/<API_KEY>` | No | High-volume workloads | |
| 187 | +| Ankr | `https://rpc.ankr.com/stellar_soroban` | Yes | Budget option | |
| 188 | +| Self-hosted | `http://localhost:8000` | N/A | Best for validators | |
| 189 | + |
| 190 | +See [Stellar Mainnet Deployment](/guides/stellar-mainnet-deployment) for RPC rate limits, |
| 191 | +failover configuration, and retention window guidance. |
| 192 | + |
| 193 | +### Wraith contract IDs (pending) |
| 194 | + |
| 195 | +| Contract | Mainnet address | Version | |
| 196 | +|---|---|---| |
| 197 | +| `stealth-announcer` | `CPLACEHOLDER_ANNOUNCER_MAINNET` | v2 | |
| 198 | +| `stealth-registry` | `CPLACEHOLDER_REGISTRY_MAINNET` | v1 | |
| 199 | +| `stealth-sender` | `CPLACEHOLDER_SENDER_MAINNET` | v1 | |
| 200 | +| `wraith-names` | `CPLACEHOLDER_NAMES_MAINNET` | v1 | |
| 201 | + |
| 202 | +### Environment variables |
| 203 | + |
| 204 | +```bash |
| 205 | +STELLAR_NETWORK=mainnet |
| 206 | +STELLAR_NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015" |
| 207 | +STELLAR_HORIZON_URL=https://horizon.stellar.org |
| 208 | +STELLAR_RPC_URL=https://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY> |
| 209 | +# Contract IDs will be published here on mainnet launch |
| 210 | +``` |
| 211 | + |
| 212 | +--- |
| 213 | + |
| 214 | +## Quick comparison |
| 215 | + |
| 216 | +| | Testnet | Futurenet | Mainnet | |
| 217 | +|---|---|---|---| |
| 218 | +| Passphrase | `Test SDF Network ; September 2015` | `Test SDF Future Network ; October 2022` | `Public Global Stellar Network ; September 2015` | |
| 219 | +| Horizon | `https://horizon-testnet.stellar.org` | — | `https://horizon.stellar.org` | |
| 220 | +| Soroban RPC | `https://soroban-testnet.stellar.org` | `https://rpc-futurenet.stellar.org` | Provider (see above) | |
| 221 | +| Friendbot | `https://friendbot.stellar.org` | `https://friendbot-futurenet.stellar.org` | Not available | |
| 222 | +| Reset cadence | \~quarterly | On demand | Never | |
| 223 | +| Wraith contracts | Live | Not deployed | Pending | |
| 224 | +| Real value | No | No | Yes | |
| 225 | + |
| 226 | +--- |
| 227 | + |
| 228 | +## Related resources |
| 229 | + |
| 230 | +<CardGroup cols={2}> |
| 231 | + <Card title="Stellar Contracts Reference" href="/contracts/stellar" icon="file-code"> |
| 232 | + Full interface specs for stealth-announcer, stealth-registry, stealth-sender, and wraith-names |
| 233 | + </Card> |
| 234 | + <Card title="Stellar Mainnet Deployment" href="/guides/stellar-mainnet-deployment" icon="server"> |
| 235 | + Operator guide: RPC providers, monitoring, upgrade governance, incident runbooks |
| 236 | + </Card> |
| 237 | + <Card title="Stellar Quickstart" href="/guides/stellar-quickstart" icon="bolt"> |
| 238 | + Create an agent, fund it on testnet, and send your first stealth payment |
| 239 | + </Card> |
| 240 | + <Card title="Stellar Event Schemas (v2)" href="/reference/stellar-event-schemas" icon="list"> |
| 241 | + Soroban announcement event topics and view-tag filtering |
| 242 | + </Card> |
| 243 | +</CardGroup> |
0 commit comments