Skip to content

Commit

Permalink
Add taproot
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o committed Jul 10, 2024
1 parent b7cd6c9 commit 597889f
Showing 1 changed file with 47 additions and 1 deletion.
48 changes: 47 additions & 1 deletion src/lib/javascript react/taproot.jsx
Original file line number Diff line number Diff line change
@@ -1 +1,47 @@
const {UTXO, Payment, P2TR} from 'bitcoinjs-lib';
const {UTXO, Payment, P2TR} = require('bitcoinjs-lib');

const {
P2TR: {
Taproot,
Tapscript,
},
} = require('bitcoinjs-lib');

const {
P2TR: {
Taproot: {
TapBranch,
TapLeaf,
},
},
} = require('bitcoinjs-lib');

const {
P2TR: {
Taproot: {
TapBranch: {
TapTweak,
},
},
},
} = require('bitcoinjs-lib');

const {
P2TR: {
Taproot: {
TapBranch: {
TapTweak: {
TapTweakAdd,
TapTweakMul,
},
},
},
},
} = require('bitcoinjs-lib');

const {
UTXO
UTXO.fromObject
UTXO.fromBuffer
UTXO.fromHex
} = require('bitcoinjs-lib');

0 comments on commit 597889f

Please sign in to comment.