Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scure/btc-signer

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scure/btc-signer - npm Package Compare versions

Comparing version 1.2.2 to 1.3.0

lib/_type_test.d.ts

50

package.json
{
"name": "@scure/btc-signer",
"version": "1.2.2",
"version": "1.3.0",
"description": "Audited & minimal library for creating, signing & decoding Bitcoin transactions: with Schnorr, Taproot, UTXO & PSBT",
"files": [
"lib/index.js",
"lib/esm/index.js",
"lib/esm/index.js.map",
"lib/esm/package.json",
"lib/index.d.ts",
"lib/index.d.ts.map",
"index.ts"
"lib",
"src"
],

@@ -22,2 +17,37 @@ "main": "lib/index.js",

"default": "./lib/index.js"
},
"./index": {
"types": "./lib/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/index.js"
},
"./payment": {
"types": "./lib/payment.d.ts",
"import": "./lib/esm/payment.js",
"default": "./lib/payment.js"
},
"./psbt": {
"types": "./lib/psbt.d.ts",
"import": "./lib/esm/psbt.js",
"default": "./lib/psbt.js"
},
"./script": {
"types": "./lib/script.d.ts",
"import": "./lib/esm/script.js",
"default": "./lib/script.js"
},
"./transaction": {
"types": "./lib/transaction.d.ts",
"import": "./lib/esm/transaction.js",
"default": "./lib/transaction.js"
},
"./utils": {
"types": "./lib/utils.d.ts",
"import": "./lib/esm/utils.js",
"default": "./lib/utils.js"
},
"./utxo": {
"types": "./lib/utxo.d.ts",
"import": "./lib/esm/utxo.js",
"default": "./lib/utxo.js"
}

@@ -47,4 +77,4 @@ },

"build": "tsc && tsc -p tsconfig.esm.json",
"lint": "prettier --check index.ts",
"format": "prettier --write index.ts",
"lint": "prettier --check src",
"format": "prettier --write src",
"test": "node test/index.test.js && node test/psbt-test/bip174-psbt-extended.test.js",

@@ -51,0 +81,0 @@ "test:extended": "node --experimental-loader ./test/bitcoinjs-test/esm-loader.js ./test/bitcoinjs-test/index.test.js",

22

README.md

@@ -12,3 +12,4 @@ # scure-btc-signer

- 📨 BIP174 PSBT
- 🪶 3000 lines
- 🗳️ Easy ordinals and inscriptions
- 🪶 3300 lines

@@ -21,3 +22,3 @@ Initial development has been funded by [Ryan Shea](https://shea.io).

_Check out all web3 utility libraries:_ [ETH](https://github.com/paulmillr/micro-eth-signer), [BTC](https://github.com/paulmillr/scure-btc-signer), [SOL](https://github.com/paulmillr/micro-sol-signer), [tx-tor-broadcaster](https://github.com/paulmillr/tx-tor-broadcaster)
_Check out all web3 utility libraries:_ [ETH](https://github.com/paulmillr/micro-eth-signer), [BTC](https://github.com/paulmillr/scure-btc-signer), [SOL](https://github.com/paulmillr/micro-sol-signer)

@@ -70,2 +71,3 @@ ### This library belongs to _scure_

- [UTXO selection](#utxo-selection)
- [Ordinals and custom scripts](#ordinals-and-custom-scripts)
- [Utils](#utils)

@@ -882,2 +884,15 @@ - [getAddress](#getaddress)

## Ordinals and custom scripts
We support custom scripts. You can pass it as last argument to `p2tr`.
Ordinals, inscriptions, runes and others are handled by a separate package for now:
[micro-ordinals](https://github.com/paulmillr/micro-ordinals).
The package contains:
- Real code for ordinals / inscriptions
- CLI tool that allows to upload files as inscriptions
- Example usage of custom scripts
## Utils

@@ -993,3 +1008,4 @@

UTXO selection functionality has not been audited yet.
UTXO selection functionality has not been audited yet. Commit [58d4554](58d455480919e968aabff132503560effb2f8eaf)
split the library from one into several files to ease future maintainability.

@@ -996,0 +1012,0 @@ ### Supply chain security

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc