Closed fabiomattes2016 closed 5 years ago
How can I get an address using the phrase seed?
// MAINNET $wk = new WavesKit(); $wk->setSeed( 'manage manual recall harvest series desert melt police rose hollow moral pledge kitten position add' ); $address = $wk->getAddress(); $wk->log( $address );
// TESTNET $wk = new WavesKit( 'T' ); $wk->setSeed( 'manage manual recall harvest series desert melt police rose hollow moral pledge kitten position add' ); $address = $wk->getAddress(); $wk->log( $address );
> And how can I get the private key using the seed phrase?
```php
$wk = new WavesKit();
$wk->setSeed( 'manage manual recall harvest series desert melt police rose hollow moral pledge kitten position add' );
$privateKeyBase58 = $wk->getPrivateKey( false );
$wk->log( $privateKeyBase58 );
Tank you
How can I get an address using the phrase seed?
And how can I get the private key using the seed phrase?