// The winner is responsible for withdrawing the funds
// after the button expires
function Win() public {
require(msg.sender == winner);
require(now > deadline);
reward = 0;
winner.transfer(reward);
}
There is zero chance I'll click the button, but an interesting idea of the goal is to pay to get the plugin on users machines and get people to discuss WTH.
That said the page is unclear in a few ways. What's the $1? Is that just to validate I have an account (meaning I get to keep it)? Is that the cost to enable the button, meaning once I transfer it I get unlimited future button clicks? Is that the cost per click of the button? Is that some inherent Etherium contract cost? Is there an inherent cost to clicking the button? If so, who set it, you or the blockchain processors?
It then brings up the next big problem. It's nice that you provided the source code foe the button (and I'm assuming hash so I can in theory validate the code against a hash), but how do I know the page I'm loading is even comnected to the code or the button? Or that the plugin isn't hard wired to empty my account?
It seems like you need a fully trusted chain for a user to have faith in the contract.
I think some of the questions you're asking have well known answers within the Eth community, but OP should have provided a FAQ or links.
To register a button click with the smart contract, you must send a transaction over the Eth network, which has an associated transaction cost. I'm fairly certain that you must pay once per click. However, there should be a way to send these transactions from a console like `geth`, so that the browser extensions are purely convenience features.
> I think some of the questions you're asking have well known answers within the Eth community, but OP should have provided a FAQ or links.
What you've called out out is exactly my point. His goal is to reach new people, and his message is targeted only at those already familiar.
Possibly I'm exactly the type of person he is looking for. Someone on the fringe of crypto, curious about it, maybe would dip a toe in for an excuse. Finds game theory interesting (thought normally wouldn't participate in this type of game). But I left just thinking, him this guy it trying to do something, but I don't feel like figuring out exactly what he's trying to do, or all the vectors of how this might just be a scam.
A general life lesson - if someone wants to enter a financial transaction with you, but is un-wiling or unable to provide a clear accounting of the costs and their beneficiaries... Don't.
My initial impression was that this was a modified form of a Dollar Action, and Op didn't provide enough information to dissuade me of that.
Now that said, I think the OP isn't malicious at all, but was simply unaware of how he was presenting which is why I came here and posted my comment rather than just leave the website and not look back.
This is a simple Penny Auction - https://en.wikipedia.org/wiki/Bidding_fee_auction. Not a scam per se but a bit of a racket as the operator typically brings home a lot of money as people are putting much more money in to the pot then is actually paid out.
It occurred to me 'why not set the timer to reset automatically within rand() of 5 minutes if no one's pressed it, collecting whatever loot gets deposited'.
Two reasons:
1) auditable code
2) transparent deposits and withdrawals
I'm generally skeptical of smart contracts' real-world use but this is a rare case in which an immutable, trustless public ledger is essential.
"ERROR: PLEASE INSTALL METAMASK TO USE THE BUTTON."
WTF? Screw you dude.
Don't draw the button if I can't click it! Don't say I can do one thing then force me to do another. That is bait-and-switch.
This is along the same lines as videogames showing DLC content you haven't paid for in the exact same way as the game's regular content. It's an obnoxious ploy to get you to buy the DLC, and they get to remind you of that fact every time you click it.
Sorry! I changed the message. To interact with smart contracts, you need some kind of wallet. A really common one is the MetaMask wallet, which is a chrome extension. Other options are Mist (the official Ethereum wallet), Parity, and there is even a web wallet called myetherwallet.com
Maybe it is, but here's my impression of metamask from this link without any prior knowledge or information.
Metamask breaks buttons on the web, holding the UX hostage until you comply with its order to install some unknown and untrusted software. I will now avoid 'metamask' for life and if I ever see it I'll run away. I will also occasionally go out of my way to get others to avoid this software, as it seems to do nothing but break UX on the web. Get rid of it!
Edit: I'm referring, of course, to the loud, shouting message below the broken website's button that says "ERROR: PLEASE INSTALL METAMASK TO USE THE BUTTON." What did I do wrong? What did I do that so offended this website, that it must show me some secret UI that I cannot access without complying to hostage messages being yelled at my face, and telling me that I'm to blame for the "error"? No, stop it. 'Metamask' is obviously no good.
Thanks, yea I've realized that there is little incentive to share this out, upvote, etc. I think Smart Contracts are a great way to test out some of these game theory scenarios though :)
Good point, I'll change the message. MetaMask is a common browser extension which allows you to interact with Smart Contracts on the web. Other alternatives are Mist, Parity, or myetherwallet.com