4.2.1 • Published 7 months ago

@burrbear/sdk v4.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

SDK

npm version

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.

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_URL

Anvil Client

To download and install the anvil client, run the following commands (MacOS):

  • curl -L https://foundry.paradigm.xyz | bash
  • brew install libusb
  • source /Users/$(whoami)/.zshenv
  • foundryup