The SDK reads the key’s prefix and calls the right API, so your code does not change. Each
environment has its own dashboard and its own accounts: test keys come from the sandbox dashboard,
live keys from the production one.
Paying in the sandbox
Payments are real testnet transactions. New to Stellar accounts and Friendbot? Stellar basics covers them in five minutes. To pay a funding intent:- Create a testnet account in Stellar Lab and fund it with Friendbot, which gives you free testnet XLM.
- Open the intent’s
hosted_funding_url, or send the amount infunding_instructionsto its deposit address from that account.
useroutr.assets.list().
Your destination account must exist on testnet too, and hold a trustline for any issued asset you
ask to receive.
Going live
- Sign up at dashboard.useroutr.com and create a
ur_live_key there. Sandbox accounts do not carry over. - Set a mainnet destination account in Settings.
- Point your webhook endpoints at production and store their new secrets.
- Swap the key in your server’s environment.