Fix doc typos (#1137)

* Fix typos

* Wrap lines
This commit is contained in:
Tyera Eulberg 2021-01-27 00:36:09 -07:00 committed by GitHub
parent 1f9bbfd20e
commit 682e914c90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 3 deletions

View File

@ -7,8 +7,22 @@ the user's wallet address to the associated token accounts they hold.
## Motivation
- A user may own arbitarily many token accounts belonging to the same mint which makes it difficult for other users to know which account they should send tokens to and introduces friction into many other aspects of token management. This program introduces a way to _deterministically_ derive a token account key from a user's main System account address and a token mint address, allowing the user to create a main token account for each token he owns. We call these accounts _Associated Token Accounts_.
- In addition, it allows a user to send tokens to another user even if the beneficiary does not yet have a token account for that mint. Unlike a system transfer, for a token transfer to succeed the recipient must have a token account with the compatible mint already, and somebody needs to fund that token account. If the recipient must fund it first, it makes things like airdrop campaigns difficult and just generally increases the friction of token transfers. AToken allows the sender to create the associated token account for the receiver, so the token transfer just works.
- A user may own arbitrarily many token accounts belonging to the same mint
which makes it difficult for other users to know which account they should send
tokens to and introduces friction into many other aspects of token management.
This program introduces a way to _deterministically_ derive a token account key
from a user's main System account address and a token mint address, allowing the
user to create a main token account for each token he owns. We call these
accounts _Associated Token Accounts_.
- In addition, it allows a user to send tokens to another user even if the
beneficiary does not yet have a token account for that mint. Unlike a system
transfer, for a token transfer to succeed the recipient must have a token
account with the compatible mint already, and somebody needs to fund that token
account. If the recipient must fund it first, it makes things like airdrop
campaigns difficult and just generally increases the friction of token
transfers. AToken allows the sender to create the associated token account for
the receiver, so the token transfer just works.
See the [SPL Token](token.md) program for more information about tokens in
general.

View File

@ -337,7 +337,7 @@ Creating 2/3 multisig 46ed77fd4WTN144q62BwjU2B3ogX3Xmmc8PT5Z3Xc2re
Signature: 2FN4KXnczAz33SAxwsuevqrD1BvikP6LUhLie5Lz4ETt594X8R7yvMZzZW2zjmFLPsLQNHsRuhQeumExHbnUGC9A
```
Next create the token mint and recieving accounts
Next create the token mint and receiving accounts
[as previously described](#example-creating-your-own-fungible-token)
```
$ spl-token create-token