Installation
A TypeScript SDK for interacting with the Solana Fee Router Program. This SDK simplifies the process of creating, managing, and using a fee routing system on Solana, allowing developers to easily distribute SOL to multiple addresses based on percentage splits.
Features
Create new routers with destinations and percentage splits
Update destinations for existing routers
Route SOL to multiple destinations according to configured percentages
Close router accounts and reclaim rent
Helper functions for SOL/lamports and percentage/basis points conversions
Simple, intuitive API with TypeScript support
You can install the ZarnithFi Router SDK using npm:
Or with yarn:
Last updated