Closed NicolasDP closed 6 years ago
add function to create account only public key derivation, useful for generating addresses without needing to keep a private key or the seed in memory somewhere, only the public key of the account.
const wallet = CardanoCrypto.Wallet.fromSeed([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]).result;
const account = CardanoCrypto.Wallet.newAccount(wallet, 0).result;
const addresses = CardanoCrypto.Wallet.generateAddresses(account, 'External', [0,1,2,3]).result;
ping @AlanVerbner , @mirkoAlic
add function to create account only public key derivation, useful for generating addresses without needing to keep a private key or the seed in memory somewhere, only the public key of the account.
How to use:
create a wallet
create an account
generate addresses from the account
ping @AlanVerbner , @mirkoAlic