Is your feature request related to a problem? Please describe.
We are currently implementing Bitcoin signing logic in various places like the SDK and in the sats-wagmi package. The problem is that these implementations diverge and lack testing. I like a single isolate tx creation and signing logic here that we can reuse in node.js scripts, testing suits, or in frontend packages.
Describe the solution you'd like
Add the following methods with tests:
Prio 1
[ ] Transfer BTC
[ ] Transfer BTC with OP_RETURN (needed for onramp)
[ ] Transfer ordinal with OP_RETURN (needed for ordinals bridge)
[ ] Transfer Rune with OP_RETURN (needed for runes bridge)
Is your feature request related to a problem? Please describe. We are currently implementing Bitcoin signing logic in various places like the SDK and in the sats-wagmi package. The problem is that these implementations diverge and lack testing. I like a single isolate tx creation and signing logic here that we can reuse in node.js scripts, testing suits, or in frontend packages.
Describe the solution you'd like
Add the following methods with tests:
Prio 1
Prio 2
Build this on https://github.com/paulmillr/scure-btc-signer and https://github.com/paulmillr/micro-ordinals.
Don't use
bitcoinjs-lib
.