I am trying to implement my wallet using ed25519 curve, i was using tweetnacl from this link "https://github.com/dchest/tweetnacl-js" its working, But i want to generate deterministic key-pair creation from the 12 word seed.similar to eth-lightwallet/metamask. How i can create it,using edd25519 curve need help.


you can use function: nacl.sign.keyPair.fromSeed(seed)

For generating random seed, use npm package bip39



// Generate a random mnemonic (12 words) (uses crypto.randomBytes under the hood)

var mnemonic = bip39.generateMnemonic()

// Convert 12 word mnemonic to 32 byte seed


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.