@solana/spl-token-swap
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

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

/@solana/spl-token-swap/

    Package Sidebar

    Install

    npm i @solana/spl-token-swap

    Homepage

    solana.com/

    Weekly Downloads

    4,367

    Version

    0.4.3

    License

    MIT

    Unpacked Size

    169 kB

    Total Files

    39

    Last publish

    Collaborators

    • _chido
    • 2501babe
    • buffalojoec
    • joncinque
    • jordansexton
    • lorisleiva
    • mcintyre94
    • mvines
    • ngundotra
    • ryoqun
    • seanyoung
    • sebastianbor
    • steveluscher
    • trent-solana
    • tyera