I have already looked at link.
I am trying to generate P2SH address from output script but no luck. I am using transaction 40eee3ae1760e3a8532263678cdf64569e6ad06abc133af64f735e52562bccc8
for testing purpose which has one input and one output. The output goes to P2SH address that starts with 3. Output script looks like below
OP_HASH160
e9c3dd0c07aac76179ebc76a6c78d4d67c6c160a
OP_EQUAL
And destination address is 3P14159f73E4gFr7JterCCQh9QjiTjiZrG
as per open source explorers. I tried
Base58Check(e9c3dd0c07aac76179ebc76a6c78d4d67c6c160a)
Followed instructions on https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses
But could not land to the address. Can anyone help me decoding the output script to fetch address.
05
. – Ava Chow Dec 28 '21 at 23:18