MAINNET
)TESTNET
)REGTEST
)SIGNET
)ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR
.ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH
.signWith
parameter. Turnkey’s signer will switch to Schnorr and apply the correct cryptographic tweak before signing.
examples/with-bitcoin
. It showcases transaction construction and signing with bitcoinjs-lib
, a widely used JS library.
This demo contains a client-side signer which seamlessly integrates Turnkey signing with this library for both taproot and non-taproot output signatures. Let us know if you’re interested in using it. We have not yet published it as a standalone NPM package, but could do it if we hear enough interest!