You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/src/associated-token-account.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,13 @@ The Associated Token Account Program is written in Rust and available on
34
34
The associated token account for a given wallet address is simply a
35
35
program-derived account consisting of the wallet address itself and the token mint.
36
36
37
-
The [get_associated_token_address](https://github.com/solana-labs/solana-program-library/blob/associated-token-account-v1.0.0/associated-token-account/program/src/lib.rs#L35)
37
+
The [get_associated_token_address](https://docs.rs/spl-associated-token-account/latest/spl_associated_token_account/fn.get_associated_token_address.html)
38
38
Rust function may be used by clients to derive the wallet's associated token address.
39
39
40
40
41
41
The associated account address can be derived in Javascript with:
@@ -69,7 +69,7 @@ async function findAssociatedTokenAddress(
69
69
70
70
If the associated token account for a given wallet address does not yet exist,
71
71
it may be created by *anybody* by issuing a transaction containing the
72
-
instruction return by [create_associated_token_account](https://github.com/solana-labs/solana-program-library/blob/associated-token-account-v1.0.0/associated-token-account/program/src/lib.rs#L54).
72
+
instruction return by [create_associated_token_account](https://docs.rs/spl-associated-token-account/latest/spl_associated_token_account/fn.create_associated_token_account.html).
73
73
74
74
Regardless of creator the new associated token account will be fully owned by
75
75
the wallet, as if the wallet itself had created it.
0 commit comments