# bitcoinjs/bitcoinjs-lib

A javascript Bitcoin library for node.js and browsers.

Repository: https://github.com/bitcoinjs/bitcoinjs-lib
Canonical: https://ross.abutalabs.com/products/bitcoinjs-lib
Language: JavaScript
License: MIT
License Family: permissive
Topics: bitcoinjs-lib, bitcoin, javascript, browserify, bitcoinjs, nodejs
Last push: 2026-02-17T01:08:49+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 67, release rhythm 35, longevity 100
- inputs: {"age_days": 5600, "days_push": 198, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5997, forks 2255 (observed 2026-08-28T04:09:34.126089+00:00)

## What it is
bitcoinjs-lib is a JavaScript/TypeScript Bitcoin library for Node.js and browsers, supporting transaction building, PSBTs, and address/script handling. It is MIT-licensed, well-tested, and widely used in the Bitcoin JavaScript ecosystem.

## Use cases
- build and sign bitcoin transactions in javascript
- create and parse PSBTs in the browser
- generate bitcoin addresses and scripts
- build a bitcoin wallet in node.js
- handle bitcoin payments client-side

## When to choose
- you need a mature, audited JavaScript library for Bitcoin transactions
- you're building a wallet or payment tool for node or browser
- you need PSBT and script support in JS/TypeScript

## When to avoid
- you need support for other cryptocurrencies
- you want to run unreviewed master-branch code in production
- you need a full node or chain indexing functionality

## Facets
- artifact type: library
- maturity: stable
- function: cryptography, serialization, sdk
- domain: developer-tools, blockchain
- platform: browser, cross-platform
- tags: bitcoin, cryptocurrency, wallet, transactions, psbt, typescript, client-side, nodejs, javascript

## Member repositories
- bitcoinjs/bitcoinjs-lib (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.126089+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:49:50.012992+00:00, confidence not recorded.
  - readme: https://github.com/bitcoinjs/bitcoinjs-lib (fetched 2026-08-28T04:09:34.126089+00:00, sha 8128373825f3)
  - registry_npm: https://registry.npmjs.org/bitcoinjs-lib (fetched 2026-08-29T08:45:54.402001+00:00, sha 340c53106d25)
- Data as of 2026-08-30T08:39:29.467469+00:00.
