Given an address, it's easy to get the script but for the life of me, I can't figure out how go the other way.
i.e. I have a TxOut and get the PkScript and want to convert that into an address. I realize not every PkScript is an address, but in my case I only care about pay-to-pubkey-hash outputs anyway
Given an address, it's easy to get the script but for the life of me, I can't figure out how go the other way.
i.e. I have a TxOut and get the PkScript and want to convert that into an address. I realize not every PkScript is an address, but in my case I only care about pay-to-pubkey-hash outputs anyway