[Ethereum] How to generate ethereum address derived from xpub in PHP

ethergo-ethereumprivate-key

How to generate ethereum address derived from xpub in PHP?

I am trying to generate ethereum address similar like below link does for bitcoin.

https://github.com/blockchain/receive-payments-demos

I want to use one xpub and generate multiple ethereum addresses.

Thanks in advance.

Best Answer

You can find complete tool for it here: https://github.com/dukei/hd-wallet-derive

$ ./hd-wallet-derive.php -g --key=xpub6BfKpqjTwvH21wJGWEfxLppb8sU7C6FJge2kWb9315oP4ZVqCXG29cdUtkyu7YQhHyfA5nt63nzcNZHYmqXYHDxYo8mm1Xq1dAC7YtodwUR --numderive=3 --cols=path,eth_address

Related Topic