Mohon dibaca dengan seksama apa yang sudah saya cantumkan pada post pertama thread ini.
Address Bitcoin yang agan cantumkan diatas bertipe SegWit Bech32 (P2WPKH), sementara ketentuan yang saya buat harus bertipe Legacy (P2PKH)
-snip-
● Menggunakan Legacy address/P2PKH (Pay-to-PubkeyHash); Address berawalan 1 (mainnet, bukan testnet).
Contoh yang pernah saya buat menggunakan Electrum:
Diantara alasan kenapa saya meminta sign message menggunakan P2PKH address alih-alih P2WPKH:
Previously I managed to make a signature on Console of the Bitcoin Core using the Legacy Address, but when trying with the SegWit Address the following message appears:
Address does not refer to key (code -3)
Please explain and the solution.
Thanks.
There is no solution and you cannot sign a message with a segwit address. This has been the case since segwit was introduced. See
https://github.com/bitcoin/bitcoin/issues/10542
Sign message menggunakan SegWit address belum secara global di support oleh semua wallet Bitcoin.