Skip to content

Commit f996e90

Browse files
committed
fix(docs/tokens/basics): clarify two approaches of creating token accounts
1 parent ae34998 commit f996e90

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

apps/web/content/docs/en/tokens/basics/create-token-account.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ account tracks:
5252
1. **Mint**: The specific token type it holds
5353
2. **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

135140
Creating a token account requires the
136141
[`InitializeAccount`](https://github.com/solana-program/token/blob/a7c488ca39ed4cd71a87950ed854929816e9099f/program/src/instruction.rs#L63)

0 commit comments

Comments
 (0)