Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
64306525
Topic
5502463
Board
Development & Technical Discussion
Merits
11 from 7 users
Topic OP
Same private key, different P2WSH address
by
vneos
on
09/07/2024, 09:38:32 UTC
⭐ Merited by
ABCbits
(2) ,
pooya87
(2) ,
vapourminer
(2) ,
Halab
(2) ,
vjudeu
(1) ,
nc50lc
(1) ,
DdmrDdmr
(1)
Hi all, I'm having problems trying to convert a private key to a P2WSH address.
Using the tool provided on this site:
https://secretscan.org/Bech32
, the P2WSH address obtained for private key '1' is
Code:
bc1qpac4ht6afshdx2tctnhjnetz7u6g3j9zhwwmc4cqkdsa2jumq42qd3drf7
, which is the same as the result generated by the tool provided on github:
https://github.com/fortesp/bitcoinaddress
.
But when I use bitcoin core, the address I get using private key '1' is
Code:
bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3
, which can be confirmed here:
https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki/#examples
Why is there this discrepancy?
Best regards.