Solana frontend library and TypeScript SDK. This SDK features:
- React hooks and providers for adding a Solana connection to your app
- Integrations with several popular wallets (full list here)
- Helpers for fetching token account balances and performing mathematical operations on tokens
Detailed information on how to build on Saber can be found on the Saber developer documentation website.
Automatically generated TypeScript documentation can be found on GitHub pages.
First, run:
# If using NPM
npm install --save @saberhq/use-solana
# If using Yarn
yarn add @saberhq/use-solana
Apache 2.0