* CI: Add `--max-warnings 0` to eslint to abort on errors * Fix lint issue |
||
---|---|---|
.. | ||
src | ||
test | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc.yaml | ||
README.md | ||
package-lock.json | ||
package.json | ||
tsconfig.cjs.json | ||
tsconfig.json |
README.md
Token-swap JavaScript API
The 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
Getting Started
First fetch the npm dependencies, including @solana/web3.js
, by running:
$ npm install
Build the on-chain program
$ npm run build:program
Run the test client
$ npm run start-with-test-validator