SPL Token Swap JavaScript API
npm install @solana/spl-token-swapThe Token-swap JavaScript library comprises:
* A library to interact with the on-chain program
* A test client that exercises the program
* Scripts to facilitate building the program
First fetch the npm dependencies, including @solana/web3.js, by running:
``sh`
$ npm install
`sh`
$ npm run build:program
`sh``
$ npm run start-with-test-validator