Get in touch

Independent SEP-30 recovery service

Let users lose their phone, not their funds.

Stellar Key Recovery is an independent SEP-30 recovery service. Plug it into your wallet and your users can get back into their accounts by authenticating with SEP-10, SEP-45, email or phone, without you or us ever holding their keys.

Built for wallet teams

Standard Authorization and SEP-30 endpoints
SEP-30 account recovery, authorized with SEP-10, SEP-45, email or phone.
Non-custodial by design
We hold one signer, never the user's keys. We can't move funds on our own.
Testnet environment available
Integrate and test against a full testnet setup before launching.
MCP server for AI assistants
Your coding assistant can read our guides and API spec, and check requests before you send them. Connect it

Why a second, independent server

SEP-30 recovery is only as trustworthy as the separation between signers. If you run both recovery servers, you effectively hold the keys. We run the second signer on separate infrastructure, under a separate operator, so no single party can take over a user's account. That includes you, and it includes us.

Recovery server A
Your wallet
Holds signer A
User
account
Recovery server B
Stellar Key Recovery
Holds signer B
Separate infrastructure. Separate operators. Both signatures are needed to add a new device key.
Authorizations

Ways users can authorize

Available
SEP-10
Stellar web authentication for accounts (G...).
Available
SEP-45
Stellar web authentication for contract accounts (C...).
Available
Email
Email address verified during registration. Recovery codes prefunded using x402.
Available
Phone
Phone number verified during registration. Recovery codes prefunded using x402.

How registering and recovering work

Your wallet registers the user's account and its identities with us, and adds our signer to the account beside yours. To recover, the user authorizes as one of the identities, and we sign the transaction that adds their new key. Phone numbers and emails are confirmed with a code before they're registered.

Specific to the method The same for every method
SEP-10 With a Stellar account (G...)
Register
  1. Log in as the owner Your wallet signs a SEP-10 challenge for the user's account. GET, POST /v1/auth/sep10
  2. Register the Stellar account List a Stellar account (G...) as an identity: another of the user's, or someone they trust. It proves itself with SEP-10, so there is nothing to confirm. POST /v1/accounts/{address}
  3. Add our signer Add the signer in our response to the account, beside your own.
Recover
  1. Log in as the Stellar account The user signs a SEP-10 challenge with the account listed as their identity. GET, POST /v1/auth/sep10
  2. Request our signature Send the transaction that adds the user's new key, and we sign it. POST /v1/accounts/{address}/sign/{signing_address}
  3. Submit it Add your own signature and submit the transaction: the user has a new key.
SEP-45 With a contract account (C...)
Register
  1. Log in as the owner Your wallet signs a SEP-10 challenge for the user's account. GET, POST /v1/auth/sep10
  2. Register the contract account List a contract account (C...) as an identity, such as the user's smart wallet. It proves itself with SEP-45, so there is nothing to confirm. POST /v1/accounts/{address}
  3. Add our signer Add the signer in our response to the account, beside your own.
Recover
  1. Log in as the contract account The contract account authorizes a SEP-45 challenge, and we check it by simulating the call on the network. GET, POST /v1/auth/sep45
  2. Request our signature Send the transaction that adds the user's new key, and we sign it. POST /v1/accounts/{address}/sign/{signing_address}
  3. Submit it Add your own signature and submit the transaction: the user has a new key.
Email With a code sent to an email address
Register
  1. Buy codes Pay for codes for the email address with x402, in XLM or USDC: one to confirm it, the rest for recoveries. POST /v1/auth/email/codes
  2. Confirm the email address We send a code by email. The user enters it, and your wallet gets a token for the email address. POST /v1/auth/emailPOST /v1/auth/email/verify
  3. Log in as the owner Your wallet signs a SEP-10 challenge for the user's account. GET, POST /v1/auth/sep10
  4. Register the email address List the email address as an identity, with its token. Without the token, it is refused. POST /v1/accounts/{address}
  5. Add our signer Add the signer in our response to the account, beside your own.
Recover
  1. Request a code We send one of the email address's prepaid codes by email. If none are left, anyone can buy more. POST /v1/auth/email
  2. Verify it The user enters the code, and your wallet gets a token. POST /v1/auth/email/verify
  3. Request our signature Send the transaction that adds the user's new key, and we sign it. POST /v1/accounts/{address}/sign/{signing_address}
  4. Submit it Add your own signature and submit the transaction: the user has a new key.
Phone With a code sent by SMS to a phone number
Register
  1. Buy codes Pay for codes for the phone number with x402, in XLM or USDC: one to confirm it, the rest for recoveries. POST /v1/auth/phone/codes
  2. Confirm the phone number We send a code by SMS. The user enters it, and your wallet gets a token for the phone number. POST /v1/auth/phonePOST /v1/auth/phone/verify
  3. Log in as the owner Your wallet signs a SEP-10 challenge for the user's account. GET, POST /v1/auth/sep10
  4. Register the phone number List the phone number as an identity, with its token. Without the token, it is refused. POST /v1/accounts/{address}
  5. Add our signer Add the signer in our response to the account, beside your own.
Recover
  1. Request a code We send one of the phone number's prepaid codes by SMS. If none are left, anyone can buy more. POST /v1/auth/phone
  2. Verify it The user enters the code, and your wallet gets a token. POST /v1/auth/phone/verify
  3. Request our signature Send the transaction that adds the user's new key, and we sign it. POST /v1/accounts/{address}/sign/{signing_address}
  4. Submit it Add your own signature and submit the transaction: the user has a new key.
AI assistants

Integrate with your AI assistant

Our MCP server gives your coding assistant what it needs to integrate with us, and checks what your wallet sends before it sends it. It only reads, and needs no account.

Ask about the API
Guides to logging in, registering, paying for codes and recovering, every endpoint of the API, and each network's settings.
Check before you send
Give it a signed SEP-10 challenge, SEP-45 authorization entries or a transaction to sign, and it tells you which of our checks fails and why.
Keep secrets out
It never needs secret keys, tokens, phone numbers or emails, so never give them to it.
Pubnethttps://stellar-key-recovery.com/mcp
Testnethttps://testnet.stellar-key-recovery.com/mcp

Add the URL to your assistant as a remote MCP server (HTTP). For example, in Claude Code:

claude mcp add --transport http stellar-key-recovery https://stellar-key-recovery.com/mcp

Ensure your users never lose access to their funds

Read the API docs