-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a simple watch-only command-line wallet that supports testnet and alternative derivation paths #1939
Comments
Using output descriptors with Bitcoin Core directly sounds like the best path forward. https://github.com/bitcoin/bitcoin/blob/v25.0/doc/descriptors.md |
Also, I don't see any questions... Just an explanation of something you wanted to make. Are you just going to leave this open until someone makes this thing for you, for free? |
Me and my million monkeys just now got this self-taught first-draft prototype working after a few days: $ ts-node bitkit.ts (input prompt) (output) BIP32 Root Key xpub58, I think: xpub661MyMwAqRbcGM4Hx1fH3qjsoRnGM8GV5oCEPncc72wqp2oeM2hDWtZkWTexfv2fanLGpB84KzdkFquqVuFE5Z5D6iyAncQcMUASpPXgvPG m/49'/1'/0'/0/0 2N3snKu9fH9DugViGysrgNt9ta8GeQpSoPM Bitcoin balance for address 2N3snKu9fH9DugViGysrgNt9ta8GeQpSoPM: 0.01659871 BTC TODO:
As part of getting this prototype working, I discovered I was commingling in my head a couple of different concepts with that initial list of loopings. For this current task, with an Account Extended Public Key (xpub), one cannot loop through anything but Addresses (hardened and not)--the Purpose, Coin, and Account are baked into the xpub. The commingled other concept was, given a seed phrase or similar root-level info, aggressively go find potentially lost balances, due to bone-head mistakes, by looping through a reasonably large set of Purposes, Coins, Accounts, and Addresses (hardened and not)--a project for another day. |
I can't find a simple convenient lightweight watch-only wallet that supports testnet and non-traditional derivation paths.
I’m a beginner at using javascript and node.
I want to create a simple command-line watch-only script.
Using Ian Coleman's BIP39 tool as a guide and inspiration, I want the script to:
I promise, I tried hard, with the help of Bard and ChatGPT, and we came close, but something was always not quite right (I think they were trained on old versions of the library).
Thanks so much in advance.
The text was updated successfully, but these errors were encountered: