diff --git a/docs/next/core/addresses.html b/docs/next/core/addresses.html index db0ba8b0d1..fb08bd9705 100644 --- a/docs/next/core/addresses.html +++ b/docs/next/core/addresses.html @@ -78,9 +78,9 @@ reason to keep using legacy transaction formats.

// this generates a random private key val privkey = ECPrivateKey() -// privkey: ECPrivateKey = ECPrivateKey(36e0dfbddc9a51d5bddf66d8010fe21bc76371eff1a4362ed1de0b1a47fd503c,true) +// privkey: ECPrivateKey = ECPrivateKey(f44317d6e466c22feb6cf3bcd81857979ec45f6e8feeddbb9d212a253d2f43f3,true) val pubkey = privkey.publicKey -// pubkey: crypto.ECPublicKey = ECPublicKey(032625ec50c61a18e8568bfb6d9d148be07c7a1cc1617243986b4b4a4efdcd0faa) +// pubkey: crypto.ECPublicKey = ECPublicKey(023554a8d5d244c8419a17fedb5ecb54b2a98f49fa2385f1be143ba8ee4e51166b) val segwitAddress = { // see https://bitcoin.org/en/glossary/pubkey-script @@ -89,7 +89,7 @@ reason to keep using legacy transaction formats.

val scriptPubKey = P2WPKHWitnessSPKV0(pubkey) Bech32Address(scriptPubKey, TestNet3) } -// segwitAddress: Bech32Address = Bech32Address(tb1qt3dj6t3xt37qyv0dxhhlnyfgmutq0hgq7zet2c) +// segwitAddress: Bech32Address = Bech32Address(tb1q6sznmm7xavs5recrl0a3fzqp4l43wq4lukxtpw)

Generating legacy (base58) addresses

If you need to generate legacy addresses for backwards @@ -101,7 +101,7 @@ Take a look:

// we're reusing the same private/public key pair // from before. don't do this in an actual application! val legacyAddress = P2PKHAddress(pubkey, TestNet3) -// legacyAddress: P2PKHAddress = mowHgknPete477sxX746H5JBELn2Bfx7Wj +// legacyAddress: P2PKHAddress = mzr1pwPBDgLxjHqXAqXoFBBHPEckDx9xbp
Core moduleHD key generation