Посмотреть-то можно. А понять? Я очень подозреваю, что здесь никто из присутствующих не сможет "на пальцах" объяснить код простейшего контракта. Что-нибудь типа "2+2=4" или "Hello, world"
Теоретически, тебе не нужно понимать Solidity чтобы не быть обманутым. Достаточно одного понимающего человека, который напишет что есть обман/подвох в контракте. Если ты не понимаешь Solidity, но нет негативных отзывов о контракте и в нем участвует много людей, то шанс быть обманутым минимален.
Post
Topic
BoardАльтернативные криптовалюты
Re: [ETH] Ethereum смарт-контракты и приложения
by
EtherDoubler
on 21/02/2016, 00:11:56 UTC
Есть идея сделать эфириум лотерею. Например, каждый посылает 1-2 эфириума на адрес контракта. Раз в месяц случайно выбирается победитель и ему уходит вся сумма. Как вам идея?
Post
Topic
BoardАльтернативные криптовалюты
Re: [ETH] Ethereum смарт-контракты и приложения
by
EtherDoubler
on 21/02/2016, 00:01:21 UTC
Отправил заявку, появиться как верифицируют
Post
Topic
BoardService Announcements (Altcoins)
Re: [ETH] EtherDoubler.com - the first doubler with verified contract
uint public payoutIdx = 0; uint public collectedFees = 0; uint public balance = 0; uint public timeout = now + 1 weeks;
address public owner;
// simple single-sig function modifier modifier onlyowner { if (msg.sender == owner) _ }
// this function is executed at initialization and sets the owner of the contract function DoubleTx() { collectedFees += msg.value; owner = msg.sender; }
// fallback function - simple transactions trigger this function() { enter(); }
function enter() { //send more than 0.1 ether and less than 50, otherwise loss all if (msg.value >= 100 finney && msg.value <= 50 ether) { //update contract balance balance += msg.value;
// add a new participant to array and calculate need balance to payout uint idx = participants.length; participants.length += 1; participants[idx].etherAddress = msg.sender; participants[idx].PayAmount = 2 * msg.value;
uint NeedAmount = participants[payoutIdx].PayAmount; // if there are enough ether on the balance we can pay out to an earlier participant if (balance >= NeedAmount) { participants[payoutIdx].etherAddress.send(NeedAmount);
с тобой сложно конкурировать, но можно, у меня другая просто идея возникла, не по удвоителям, но похожее, скажи как ты вебморду через мист подключаешь? и ещё сколько поступило и т.д. ты откуда читаешь инфу? с live.ether.camp?
Инфа парситься с http://api.etherscan.io на клиенте. Если включишь консоль то увидишь запросы каждый 10 сек.