JavaScript client for the Token 2022 program
npm install @solana-program/token-2022A generated JavaScript library for the Token 2022 program.
To build and test your JavaScript client from the root of the repository, you
may use the following command.
``sh`
make test-js-clients-js
This will start a new local validator, if one is not already running, and run
the tests for your JavaScript client.
Alternatively, you can go into the client directory and run the tests directly.
`shBuild your programs and start the validator.
make build-sbf-program
make build-sbf-confidential-elgamal-registry
make restart-test-validator
You may also use the following scripts to lint and/or format your JavaScript client.
`sh
make lint-js-clients-js
make format-check-js-clients-js
``