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

Commit c4391c1

Browse files
authored
Mention the packages to use for web3.js version 2. (#7417)
1 parent 3bc9dd7 commit c4391c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

token/js/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
A TypeScript library for interacting with the SPL Token and Token-2022 programs.
44

5+
> [!IMPORTANT]
6+
> If you are using [@solana/web3.js version 2](https://github.com/solana-labs/solana-web3.js/?tab=readme-ov-file#whats-new-in-version-20)
7+
> , you should use the `@solana-program/token` and `@solana-program/token-2022`
8+
> packages instead.
9+
510
## Links
611

712
- [TypeScript Docs](https://solana-labs.github.io/solana-program-library/token/js/)

0 commit comments

Comments
 (0)