4.2.1 • Published 7 months ago
@burrbear/sdk v4.2.1
SDK
WIP SDK for BurrBear Protocol. Interfaces may have frequent breaking changes until a stable release.
Local Setup
pnpm install
Requirements
fetch
Polyfill
If your platform does not support one of the required features, it is also possible to import a polyfill.
fetch-> node-fetch
Testing
pnpm test
Testing runs against a local anvil fork and requires the following RPC URL to be configured in your .env file:
ETHEREUM_RPC_URL
POLYGON_RPC_URL
FANTOM_RPC_URL
SEPOLIA_RPC_URLAnvil Client
To download and install the anvil client, run the following commands (MacOS):
curl -L https://foundry.paradigm.xyz | bashbrew install libusbsource /Users/$(whoami)/.zshenvfoundryup