logo

Prerequisites

  • Node version >= v20.x
  • Basic knowledge of Typescript and JavaScript
ℹ️
Don't worry, only very basic knowledge of TypeScript and JavaScript are needed. We provide a lot of examples to help you if you're unfamiliar and recommend TypeScript for JavaScript Programmers as a great quick start reference.

Installation

The Peanut SDK can be installed using npm or any other package manager:
Copy
plain text
npm i @squirrel-labs/peanut-sdk

Toggle Verbose

You can set the verbosity level to high which will populate the console with all kinds of logs to make debugging easier:
Copy
plain text
peanut.toggleVerbose(true)
➑️Create Claim Links➑️Claim➑️Create Request Link➑️Pay a Request Link➑️Pay a request Link X-Chain➑️Utils➑️API keys➑️White-Labelling➑️Troubleshooting➑️SDK FAQ