hackquest logo

SailFish DEX v3 SDK

A TypeScript SDK for interacting with SailFish DEX v3 on EDUCHAIN. This SDK provides functionality for finding swap routes, getting quotes, executing swaps and EDU bridge widget.

Videos

Description

SailFish DEX v3 SDK

A TypeScript SDK for interacting with SailFish DEX v3 on EDUCHAIN. This SDK provides functionality for finding swap routes, getting quotes, executing swaps and bridging EDU Tokens.

Installation

npm install @sailfishdex/v3-sdk

Features

  • Route Finding: Find the best route for a swap pair, whether direct or multi-hop

  • Quote Generation: Get accurate quotes with execution price and price impact

  • Fee Information: Get fee tier and pool address information with each quote

  • Swap Execution: Execute swaps with slippage protection

  • Multi-hop Support: Full support for multi-hop routes

  • Token Approval: Methods for checking and approving token allowances

  • Token Bridging: Bridge EDU tokens between BSC, Arbitrum, and EDUCHAIN

  • UI Components: Ready-to-use React components for token bridging

Progress During Hackathon

90

Tech Stack

React
Web3
Ethers
Next
Node
Team LeaderCCTO .
Sector
DeFi