logo

Having trouble using the SDK? Have a look here if you find your issue. If not feel free to reach out on discord or telegram!

React Native

If you plan on using the SDK in a React-Native project, you will also need to install the the following:
plain text
npm i @ethersproject/shims

Testing the SDK is Installed Correctly

The quickest way to make sure the Peanut SDK is installed correctly is by getting the version number.
plain text
import peanut from '@squirrel-labs/peanut-sdk'; console.log('Peanut version: ', peanut.version)
You should see something like this:
plain text
peanut-sdk version: 0.4.0 Peanut version: 0.4.0

Powered by Notaku