Troubleshooting

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:

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.

import peanut from '@squirrel-labs/peanut-sdk';

console.log('Peanut version: ', peanut.version)

You should see something like this:

peanut-sdk version:  0.4.0
Peanut version:  0.4.0

Last updated