> ## Documentation Index
> Fetch the complete documentation index at: https://docs.madra.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Supported Networks

> Stellar networks StellarX402 supports and their canonical identifiers.

## Networks

| CAIP-2 identifier | Common name     | Use                                   |
| ----------------- | --------------- | ------------------------------------- |
| `stellar:testnet` | Stellar Testnet | Development, integration testing, CI. |
| `stellar:pubnet`  | Stellar Mainnet | Production.                           |

## Public Soroban RPC endpoints

The values below are commonly used defaults. Operators should confirm current URLs with the network operator before deploying to production.

| Network           | RPC URL                               |
| ----------------- | ------------------------------------- |
| `stellar:testnet` | `https://soroban-testnet.stellar.org` |
| `stellar:pubnet`  | `https://mainnet-soroban.stellar.org` |

Operators typically configure two providers (primary + fallback). See [Deploying to Mainnet](/guides/operators/deploying-to-mainnet).

## Testnet resets

Stellar Testnet is periodically reset. When it happens:

* All testnet accounts are wiped.
* Testnet USDC balances go to zero.
* Bazaar listings tied to a reset payTo drop out of ranking within the delist window.

Do not depend on testnet state persisting across the announced reset schedule.

## Choosing a network in code

```typescript theme={null}
// Seller
requirePayment({ network: process.env.NETWORK, ... });

// Buyer
fetchWithPayment(url, { wallet, facilitator, network: "stellar:pubnet" });
```

Both `PaymentRequirements` and the signed `PaymentPayload` must agree on the network, or `/verify` returns `network_mismatch`.
