SushiSwap SDK for Openclaw

A comprehensive TypeScript wrapper for the SushiSwap Aggregator API designed to facilitate safe and efficient swap integrations.

0xmasayoshi
v0.1.0
Feb 5, 2026
0
2.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install sushiswap-sdk

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install sushiswap-sdk using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is SushiSwap SDK?

The SushiSwap SDK serves as a powerful TypeScript integration for developers interacting with the SushiSwap Aggregator. By utilizing Openclaw Skills, developers can abstract away the complexities of raw HTTP requests and instead work with expressive, strongly typed primitives for tokens, prices, and fractions. This ensures safer arithmetic and more reliable code when building modern DeFi interfaces or automated trading tools, providing a standard layer for EVM-based liquidity routing.

SushiSwap SDK Use Cases

  • Requesting real-time swap quotes via the SushiSwap API.
  • Generating executable transaction data for decentralized exchanges.
  • Managing token amounts and prices without floating-point errors using Openclaw Skills.
  • Validating chain support before executing swap operations.

How SushiSwap SDK Works

  1. Install the sushi and viem packages to begin the integration process.
  2. Import necessary helpers from the sushi/evm module.
  3. Select the appropriate SDK method such as getQuote() for pricing or getSwap() for transaction generation.
  4. Provide required parameters including chainId, token addresses, and a mandatory referrer identifier.
  5. Use the returned transaction data to perform simulations or execute swaps on-chain via Openclaw Skills.

SushiSwap SDK Setup

To integrate this skill into your project, install the dependencies using your preferred package manager:

pnpm add sushi viem

Or via npm:

npm add sushi viem

SushiSwap SDK Data Schema & Taxonomy

Parameter Description
chainId The EVM network ID for the transaction
referrer A mandatory string identifying the integrator
quote Object containing price and routing data
swap Object containing executable transaction calldata

All network support is managed through the dynamically updated SWAP_API_SUPPORTED_CHAIN_IDS list in Openclaw Skills to ensure compatibility.

SushiSwap SDK Advanced Features

  • Multi-network support across dozens of EVM chains.
  • Built-in fee customization and 80/20 revenue sharing for partners.
  • Integration-ready for AI agents and automated workflows within Openclaw Skills.
  • Comprehensive typing for all aggregator primitives to prevent runtime errors.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*