The SDK is written in TypeScript and designed to be a thin wrapper on top of the STON.fi contracts, which will help STON.fi protocol to be used more easily in JS/TS projects
Documentation for the SDK is available at docs.ston.fi
Firstly install the @ton/ton package following their installation guide
Then, add SDK package using the package manager of your choice.
npm install @ston-fi/sdk
yarn add @ston-fi/sdk
pnpm install @ston-fi/sdk
Sometimes, we publish a release candidate version of the SDK package to give you early access to the next version. To install this version, you need to expressly specify that you are interested in the next version during the installation.
npm install @ston-fi/sdk@next