diff --git a/docs/src/associated-token-account.md b/docs/src/associated-token-account.md index 48a61e5b..9f494297 100644 --- a/docs/src/associated-token-account.md +++ b/docs/src/associated-token-account.md @@ -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. diff --git a/docs/src/token.md b/docs/src/token.md index 9379dc50..cc81e7f5 100644 --- a/docs/src/token.md +++ b/docs/src/token.md @@ -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