Socket
Book a DemoInstallSign in
Socket

@solana/spl-token-swap

Package Overview
Dependencies
Maintainers
14
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/spl-token-swap

SPL Token Swap JavaScript API

latest
Source
npmnpm
Version
0.4.4
Version published
Maintainers
14
Created
Source

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

FAQs

Package last updated on 17 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts