Bitcoin Forum
May 30, 2024, 06:07:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Master Public Key (NEED HELP) ZENCART  (Read 237 times)
biteuro (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 04, 2017, 12:52:38 PM
 #1

Hello Bit forum,

I took over some webshops that accept BITCOINS as payment, and we changed the Master Public Key in the ZENCART backend payment modeule, however, its still sending wrong BITCOIN addresses to customers order confirmation email.
What can be wrong? I double checked the the Master Public Key many times and it match the one I have in ELECTRUM wallet.
 
The ELECTRUM wallet works fine as I just sent a 5$ testing transfer to one of the listed addresses in the wallet. But it still doesnt work with the Master Public Key, or the websites doesnt send the correct BITCOIN addresses to customers in their order confirmation as I just said above.

Please advise.
Thanks  Huh Huh Huh
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 05, 2017, 03:49:06 AM
 #2

You're probably using the wrong Derivation Path to generate the addresses off your Electrum Master Public Key. Electrum DOES NOT use BIP44 derivation path of m/44'/0'/0'

Try using m/0 and see if that generates the correct addresses. You can experiment here: https://iancoleman.io/bip39/ (You can download and run it "offline"... but it shouldn't matter with xpubs Wink

- Set "BIP32 Root Key" (at the top) to be your xpub
- Click the "BIP32" tab
- Set "Client" to "Custom derivation path"
- Set "BIP32 Derivation Path" to m/0

You should get the same addresses generated at the bottom as you get from Electrum.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!