Module @saberhq/use-solana

@saberhq/use-solana

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

Documentation

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.

Installation

First, run:

# If using NPM

npm install --save @saberhq/use-solana

# If using Yarn

yarn add @saberhq/use-solana

License

Apache 2.0