I'm on OS X.
Following this tutorial https://medium.freecodecamp.org/from-what-is-blockchain-to-building-a-blockchain-within-an-hour-4e738efc819d
I ran into some trouble where the author says to run geth personal.newAccount()
in the geth console:
Creating a Blockchain The following creates the Blockchain, with the maxpeers command is set to 0 to disable the network. mkdir eth-data geth --datadir eth-new genesis.json init eth-new/genesis.json --networkid 123 --nodiscover --maxpeers 0 console In the geth console, type the following to make a new account and create a new password by typing in whatever you want. You will have to type your new password twice. personal.newAccount()
I didn't see a console cursor so plugged that in the command line, followed by a password.
geth personal.newAccount()\npassword
Now when I try to run any geth command I get this:
geth:129: command not found:password.
I deleted with brew uninstall
, reinstalled, same problem. I killed all processes and looked for a config file in a variety of places.
Any thoughts on how to start over or fix this problem?
geth
alias got messes up. Aliases are usually loaded at initialization of your shell so look in.bash_profile
or.bashrc
in your home directory.