-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split library into different files to simplify maintenance
- Loading branch information
Showing
10 changed files
with
3,150 additions
and
3,069 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/*! scure-btc-signer - MIT License (c) 2022 Paul Miller (paulmillr.com) */ | ||
|
||
// prettier-ignore | ||
export { | ||
p2pk, p2pkh, p2sh, p2ms, p2wsh, p2wpkh, p2tr, p2tr_ns, p2tr_ms, p2tr_pk, | ||
multisig // => classicMultisig? | ||
} from './payment.js'; | ||
export { OP, RawTx, CompactSize, Script, ScriptNum } from './script.js'; | ||
export { Transaction } from './transaction.js'; | ||
export { selectUTXO } from './utxo.js'; | ||
export { NETWORK, compareBytes as _cmpBytes, TAPROOT_UNSPENDABLE_KEY } from './utils.js'; | ||
|
||
// Utils | ||
// prettier-ignore | ||
export { | ||
Address, getAddress, WIF, | ||
taprootListToTree, OutScript, _sortPubkeys, sortedMultisig, combinations | ||
} from './payment.js'; // remove | ||
export { _DebugPSBT, TaprootControlBlock } from './psbt.js'; // remove | ||
export { Decimal, bip32Path, SigHash, PSBTCombine, DEFAULT_SEQUENCE } from './transaction.js'; // remove | ||
export { _cmpBig, _Estimator } from './utxo.js'; |
Oops, something went wrong.