Skip to content

Commit

Permalink
Mention the packages to use for web3.js version 2. (#7417)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana authored Oct 30, 2024
1 parent 3bc9dd7 commit c4391c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions token/js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

> [!IMPORTANT]
> 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)
> , you should use the `@solana-program/token` and `@solana-program/token-2022`
> packages instead.
## Links

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

0 comments on commit c4391c1

Please sign in to comment.