We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is currently cumbersome to work with this library as it always requires the following:
import { ExtendedKey, MnemonicPassPhrase, Wallet, } from 'symbol-hd-wallets' const mnemonic = MnemonicPassPhrase.createRandom() const xkey = ExtendedKey.createFromSeed(mnemonic.toSeed()) const wallet = new Wallet(xkey) console.log(`Private Key: ${wallet.getAccount().privateKey}`) console.log(`Public Key: ${wallet.getAccount().publicKey}`) console.log(`Address: ${wallet.getAccount().address.plain()}`)
Multiple disadvantages to the above snippet result in following task list:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is currently cumbersome to work with this library as it always requires the following:
Multiple disadvantages to the above snippet result in following task list:
The text was updated successfully, but these errors were encountered: