solana-program-library/token-swap/js
Jon Cinque 3c070a45e5
token-swap-js: Upgrade spl-token JS dependency (#4205)
2023-05-08 23:07:33 +00:00
..
src token-swap-js: Upgrade spl-token JS dependency (#4205) 2023-05-08 23:07:33 +00:00
test token-swap-js: Upgrade spl-token JS dependency (#4205) 2023-05-08 23:07:33 +00:00
.eslintignore token-swap-js: Cleanup for next release (#3004) 2022-03-11 22:23:41 +01:00
.eslintrc.js token-swap-js: Upgrade spl-token JS dependency (#4205) 2023-05-08 23:07:33 +00:00
.gitignore token-swap-js: Cleanup for next release (#3004) 2022-03-11 22:23:41 +01:00
.prettierrc.yaml token-swap-js: Upgrade spl-token JS dependency (#4205) 2023-05-08 23:07:33 +00:00
README.md token-swap-js: Cleanup for next release (#3004) 2022-03-11 22:23:41 +01:00
package-lock.json token-swap-js: Upgrade spl-token JS dependency (#4205) 2023-05-08 23:07:33 +00:00
package.json token-swap-js: Upgrade spl-token JS dependency (#4205) 2023-05-08 23:07:33 +00: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: Upgrade spl-token JS dependency (#4205) 2023-05-08 23:07:33 +00: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