This page (revision-4) was last changed on 29-Nov-2024 16:16 by -jim

This page was created on 29-Nov-2024 16:16 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 29-Nov-2024 16:16 2 KB -jim to previous
3 29-Nov-2024 16:16 2 KB -jim to previous | to last
2 29-Nov-2024 16:16 2 KB -jim to previous | to last
1 29-Nov-2024 16:16 1 KB unknown to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 12 added 20 lines
!! Encoding a Bitcoin address
There are currently two address formats in common use and both are implemented using the [Base58Check] [encoding] of the [hash] of either:
Pay-to-script-hash ([P2SH]) (Newer [{$pagename}])
payload is: 
{{{
[RIPEMD160] ( [SHA256|https://en.bitcoin.it/wiki/SHA256] (redeemScript))
}}}
where redeemScript is a script the wallet knows how to spend; version {{{0x05}}} (these addresses begin with the digit '3')
(eg: 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy)
Pay-to-pubkey-hash (P2PKH):
payload is 
{{{
[RIPEMD160] ( [SHA256] (ECDSA_publicKey))
}}}
where [ECDSA]_publicKey is a [Public Key] the wallet knows the [Private Key] for; version {{{0x00}}} (these addresses begin with the digit '1') \\
(eg: {{{1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2}}})