//Solutions>Builder's Guide>Tools>7k Aggregator
7k Aggregator

7k Aggregator

A TypeScript SDK providing unified access to DeFi services on the Sui blockchain including token swaps, price feeds, limit orders, and dollar-cost averaging.

Submit or update a tool
Audience
💸DeFi Developers
🛠️Infrastructure Developers
websitegithub

Overview

The 7K Protocol TypeScript SDK is a developer toolkit designed to streamline decentralized finance (DeFi) application development on the Sui blockchain. It offers a unified, type-safe interface for integrating core DeFi functionalities such as token swaps, price feeds, limit orders, and dollar-cost averaging (DCA) strategies. The SDK supports mainnet deployment and is built with TypeScript to ensure strong typing and developer-friendly integration.

A key feature of the SDK is its Meta Aggregator, which simulates active routing and liquidity aggregation across multiple providers including Bluefin7K, FlowX, and Cetus. This enables developers to compare quotes and optimize trade execution dynamically. The SDK also supports fetching token prices individually or in batches, placing and managing limit orders, and automating recurring purchases through DCA orders. Configuration options allow customization of API keys, slippage tolerance, and commissions.

Integration requires installing the SDK along with peer dependencies for Sui blockchain interaction and Pyth price feeds. Optional dependencies enable additional Meta Aggregator providers, with graceful degradation if these are not installed. The SDK exports both a default module and named functions for modular usage. Comprehensive documentation and example code are available to assist developers in setup and usage.

The Problem

Developers building DeFi applications on Sui face fragmented access to liquidity and trading services, requiring integration with multiple providers and complex routing logic. Managing price feeds, limit orders, and recurring purchase strategies often involves disparate APIs and inconsistent interfaces.

Fragmented liquidity sources complicate trade routing

The Solution

Key Features

Meta Aggregator Simulation

Active simulation of trade routing across Bluefin7K, FlowX, and Cetus liquidity providers.

Price Service

Fetches token prices with support for single and batch queries.

Limit and DCA Orders

Enables placing and managing limit orders and automating dollar-cost averaging strategies.

Key Strengths

Unified Multi-Provider Aggregation
Type-Safe TypeScript Interface
Flexible Configuration and Graceful Degradation

How Developers Use 7k Aggregator

👨‍💻

Building a DeFi Wallet with Integrated Trading

Developers can use the SDK to integrate multi-provider token swaps, price feeds, and order management into a Sui-based wallet.

🤖

Implementing Automated Dollar-Cost Averaging

DeFi applications can automate recurring token purchases using the SDK's DCA order functionality.

⚙️

Optimizing Trade Routing for a Decentralized Exchange

Exchanges can leverage the Meta Aggregator simulation to route trades across multiple liquidity sources for best execution.

Ship faster than your competition

Free RPC across 75+ chains. Spin up an endpoint in under 30 seconds.

Get your endpoint

Pricing

Open Source
Price (Monthly)Free
Price (Annual)Free
MessagingN/A
SupportCommunity support via GitHub
Analytics

Start Building Now

Reliable RPC, powerful APIs, and zero hassle.

Resources

The 7K Protocol SDK provides extensive documentation, example code, and guides to help developers integrate DeFi features on Sui. Resources cover Meta Aggregator usage, limit and DCA orders, price feeds, and Node.js environment setup.