{"library":"bip322-js","type":"library","category":null,"description":"bip322-js is a TypeScript/JavaScript library providing utility functions for the BIP-322 signature scheme, enabling generic message signing and verification across various Bitcoin address types. It supports P2PKH, P2SH-P2WPKH, P2WPKH, and single-key-spend P2TR addresses on mainnet, testnet, and regtest. The current stable version is 3.0.0, released in April 2025. A key differentiator is its 'Loose BIP-137 Verification' by default, which allows backward compatibility with legacy BIP-137 signatures, even if they have non-standard header flags, by assuming ownership of the private key for all derivable addresses. It also provides functionalities to generate raw `toSpend` and `toSign` BIP-322 transactions.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","bip322","bitcoinjs","typescript","no-WASM"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bip322-js","imports":["import { Signer } from 'bip322-js'","import { Verifier } from 'bip322-js'","import { BIP322 } from 'bip322-js'"]},{"cmd":"yarn add bip322-js","imports":[]},{"cmd":"pnpm add bip322-js","imports":[]}],"homepage":null,"github":"https://github.com/ACken2/bip322-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bip322-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/bip322-js/compatibility"}}