How to spend sats sent to various types of addresses derived from same priv key?
killmonger420 opened this issue · 1 comments
So, I used this to get all different addresses - https://github.com/meherett/python-hdwallet/blob/master/examples/from_private_key.py
I got the priv key from Exodus app. And verified the address shown on Exodus matched with one of the public addresses generated with that script. It matched and when I sent sats to that address, I was able to access them in Exodus and spend. I assumed when I sent to other address, they'll be visible in Exodus. So, I send small amounts to other addresses as well. But I couldn't see them on Exodus.
I can see the txs on blockchain. But dunno how to spend those sats from that address.
I've used these libs to spend but I couldn't figure out any ways to select which address (public key) to use to send those sats.
- https://github.com/blockstack/pybitcoin
- https://github.com/ofek/bit
- https://github.com/1200wd/bitcoinlib
Any help?