Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit e5a5038

Browse files
committed
Clean up discussion about getting an account ID from a KeyPair instead of a public key.
1 parent 58b3013 commit e5a5038

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

learn/get-started/create-account.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ func main() {
6767

6868
</code-example>
6969

70-
[TODO: should this only show if viewing the SDK examples?]
71-
You might notice that, in the SDK, you are asked for the *account ID* instead of the public key. That’s because an account’s ID *is* its public key.
72-
[TODO: Explain why this is the case—the distinction here just sounds like a mistake.]
70+
You might notice that, in the SDK, you call `pair.accountId()` instead of something like `pair.publicKey()`. That’s because an account’s ID *is* its public key.
7371

7472
Now that you have a pair of keys, you can make an account. In order to prevent people from making a huge number of unnecessary accounts, each account must have a minimum balance of 20 lumens (lumens are the built-in currency of the Stellar network).[^1] Since you don’t yet have any lumens, though, you can’t pay for an account! In the real world, you’ll usually pay an exchange that sells lumens in order to create a new account.[^2] On Stellar’s test network, however, you can ask Friendbot, our friendly robot with a very fat wallet, to create an account for you.
7573

0 commit comments

Comments
 (0)