Skip to content

The smart contract lets users deposit Sui coins and get FARM tokens as rewards. It tracks deposits, time staked, and gives out rewards based on this information.

Notifications You must be signed in to change notification settings

conka8/Trading-Bot-SDK

Repository files navigation

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

Cetus

Aftermath Finance

FlowX Finance

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

About

The smart contract lets users deposit Sui coins and get FARM tokens as rewards. It tracks deposits, time staked, and gives out rewards based on this information.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published