Skip to content

Latest commit

 

History

History
 
 

@solana/spl-token

A TypeScript library for interacting with the SPL Token program.

Links

Install

yarn add @solana/spl-token

Build from Source

  1. Clone the project:
git clone https://github.com/solana-labs/solana-program-library.git
  1. Navigate to the library:
cd solana-program-library/token/js
  1. Install the dependencies:
yarn install
  1. Build the library:
yarn build
  1. Build the on-chain programs:
yarn test:build-programs
  1. Run the tests:
yarn test
  1. Run the example:
yarn example