[{"data":1,"prerenderedAt":349},["ShallowReactive",2],{"project-16233189":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":47,"post_text":48,"what":49,"said":83,"maker_in_thread":187,"shape":193,"grid":196,"attempts":310,"same_week":311,"maker_shows":39,"maker_hidden":341,"reader_version":342,"card":343},"16233189","The Crypto Button","The last person to use this button gets $200+ USD, via Smart Contracts","title","Show HN: The last person to use this button gets $200+ USD, via Smart Contracts","https:\u002F\u002Fthecryptobutton.com\u002F","thecryptobutton.com","masterspy7",1516904862,2018,27,45,1044,2155,49,"shown","finance_crypto","ethereum smart contract game","web_app",[24,25,26,27,28],"ethereum","smart contract","penny auction","metamask","dollar auction","roasted",-0.395,{"positive":32,"neutral":33,"mixed":34,"critical":35},3,12,0,16,31,{"execution":38,"docs":40,"idea":42,"pricing":45,"design":46},{"positive":34,"critical":39},5,{"positive":34,"critical":41},1,{"positive":43,"critical":44},2,4,{"positive":34,"critical":41},{"positive":34,"critical":44},[41,34,34,34,34,32,41,32,32,34,34,41,34,34,32,41,41,41,41,32,32,32,32,32,41,34,39,41,32,34,41,41,41,34,41,41,34,34,39,41],null,{"problem":48,"audience":48,"pricing":50,"motivation":48,"time_to_build":48,"stack":65,"openness":81,"stage":82,"team_size":81},{"value":51,"source":52,"evidence":53},"Each click costs $1 and 20% goes to the operator","commenter",[54,58,62],{"id":55,"by":56,"text":57},"16233697","fixermark","Costs $1 to click, one person wins? So it's basically a penny (well, dollar technically) auction of cash instead of a good?",{"id":59,"by":60,"text":61},"16233923","Tepix","The author takes a 20% cut: ``` reward += msg.value * 8 \u002F 10; \u002F\u002F Take 20% tip for server costs. tips += msg.value * 2 \u002F 10; ``` That must be a very expensive server indeed. Isn't…",{"id":63,"by":60,"text":64},"16233877","Well, someone will win eventually. Consider it a lottery. 20% goes to the author.",[66,77],{"value":67,"source":52,"evidence":68},"Ethereum smart contracts",[69,73],{"id":70,"by":71,"text":72},"16233753","grapehut","Looks like the winner gets precisely 0: ``` \u002F\u002F The winner is responsible for withdrawing the funds \u002F\u002F after the button expires function Win() public { require(msg.sender ==…",{"id":74,"by":75,"text":76},"16233799","supermdguy","Summary of how this works from reading the smart contract: 1. User deposits ether to contract (at least 0.001 ether) 2. Creator of this takes 20% for server costs 3. The other…",{"value":78,"source":52,"evidence":79},"web3js",[80],{"id":59,"by":60,"text":61},"unknown","launched",{"praise":84,"objections":95,"requests":150,"questions":166,"alternatives":178},[85],{"value":86,"source":52,"evidence":87},"Interesting experiment in game theory",[88,91],{"id":89,"by":11,"text":90},"16233422","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…",{"id":92,"by":93,"text":94},"16233821","danny_taco","I was going to click it then realized you need to pay $1. Interesting experiment nonetheless.",[96,110,125,136,146],{"value":97,"source":52,"evidence":98},"Contract bug: the winner's prize is set to zero and funds are locked",[99,100,103,107],{"id":70,"by":71,"text":72},{"id":101,"by":11,"text":102},"16233787","Oh god, I messed up horribly. Will refund everyone who paid",{"id":104,"by":105,"text":106},"16233847","croddin","And the tips can't be withdrawn either. All the money stays in the contract? ``` function withdrawTips() public { \u002F\u002F The owner can only withdraw the tips tips = 0;…",{"id":108,"by":11,"text":109},"16233867","Yea, all the money is gone forever... :( I added that code in last minute and wasn't even thinking when I did it.",{"value":111,"source":52,"evidence":112},"Requires MetaMask install, which reads as bait-and-switch",[113,117,121],{"id":114,"by":115,"text":116},"16233679","tomc1985","\"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…",{"id":118,"by":119,"text":120},"16233705","cryptoz","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…",{"id":122,"by":123,"text":124},"16233604","Retric","IMO, ERROR: PLEASE INSTALL METAMASK TO USE THE BUTTON makes the contract meaningless.",{"value":126,"source":52,"evidence":127},"Works like a penny\u002Fdollar auction that favours the operator",[128,132],{"id":129,"by":130,"text":131},"16233752","Feeble","This is a simple Penny Auction - https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FBidding_fee_auction. Not a scam per se but a bit of a racket as the operator typically brings home a lot of money…",{"id":133,"by":134,"text":135},"16233745","defen","Yeah, this is well-studied in entry level econ \u002F psychology. The only way to win is not to play.",{"value":137,"source":52,"evidence":138},"Unclear costs and fees on the page",[139,143],{"id":140,"by":141,"text":142},"16233674","BoiledCabbage","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…",{"id":144,"by":141,"text":145},"16234499","> 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…",{"value":147,"source":52,"evidence":148},"20% cut is too high for hosting",[149],{"id":59,"by":60,"text":61},[151,159],{"value":152,"source":52,"evidence":153},"Add a FAQ explaining costs and how it works",[154,158],{"id":155,"by":156,"text":157},"16233758","maksimum","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…",{"id":144,"by":141,"text":145},{"value":160,"source":52,"evidence":161},"Refund the people who paid into the broken contract",[162,163],{"id":101,"by":11,"text":102},{"id":164,"by":11,"text":165},"16233840","Fixed the contract and will refund anyone who clicked on the old contract",[167,174],{"value":168,"source":52,"evidence":169},"Can the button be reset without MetaMask login?",[170],{"id":171,"by":172,"text":173},"16235586","airbreather","It is broken, I was able to reset the button without logging into Metamask.",{"value":175,"source":52,"evidence":176},"Does the page match the audited contract code?",[177],{"id":140,"by":141,"text":142},[179,183],{"value":180,"source":52,"evidence":181},"Penny auctions \u002F bidding fee auctions",[182],{"id":129,"by":130,"text":131},{"value":184,"source":52,"evidence":185},"Dollar auction game",[186],{"id":144,"by":141,"text":145},{"comments":188,"answered":43,"key":189},6,[190,191,192],{"id":101,"text":102},{"id":164,"text":165},{"id":108,"text":109},{"commenters":194,"max_depth":39,"maker_replies":188,"first_comment_mins":195,"lifespan_hours":195},28,18,[197,199,201,205,209,211,215,217,220,222,225,227,230,231,232,236,237,239,241,243,244,245,247,250,253,255,259,261,263,266,269,272,274,278,279,283,287,291,293,294,297,301,304,307,308],[70,34,41,198,71,34],"project\u002Fcritical\u002Fexecution",[101,34,34,200,11,41],"maker\u002Fcritical\u002Fexecution",[202,34,34,203,204,34],"16233792","other\u002Fneutral\u002Fnone","Ocha",[206,34,34,207,208,34],"16233839","commenter\u002Fneutral\u002Fnone","Analemma_",[164,34,34,210,11,41],"project\u002Fneutral\u002Fexecution",[212,34,32,213,214,34],"16233845","project\u002Fneutral\u002Fdocs","leijurv",[216,34,41,198,214,34],"16233853",[218,34,32,219,60,34],"16233860","maker\u002Fneutral\u002Fexecution",[221,34,32,210,204,34],"16233806",[223,34,32,210,224,34],"16233823","mmozeiko",[226,34,34,207,204,34],"16233857",[228,34,34,229,75,34],"16233846","commenter\u002Fneutral\u002Fexecution",[104,34,41,198,105,34],[108,34,34,198,11,41],[233,34,34,234,235,34],"16234207","other\u002Fcritical\u002Fidea","GenericsMotors",[140,41,32,213,141,34],[155,41,34,238,156,34],"commenter\u002Fneutral\u002Fdocs",[144,41,41,240,141,34],"project\u002Fcritical\u002Fdocs",[129,43,41,242,130,34],"project\u002Fcritical\u002Fidea",[55,32,41,242,56,34],[133,32,41,242,134,34],[63,32,32,246,60,34],"project\u002Fneutral\u002Fpricing",[248,32,32,249,60,34],"16238620","project\u002Fneutral\u002Fnone",[251,44,32,210,252,34],"16233713","Matheus28",[254,44,32,210,60,34],"16233871",[256,39,39,257,258,34],"16233789","project\u002Fpositive\u002Fidea","cribbles",[260,39,41,198,60,34],"16233885",[114,188,41,262,115,34],"project\u002Fcritical\u002Fdesign",[264,188,34,265,11,41],"16233714","maker\u002Fneutral\u002Fdocs",[267,188,39,268,115,34],"16233726","maker\u002Fpositive\u002Fnone",[59,270,41,271,60,34],7,"project\u002Fcritical\u002Fpricing",[74,273,32,249,75,34],8,[275,276,34,203,277,34],"16233623",9,"bsparker",[118,276,41,262,119,34],[280,276,41,281,282,34],"16233742","project\u002Fcritical\u002Fnone","CharlesW",[284,285,32,286,252,34],"16234034",10,"project\u002Fneutral\u002Fidea",[288,289,41,242,290,34],"16233344",11,"sova",[89,289,34,292,11,41],"maker\u002Fneutral\u002Fidea",[122,289,41,262,123,34],[295,289,41,262,296,34],"16233613","Psilidae",[298,289,34,299,300,34],"16233658","commenter\u002Fneutral\u002Fdesign","subie",[302,289,34,303,11,41],"16233654","maker\u002Fneutral\u002Fdesign",[305,289,39,257,306,34],"16235032","gremlinsinc",[92,33,32,246,93,34],[171,309,41,198,172,34],13,[],[312,317,322,327,332,336],{"id":313,"name":314,"points":315,"category":316},"16274686","Observable",654,"dev_tools",{"id":318,"name":319,"points":320,"category":321},"16273609","D StatusPage",316,"infrastructure",{"id":323,"name":324,"points":325,"category":326},"16273171","upvote.pub",275,"learning_science",{"id":328,"name":329,"points":330,"category":331},"16249048","BucketCompressionTrick",188,"languages",{"id":333,"name":334,"points":335,"category":326},"16237558","Interactive Ansible Tutorial",170,{"id":337,"name":338,"points":339,"category":340},"16259542","Card Proxy Generator",162,"games",false,"v2",{"id":344,"name":5,"line":6,"ai":341,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":345,"top":18,"kw":346,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":347,"url":9,"mix":348,"praise":86,"objection":97,"sub":21},16233189,-0.39,[24,25,26,27,28],"1000031330010031111333331051301110110051",[32,33,34,35],1794036562855]