Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the above you have to make sure that your account web3.eth.accounts[0] is unlocked and has enough eth. In the command line output you will see something like:

 

Code Block
collapsetrue
> var daoCreatorContract = creatorContract.new({from: web3.eth.accounts[0], data: creator_bin, gas: 4000000});I0420 00:37:20.795526 core/blockchain.go:959] imported 1 block(s) (0 queued 0 ignored) including 3 txs in 13.462901ms. #786251 [441a4574 / 441a4574] I0420 00:37:21.938507 eth/api.go:1150] Tx(0x46e61c63d8dd667cf113522f67d5c3a37b7e16e6e21922c661e9c7578a0df380) created: 0xa3bd72ef78f588a957f9a55994fd43f53f844314 undefined > I0420 00:37:23.988029 core/blockchain.go:959] imported 1 block(s) (0 queued 0 ignored) including 0 txs in 3.471802ms. #786252 [83c4fed7 / 83c4fed7]

 

The address after 'created:' is the address of your new DAO_Creator contract. Remember it.

...