Creating an account

Hey guys!

First congrats on launching Frontier and getting the genesis Block out there.

I am pretty green when it comes to Etherium, but I am learning the ropes!

I was having some issues when creating the account. I was able to download the ETH client, create the genesis block and start downloading the blockchain.

Next step I wanted to create an account, but the instructions are not too clear:

"web3.admin.eth.newAccount({name:"account01",password:"Write here a good, randomly generated, passphrase!", passwordHint:"my hint"})"

On all the other steps I just used CMD line from windows. Now web3 looks like javascript, do we need to install a console or something else to run that command line? Definitely not something that runs under the windows console.

Thanks!!!

Comments

  • MaranMaran Member Posts: 7
    You can run `geth console` and type it in there.
  • t824601t824601 Member Posts: 2
    Thanks Maran, I figured ETH also has a launchable console!
  • AntiimatterAntiimatter Member Posts: 3
    You can launch the eth console by using ethconsole.exe in the Ethereum install directory. Mine is at G:\Programs\Ethereum\Release\ethconsole.exe.
  • sclopitsclopit Member Posts: 10
    I am also very confused.

    Following instructions from

    https://ethereum.org/ether

    I used the command

    eth --frontier -b --genesis path/to/genesis.json -i -m on --G

    to start my eth console (at least that's what I think the command above does: if the console is started in any other way, I don't know where the instructions to
    do so can be found)

    next, following instructions from

    https://ethereum.org/cli

    I typed at the prompt

    web3.admin.eth.newAccount({name:"account01",password:"Write here a good, randomly generated, passphrase!", passwordHint:"my hint"})

    (naturally, after replacing "account01", "Write here a good, randomly generated, passphrase!" and "my hint" with the values I actually wanted to use).

    what I received is the error message

    Unrecognized Command

    Typing 'help' at the console prompt returns

    > help
    Commands:
    netstart Starts the network subsystem on a specific port.
    netstop Stops the network subsystem.
    jsonstart Starts the JSON-RPC server.
    jsonstop Stops the JSON-RPC server.
    connect Connects to a specific peer.
    verbosity () Gets or sets verbosity level.
    minestart Starts mining.
    minestop Stops mining.
    mineforce Forces mining, even when there are no transactions.
    address Gives the current address.
    secret Gives the current secret
    block Gives the current block height.
    balance Gives the current balance.
    transact Execute a given transaction.
    send Execute a given transaction with current secret.
    contract Create a new contract with current secret.
    peers List the peers that are connected
    listAccounts List the accounts on the network.
    listContracts List the contracts on the network.
    setSecret Set the secret to the hex secret key.
    setAddress Set the coinbase (mining payout) address.
    exportConfig Export the config (.RLP) to the path provided.
    importConfig Import the config (.RLP) from the path provided.
    inspect Dumps a contract to /.evm.
    dumptrace Dumps a transaction trace
    to . should be one of pretty, standard, standard+.
    dumpreceipt Dumps a transation receipt.
    exit Exits the application

    none of these commands appear related to the task of creating an account.

    I have consulted

    http://ethereum.gitbooks.io/frontier-guide/content/creating_accounts.html

    but, as of today, that section only contains instructions on how to create an account from the geth client.

    I feel very, very, frustrated.
  • sclopitsclopit Member Posts: 10
    for completeness, I am using

    eth version 0.8.2
    Network protocol version: 54
    Client database version: 5
    Build: linux/clang/int/Release

    on a MacBook Pro OSX 10.10.4
  • Marvell9Marvell9 Member Posts: 593 ✭✭✭
    t824601 said:

    Hey guys!

    First congrats on launching Frontier and getting the genesis Block out there.

    I am pretty green when it comes to Etherium, but I am learning the ropes!

    I was having some issues when creating the account. I was able to download the ETH client, create the genesis block and start downloading the blockchain.

    Next step I wanted to create an account, but the instructions are not too clear:

    "web3.admin.eth.newAccount({name:"account01",password:"Write here a good, randomly generated, passphrase!", passwordHint:"my hint"})"

    On all the other steps I just used CMD line from windows. Now web3 looks like javascript, do we need to install a console or something else to run that command line? Definitely not something that runs under the windows console.

    Thanks!!!

    I gave up on ethconsole, i get errors when i try to run commans , object not found etc . Do your self a favor and run geth if you can
Sign In or Register to comment.