Skip to content

Fibrous-Finance/router-sdk

Repository files navigation

Fibrous Finance SDK (v1.0.1)

Installation

# PNPM (recommended)
pnpm add fibrous-router-sdk

# NPM
npm install fibrous-router-sdk

# Yarn
yarn add fibrous-router-sdk

Full Documentation

Migration Guides

Migrating from v1 to v2 API

If you're upgrading to v2 API, please review our Migration Guide: v1 → v2 for detailed instructions. Key changes include:

  • Use apiVersion: "v2" in Router constructor
  • Call refreshSupportedChains() before using chain-related methods
  • Update all method calls to use parameter objects
  • Handle new error types (APIError, NetworkError, etc.)
  • Automatic input validation

Migrating from v0.5.x to v0.6.0

If you're upgrading from v0.5.x, please review our Migration Guide for detailed instructions on updating your code. Key changes include:

  • Replace BigNumber with native bigint
  • Updated token interface properties
  • Improved performance and smaller bundle size

Usage

Check out the Starknet examples and Starknet README for more detailed examples.

Check out the Evm examples and Evm README for more detailed examples.

Pre-Release Testing

If you want to test pre-release versions before production, check out our Pre-Release Testing Guide for detailed instructions.

Contributing

We welcome contributions from the community. Please review our contributing guidelines to get started.

About

Fibrous Finance allows dApps and traders to get the best DEX liquidity by aggregating multiple Dex and offering the best rates

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors