dunsin on Nostr: i was working on creating a P2SH from a P2WSH to ensure backward compatibility. After ...
i was working on creating a P2SH from a P2WSH to ensure backward compatibility. After generating the P2SH, i needed to encode it in Base58 to get the official address.
made a silly mistake by encoding it directly to Base58 instead of first computing the double SHA-256 checksum.
thankfully, this is all just for testing!
Published at
2025-02-25 09:07:38Event JSON
{
"id": "288fbc4503de3e25fb0d2bd8a37ff5aa5d5ecf23062f6877157bacdf7d6a4bb1",
"pubkey": "ae6a64c45515f4b071f9d030bf4fb420bf49cc509244bdff716e09d43bf84db9",
"created_at": 1740474458,
"kind": 1,
"tags": [],
"content": "i was working on creating a P2SH from a P2WSH to ensure backward compatibility. After generating the P2SH, i needed to encode it in Base58 to get the official address.\n\nmade a silly mistake by encoding it directly to Base58 instead of first computing the double SHA-256 checksum.\n\nthankfully, this is all just for testing!\n\n",
"sig": "c5dff2ee6e2ede3b3280049fe465329a69f936d60280f9ef35a99df9c8f3472e833cb5d0cfebe1e19cab708873dfeaed5a5f27f4981928476924e9f09381c7ef"
}