I’m able to a new key and associated public addresses using bitcoin-core, but what I really want to do is generate a new key from a word . I’m not sure how to go about this and I have not been able to find any examples.

BIP-9 Word list:


Current code:

var bitcore=require("bitcore-lib");
var buffer=bitcore.crypto.Random.getRandomBuffer(256);
var =bitcore.crypto..sha256(buffer);
var bn=bitcore.crypto.BN.fromBuffer();
var pk=new bitcore.PrivateKey(bn).toWIF();
var =new bitcore.PrivateKey(bn).toAddress()+'';

If I understand correctly I will generate a hash from 24 randomly selected words (from the BIP-39 word list) then use that to generate a private key. What are the steps and format for hashing the seed phrase?

Source link
Blockchain – Crypto – Currency infomation
thanks you RSS link
( https://bitcoin.stackexchange.com/questions/71638/generate-private-key-from-a-bip-39-seed-phrase)


Please enter your comment!
Please enter your name here