npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bitcoinsdk

v0.2.54

Published

Bitcoin SDK to integrate Bitcoin wallets to your app and get access to The OpenBook Protocol in your project

Readme

BitcoinSDK - The Ultimate Bitcoin Integration Tool

BitcoinSDK is a powerful and modular JavaScript/TypeScript SDK designed to seamlessly integrate Bitcoin wallets and The OpenBook Protocol into your react applications.

With built-in support for multiple wallet providers, PSBT signing, and atomic swaps via OpenBook, BitcoinSDK provides developers with an efficient and scalable way to interact with the Bitcoin ecosystem.

✨ Features

  • ✅ Multi-wallet support: Connect, sign transactions, and manage wallets effortlessly.
  • ✅ Bitcoin RPC utilities: Fetch balances, send raw transactions, and interact with the Bitcoin blockchain.
  • ✅ OpenBook Protocol Integration: Easily list and trade Counterparty assets via atomic swaps.
  • ✅ React-ready UI components: Prebuilt components for fast integration.
  • ✅ TailwindCSS compatible: Fully customizable UI with Tailwind support.

🚀 Get started today and build the next generation of Bitcoin-powered applications!

⚙️ Instalation

To install use your favorite package manager:

npm install bitcoinsdk

If you are using deno use:

deno add npm:bitcoinsdk

This package is split in two:

🛠 SDK Structure

BitcoinSDK is split into two modules, allowing you to choose based on your needs:

1️⃣ bitcoinsdk/core - For Backend & Core Functionality

If you only need blockchain interaction, use the core package:

import { bitcoinsdk } from "bitcoinsdk/core";

// Get Bitcoin balance
const balance = await const balance = await bitcoinsdk.openbook.getBTCBalance({
  address: "your_bitcoin_address"
})

// Fetch Counterparty asset details
const asset = await bitcoinsdk.counterparty.getAsset({ asset: "XCP" });

// Interact with OpenBook Protocol
const orderbook = await bitcoinsdk.openbook.getAtomicSales({
    page: 1,
    limit: 100
});
  • 🔹 Provides access to Bitcoin, Counterparty, and OpenBook APIs.
  • 🔹 No UI dependencies—perfect for backend use or custom UI projects.

2️⃣ bitcoinsdk/ui - Prebuilt UI Components

If you want to quickly integrate wallet connect button use the web component

<connect-wallet-button></connect-wallet-button>
  • 🔹 Includes prebuilt UI components for React.
  • 🔹 Integrates seamlessly with multiple wallet providers.

if you want to customize the wallet connect button you have this css variables accessible:

:host {
    --wallet-button-bg: #fefefe;
    --wallet-button-text: #000;
    --wallet-button-border: #ff9900;
    --wallet-button-hover-bg: #ff9900;
    --wallet-font-family: "Arial", sans-serif;
    --wallet-width: 184px;
    --wallet-height: 48px;
}

📖 Documentation

📌 More detailed docs will be available soon. 📌 This is an open-source project—contributions are welcome! ❤️

🔗 GitHub Repository: BitcoinSDK on GitHub

🚀 Join us in building the next generation of Bitcoin-powered applications!