python-hdwallet icon indicating copy to clipboard operation
python-hdwallet copied to clipboard

How to spend sats sent to various types of addresses derived from same priv key?

Open killmonger420 opened this issue 2 years ago • 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.

  1. https://github.com/blockstack/pybitcoin
  2. https://github.com/ofek/bit
  3. https://github.com/1200wd/bitcoinlib

Any help?

killmonger420 avatar Aug 09 '21 17:08 killmonger420

On which chain to be precise.

mikeodor avatar Apr 08 '24 19:04 mikeodor