dan-da / hd-wallet-derive

A command-line tool that derives bip32 addresses and private keys.
GNU General Public License v3.0
218 stars 77 forks source link

Using this inside a PHP project #42

Open geethpw opened 3 years ago

geethpw commented 3 years ago

Can you explain how to use this inside a PHP project. IE: Laravel.

ynohtna92 commented 3 years ago

You should be able to include it into your project with composer require dan-da/hd-wallet-derive.

@dan-da has to update the WalletDerive.php class so it doesn't call its own autoload however (or you can just comment out line 5).

There also a lot of unnecessary console prints that occur when running it via its class instead of through the CLI wrapper.