Typescript SDK to interact with the Ston.fi DEX
npm install @ston-fi/sdk


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.
``bash`
npm install @ston-fi/sdk
`bash`
yarn add @ston-fi/sdk
`bash``
pnpm install @ston-fi/sdk
We are providing a simple but fully functional demo app with the SDK usage in the next.js app to demonstrate the SDK functionality. The source code is open-sourced and can be found here. Try this app at https://sdk-demo-app.ston.fi
- DEX guide
- Swap
- Provide liquidity
- Transaction setting guide