Saturday, March 2, 2019

Generating HD wallet addresses from xpub key using PHP, up to date method? $100 BTC reward for help!

Hi, I've been trying to get this working for a short while now and I am at a loss of what else to do.

I initially found this guide: https://freedomnode.com/blog/58/generate-bitcoin-wallet-addresses-from-extended-public-key-with-php

But have been getting this error:

Fatal error: Uncaught InvalidArgumentException: Invalid fingerprint for BIP32 key, must be in range [0 - (2^31)-1] inclusive in [path_redacted]\vendor\bitwasp\bitcoin\src\Key\Deterministic\HierarchicalKey.php:82 

I believe this error is caused by a fairly recent change to the repository, I've tried using these examples:

https://gist.github.com/daftspunk/8cc1dd787e97bcf4fa563a83102597c1

https://www.reddit.com/r/Bitcoin/comments/4j468c/php_to_generate_hd_addresses_coding_issues/

Same issue, can anyone with more knowledge on this help to debug? Able to offer a $100 BTC reward! Thanks :)

Pinging /u/turbr0 /u/loserkids /u/bitcointhailand



No comments:

Post a Comment