Versions Compared

Key

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

...

After you decide what values you want for you DAO then you can proceed with the CLI as before. Type the following in order substituting DAO_ABI and DAO_BIN for the json ABI and binary you generated with solc,creator_address with the address of the DAO creator contract generated in the previous step and all the variables of the constructor as mentioned above.

Code Block
languagejs
var dao_abi = DAO_ABI; 
var dao_bin = 'DAO_BIN'; 
var daoContract = web3.eth.contract(dao_abi); 
var dao = daoContract.new(
			curator, 
			creator_address, 
			web3.toWei(proposalDeposit, "ether"), 
			web3.toWei(minTokensToCreate, "ether"), 
			closingTime, 
			0, 
			{from: web3.eth.accounts[0], data: dao_bin, gas: 4000000}
);

...