Our Blog

admin by admin

GUI клиент Ethereum 0.3.7(beta)




Данный GUI кошелек сети Ethereum  позволяет использовать контракты. Для установки больше не нужно выполнять команды из терминала или командной строки. Кроме того ускорен процесс синхронизации — нет необходимости синхронизировать кошелек с 0 блока.

Вы можете выполнить тесты DAO, используя данные контракты и следуя по шагам:

  • Get the code to create a Custom Token: sonf go to contracts > deploy new contract
  • Use 10000 as the _supply, 2 as _decimals and % as the symbol. Click deploy and wait a few seconds for your code to be picked up.
  • Now go to the contract page (its on the «latest transaction» table on the dashboard or on the Contracts page) and click «copy address to clipboard». Save that somewhere.
  • Get the code to create a DAO: and paste it on the contracts > deploy new contract page.
  • Use the address you saved earlier as the sharesAddress, put 1000 on minimumSharesForVoting to reject any proposal that doesn’t have at least 10% of shares behind it and put any number you want on minutesForDebate. If you just want to do a quick test, use a small amount like 5-30, but if you actually want it at least a week of full debates before any proposal can be executed, then put 10000 or more.
  • Click deploy and wait a few seconds for the transaction to be picked up
  • Go to the contract page and click «show contract info». You can read all the information about the contract on the left column.
  • Pick newProposal. Add the recipient you want to receive the ether, the amount and a string. If you want it to execute some code, add the contract data on the last box. Click «execute».
  • Pick vote. Select the user that you want to vote with, the proposal number and click «YES» if you support the proposal.
  • Pick executeProposal. Proposals can only be executed if the minimum amount of time to vote has passed and if enough users have voted to surpass the minimum quorum. Choose the proposal number, click «execute» and it will count up the votes. If it passes it will send the amount asked and execute the code.



Похожие публикации

Отправить сообщение