Skip to main content

Account

Create Account Keypair

Lab: Create Account

From the Lab’s top navigation, click on the "Account" link. You will land on the "Create Account Keypair" page, where you can generate a keypair by following these steps:

  1. Make sure you are on the Stellar network for which you want to generate the keypair. You can see the current network in the upper right corner of the page. Click on dropdown to change the network (don’t forget to provide any necessary information). We will use Testnet network for this example.
  2. Click the "Generate keypair" button to create public and secret keys for an account. Save them someplace safe, even if they are used only for testing.
warning

Anyone with the account’s secret key has full access and control over the account. Keep the secret key safe.

  1. An account is active only once it is funded. You can use Friendbot to fund it on Testnet and Futurenet networks only. Click on the "Fund account with Friendbot" button to add 10,000 XLM to the account. When the operation completes, a message will be displayed at the bottom.
info

The Friendbot can be used for new account or accounts with balance under a starting balance of 10,000 XLM. Click the "Fund account with Friendbot" button again to see what happens. It’s the Lab, so feel free to experiment (as long as you are on Testnet or Futurenet network)!

Fund Account

Lab: Fund Account

If you already have a keypair you want to fund, go to the "Fund Account" page.

  1. If you have generated a keypair on the "Create Account Keypair" page, you can use its public key by clicking the "Fill in the generated key" button. The button will be disabled if there is no keypair.
  2. You can always manually input a public key.
  3. Once you enter the public key, click the "Get lumens" button to fund the account with 10,000 XLM on the Testnet or Futurenet network.
  4. You will see a response message once the operation is completed.
info

You can also create an account using a Stellar SDK. Follow a guide here.