Reward Kit
Installation
Reward Kit is still in early alpha, and may contain bugs or unexpected behavior.
The Boost V2 Docs are under active development and will be subject to changes.
You can install @boostxyz/reward-kit-react
via NPM
NPM
Peer Dependencies
Reward Kit is designed to work with React 18 and 19, and has no other dependencies.
CSP Configuration for Boost API
If you have a strict CSP policy, you may have to explicitly allow https://api-v2.boost.xyz
, and if you’re targeting testnets; https://api-v2-staging.boost.xyz
For example, you can configure your headers as follows:
Runtime Requirements
Reward Kit is optimized for modern browsers. It is compatible with the following browser configurations:
If you want to support older browsers, you need to transpile the library from
node_modules
yourselves.