Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit edc67a2

Browse files
committed
Update doc links
1 parent 05bc5fb commit edc67a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/associated-token-account.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ The Associated Token Account Program is written in Rust and available on
3434
The associated token account for a given wallet address is simply a
3535
program-derived account consisting of the wallet address itself and the token mint.
3636

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)
3838
Rust function may be used by clients to derive the wallet's associated token address.
3939

4040

4141
The associated account address can be derived in Javascript with:
4242
```js
43-
import {PublicKey, PublicKeyNonce} from '@solana/web3.js';
43+
import {PublicKey} from '@solana/web3.js';
4444

4545
const SPL_TOKEN_PROGRAM_ID: PublicKey = new PublicKey(
4646
'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA',
@@ -69,7 +69,7 @@ async function findAssociatedTokenAddress(
6969

7070
If the associated token account for a given wallet address does not yet exist,
7171
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).
7373

7474
Regardless of creator the new associated token account will be fully owned by
7575
the wallet, as if the wallet itself had created it.

0 commit comments

Comments
 (0)