Created
November 25, 2020 07:41
-
-
Save askaaqib/f9a501f5ce4bfe4e901671aa298bdc21 to your computer and use it in GitHub Desktop.
Create Master Key from Seed - BIP32 PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
$seed = "000102030405060708090a0b0c0d0e0f"; | |
echo "<pre>"; | |
require "../vendor/autoload.php"; | |
$mskobj = \FurqanSiddiqui\BIP32\BIP32::MasterKey($seed, "512"); | |
$msk1 = $mskobj->raw(); | |
echo "<h3>Master Key </h3>"; | |
print_r($msk1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment