Skip to main content

Installation

Package manager commands

npm
yarn
pnpm

Requirements

  • Node.js 16.x or higher
  • TypeScript 5.0+ (recommended)
  • A Bitcoin wallet provider (e.g., Xverse, Leather, UniSat)

Peer Dependencies

The SDK has no external runtime dependencies. It’s designed to be lightweight and work in both browser and Node.js environments.

TypeScript Support

The SDK is written in TypeScript and includes full type definitions. No additional @types packages are required.

Verification

Verify the installation by importing the SDK:

Next Steps

Continue to Quick Start to create your first loan. Building a React application? Continue to UI Components to install editable borrowing interfaces backed by this SDK.