A TypeScript library for interacting with the SPL Token program.
yarn add @solana/spl-token
- Clone the project:
git clone https://github.com/solana-labs/solana-program-library.git
- Navigate to the library:
cd solana-program-library/token/js
- Install the dependencies:
yarn install
- Build the library:
yarn build
- Build the on-chain programs:
yarn test:build-programs
- Run the tests:
yarn test
- Run the example:
yarn example