npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@bathord/sui-trading-sdk

v1.0.7

Published

Sui Trading SDK (typescript)

Downloads

35

Readme

SUI Trading Bot SDK

The SUI Trading Bot SDK is a TypeScript trading SDK designed to facilitate token trading on the Sui blockchain across different AMMs/DEXes. It includes integrations with various liquidity providers. Here's a quick overview of the supported providers:

Providers

Turbos Finance

  • SDK: (https://github.com/turbos-finance/turbos-clmm-sdk)
  • Docs: (https://turbos.gitbook.io/turbos/about-turbos/getting-started)
  • How it works: (https://turbos.gitbook.io/turbos/products/concentrated-liquidity-amm)

Cetus

  • SDK: (https://github.com/CetusProtocol/cetus-clmm-sui-sdk)
  • Contract Interface: (https://github.com/CetusProtocol/cetus-clmm-interface)
  • Docs: (https://cetus-1.gitbook.io/cetus-developer-docs/developer/dev-overview)

Aftermath Finance

  • SDK: (https://github.com/AftermathFinance/aftermath-ts-sdk)
  • Docs: (https://docs.aftermath.finance/aftermath-typescript-sdk/router)

FlowX Finance

  • SDK: (https://github.com/FlowX-Finance/ts-sdk)
  • Docs: (https://docs.flowx.finance/contract/swap)

SDK Overview

The SUI Trading Bot SDK is composed of two major parts:

  1. Providers: Handles integrations with different liquidity providers.
  2. Managers: Helper classes for building integrations, including CoinManager, RouteManager, and WalletManager.

Requirements

To run the SUI Trading Bot SDK, ensure the following:

  • Create a .env file with variables specified in .env.example.
  • Use Node.js version 20 and higher, as specified in .nvmrc (tested with v20.11.0).

Usage

Check the examples directory in the root of the SUI Trading Bot SDK for usage examples of each provider and manager.

Running example with printing logs (including errors) to the log file

yarn ts-node examples/cetus/cetus-dca.ts > cetus-dca.txt 2>&1