Bitcoinjs-lib: Exporting my private key , public key and recieving address lists directly from my own seed list

Created on 15 May 2018  路  7Comments  路  Source: bitcoinjs/bitcoinjs-lib

Hello ,

I had randomly choosen 10 different mnemonic combinations of 12 words withchecksum validated. Now how should i automatically export 10 private keys , public keys and address to an txt file with each corresponding combination using bitcoinjs. How to tell the script about using bip44 as derivation path and choosing coin and account as in ian coleman script. Can someone help.

how to / question / docs

Most helpful comment

If you want to run that in nodejs, i suggest that you fork the repo and make the required changes to make it work in nodejs.

(bitcoinjs-lib is primarily developed under nodejs)

All 7 comments

@vishal2241 this borders on asking us to write your code for you. Have you actually run into any problems? What have you tried.

@vishal2241 What you're looking for is already open source?
https://github.com/iancoleman/bip39

@rbndg yes dear , that i know , but it runs in browser only and is very slow , i am looking for a way to do this process automatically using this library to save time.

That repo is powered by bitcoinjs-lib as well.

If you want to run that in nodejs, i suggest that you fork the repo and make the required changes to make it work in nodejs.

If you want to run that in nodejs, i suggest that you fork the repo and make the required changes to make it work in nodejs.

(bitcoinjs-lib is primarily developed under nodejs)

ECDSA is slow.

A language like golang would be faster imo

@dabura667 4.0.0 uses the native C library secp256k1... I don't think we'll get faster without forgoing the entirely library in JS!
The bindings cost difference between Node/Go is probably different, but not _that_ different.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dakk picture dakk  路  3Comments

askucher picture askucher  路  3Comments

Beardcoding picture Beardcoding  路  3Comments

yakitorifoodie picture yakitorifoodie  路  3Comments

dcousens picture dcousens  路  3Comments