In geth console we can create a new address like this:


I'm looking for a library which can create a new account with my password without any Ethereum node.

  • 1
    If you are going through with this, you should require a large minimum number of characters. Otherwise, it would be easily brute-forced. :-)
    – Jesbus
    Commented Dec 25, 2017 at 11:47
  • You should be aware that geth does not use the password to generate the address, it is always randomly generated. The password only is used to encrypt the generated private key. Also brain wallets are considered not very secure.
    – Ismael
    Commented Dec 26, 2017 at 4:30

2 Answers 2


keythereum can do it

const path = require("path")
const keythereum = require("keythereum")

const dk = keythereum.create()
const password = "WhenLambo"
const keyObj = keythereum.dump(password, dk.privateKey, dk.salt, dk.iv)
console.log("keyObj", keyObj)

const keystoreDir = path.join(__dirname, "../data")
keythereum.exportToFile(keyObj, keystoreDir)

Keyethereum, ethjs, lightwallet and theses are not alone.

Check before asking! Google, Github... there is plenty of ressourve and library to generate account in differents way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.