solana-program-library/token-swap/js
dependabot[bot] d2cac80ef2
build(deps-dev): bump eslint from 7.32.0 to 8.31.0 in /token-swap/js (#3950)
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 01:00:59 +01:00
..
src Update fuzz and JS clients for new interface 2022-09-01 20:12:12 +02:00
test token-swap: Update withdraw-one fee calculation 2022-12-09 00:51:55 +01: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 build(deps-dev): bump eslint from 7.32.0 to 8.31.0 in /token-swap/js (#3950) 2023-01-04 01:00:59 +01:00
package.json build(deps-dev): bump eslint from 7.32.0 to 8.31.0 in /token-swap/js (#3950) 2023-01-04 01:00:59 +01: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