Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Как можно сгенерировать адреса из seed? #2

Closed
DevAza opened this issue May 21, 2019 · 1 comment
Closed

Comments

@DevAza
Copy link

DevAza commented May 21, 2019

Здравствуйте!
Я хочу создать много адресов HD Wallet.
Но как из $HDKey вытащить адрес BIP кошелька?

Привожу код:

use BIP\BIP44;

$seed = 'bcffab2ee26426c09a8486215a07a1a4b6a6b71b0db1947575477f1e113b08cafbe9465d41eb06573d29f298245a80f2be3a215aeb69d8f4c606168c8d334cc8';

$HDKey = BIP44::fromMasterSeed($seed)->derive("m/44'/60'/0'/0/0");

@grkamil
Copy link
Member

grkamil commented May 27, 2019

Здравствуйте, Вы имеете в виду BIP кошелек для блокчейна Minter ? Можете использовать https://github.com/MinterTeam/minter-php-sdk для этого.

@grkamil grkamil closed this as completed Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants