Skip to main content

Keypairs

important

You can only save keypairs on test networks—never on Mainnet—and you should never reuse Mainnet keypairs on test networks or share your secret keys with anyone.

Overview

Lab: Saved Keypairs

This page shows you saved keypairs for the selected network (only Testnet and Futurenet) in the browser's local storage. Every keypair has the following:

  1. Name - makes it easy to find the keypair you're looking for. You can update the name anytime by clicking the edit button and saving the new name.
  2. Public key - the public account address. You can quickly copy it with a click of a button.
  3. Secret key - the secret key of the account. Click the Eye button to toggle between masked and clear text format. Like the Public key, you can copy it by clicking the Copy button.
  4. Recovery phrase - the 12 or 24-word passphrase. Click the Eye button to toggle between masked and clear text format. Like the Public key, you can copy it by clicking the Copy button.
  5. Delete button - click this button to delete the keypair.
  6. Delete the saved keypair if it's no longer needed.
  7. The last saved date and time.
  8. XLM balance if the account is funded.
  9. If the account is unfunded, you can get 10,000 XLM by clicking the "Fund with Friendbot" button. This might be useful after the Testnet or Futurenet reset, as all your saved accounts will also be reset.

Manually save keypair

To add a keypair manually, click the "Add keypair manually" button located in the top right corner of the screen. This will open a modal where you can enter a name for your keypair along with the Stellar secret key (which begins with the letter "S") or recovery passphrase (a 12 or 24-word phrase).

Lab: Add keypair manually

Using saved keypairs

Saved keypairs make it easy to work with Stellar accounts and sign transactions. When building a transaction, click the "Get address" button in the Source Account input and choose your desired account from the dropdown.

Lab: Use saved public key

When it's time to sign, head to the Signatures section on the Sign Transaction page. If you don't see it, import your transaction XDR first. Then click "Use secret key" in the "Sign with secret key" section and select the account key you'd like to use.

Lab: Use saved secret key