npm.io
0.4.4 • Published 1 year ago

@solana/spl-token-swap

Licence
MIT
Version
0.4.4
Deps
2
Size
174 kB
Vulns
0
Weekly
0
Stars
4.2K

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