File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
apps/web/content/docs/en/tokens/basics Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ account tracks:
52521 . ** Mint** : The specific token type it holds
53532 . ** Owner** : The authority who can transfer tokens from this account
5454
55+ There are two approaches to creating token accounts:
56+
57+ 1 . Create the account from scratch (we use a keypair in the example below)
58+ 2 . Create an associated token account (ATA) with a deterministic address
59+
5560### Example: USD Coin (USDC)
5661
5762- Mint address: ` EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v `
@@ -130,7 +135,7 @@ The resulting token accounts are owned by the Token Program and use the standard
130135
131136</Callout >
132137
133- ## How to Create a Token Account
138+ ## How to Create a Token Account with a Keypair
134139
135140Creating a token account requires the
136141[ ` InitializeAccount ` ] ( https://github.com/solana-program/token/blob/a7c488ca39ed4cd71a87950ed854929816e9099f/program/src/instruction.rs#L63 )
You can’t perform that action at this time.
0 commit comments