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

A TypeScript SDK for interacting with SailFish DEX v3 on EDUCHAIN. This SDK provides functionality for finding swap routes, getting quotes, and executing swaps. It also provides Bridge UI widget for Dapps to use for Bridging EDU from BSC, ARB to EDUCHAIN

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


Hackathon Milestone

  • Live on EDUCHAIN Mainnet

  • 300+ dowloads on NPM

  • Integration of SDK with 5 notable mainnet EDUCHAIN Projects edu.fun, hype.mba, EduAgent, Lilikoi and DailyWiser (OpenEdu)

Links

Progress During Hackathon

0

Tech Stack

React
Web3
Ethers
Next
Node
Team Leader
OOlu .
Sector
DeFiInfra