solana-program-library/token-swap/js
Jon Cinque 79d2c606b8
CI: Add `--max-warnings 0` to eslint to abort on errors (#3254)
* CI: Add `--max-warnings 0` to eslint to abort on errors

* Fix lint issue
2022-06-16 09:39:55 -04:00
..
src token-swap: Prepare v3.0.0 release for testnet and devnet (#3227) 2022-06-07 16:31:18 +02:00
test Updated index.ts and tests (#3094) 2022-04-21 01:00:43 +02:00
.eslintignore token-swap-js: Cleanup for next release (#3004) 2022-03-11 22:23:41 +01:00
.eslintrc.js token-swap typescript: Move things around, fix typing problems (#1643) 2021-05-10 22:30:13 +02:00
.gitignore token-swap-js: Cleanup for next release (#3004) 2022-03-11 22:23:41 +01:00
.prettierrc.yaml Relocate js 2020-08-08 15:25:47 -07:00
README.md token-swap-js: Cleanup for next release (#3004) 2022-03-11 22:23:41 +01:00
package-lock.json token-swap: Prepare v3.0.0 release for testnet and devnet (#3227) 2022-06-07 16:31:18 +02:00
package.json CI: Add `--max-warnings 0` to eslint to abort on errors (#3254) 2022-06-16 09:39:55 -04:00
tsconfig.cjs.json token-swap-js: Cleanup for next release (#3004) 2022-03-11 22:23:41 +01:00
tsconfig.json token-swap-js: Cleanup for next release (#3004) 2022-03-11 22:23:41 +01:00

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