solana-program-library/token/js
Jon Cinque c4f10d8d53
token-js: Throw if using token-2022 instructions with tokenkeg (#3296)
* token-js: Throw if using token-2022 instructions with tokenkeg

* Fixup updated params
2022-06-29 13:39:30 -04:00
..
examples move ts to js 2022-02-15 16:33:36 -06:00
src token-js: Throw if using token-2022 instructions with tokenkeg (#3296) 2022-06-29 13:39:30 -04:00
test token-js: Throw if using token-2022 instructions with tokenkeg (#3296) 2022-06-29 13:39:30 -04:00
.editorconfig move ts to js 2022-02-15 16:33:36 -06:00
.eslintignore move ts to js 2022-02-15 16:33:36 -06:00
.eslintrc.json move ts to js 2022-02-15 16:33:36 -06:00
.gitignore move ts to js 2022-02-15 16:33:36 -06:00
.mocharc.json increase mocha timeout 2022-02-15 16:33:36 -06:00
.nojekyll move ts to js 2022-02-15 16:33:36 -06:00
.prettierignore Port e2e tests to mocha 2022-02-15 16:33:36 -06:00
.prettierrc move ts to js 2022-02-15 16:33:36 -06:00
FAQ.md move ts to js 2022-02-15 16:33:36 -06:00
LICENSE move ts to js 2022-02-15 16:33:36 -06:00
README.md token-js: Clarify how to run tests (#3269) 2022-06-17 19:32:25 -04:00
package.json token-js: Clarify how to run tests (#3269) 2022-06-17 19:32:25 -04:00
tsconfig.cjs.json move ts to js 2022-02-15 16:33:36 -06:00
tsconfig.json move ts to js 2022-02-15 16:33:36 -06:00
yarn.lock token-js: Add memo transfer support (#3257) 2022-06-16 11:32:28 -04:00

README.md

@solana/spl-token

A TypeScript library for interacting with the SPL Token program.

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