fibrous-router-sdk
v1.0.1
Published
A Javascript SDK for Fibrous Finance
Downloads
930
Readme
Fibrous Finance SDK (v1.0.0)
Installation
# PNPM (recommended)
pnpm add fibrous-router-sdk
# NPM
npm install fibrous-router-sdk
# Yarn
yarn add fibrous-router-sdkMigration 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
BigNumberwith nativebigint - 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.
