TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp

344 点作者 ontoillogical超过 7 年前

35 条评论

ontoillogical超过 7 年前
Author here. My friend and I have been doing some smart contract audits, and we wanted to build a fun contract ourselves. We remembered the Million Dollar Homepage from 12 years ago, and decided to reimagine what it would look like today _on the blockchain_.<p>Not an ICO, more of an experiment &#x2F; art project.<p>We present, the Thousand Ether Homepage: <a href="https:&#x2F;&#x2F;thousandetherhomepage.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thousandetherhomepage.com&#x2F;</a><p>The smart contract itself: <a href="https:&#x2F;&#x2F;etherscan.io&#x2F;address&#x2F;0xb5fe93ccfec708145d6278b0c71ce60aa75ef925#code" rel="nofollow">https:&#x2F;&#x2F;etherscan.io&#x2F;address&#x2F;0xb5fe93ccfec708145d6278b0c71ce...</a><p>What’s cool about it:<p>- It’s immortalized on the Ethereum blockchain. As long Ethereum is around, your ad slot will be yours to do with it what you please. No need to rely on us to run the service indefinitely.<p>- There’s no email signups, no passwords, no credit cards.<p>- You buy ads by calling a method on the smart contract with the correct Ether value, and tada. All done from an Ethereum-enabled browser (like the MetaMask extension or Mist&#x2F;Parity.<p>- Once you buy an ad, the DApp _knows_ who you are from the wallet integration and you can edit it without logging in explicitly.<p>---<p>All the code is open source, so check out the nitty gritties: <a href="https:&#x2F;&#x2F;github.com&#x2F;thousandetherhomepage&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;thousandetherhomepage&#x2F;</a>
评论 #15395850 未加载
评论 #15397421 未加载
评论 #15393673 未加载
评论 #15401468 未加载
评论 #15395499 未加载
评论 #15393859 未加载
malgorithms超过 7 年前
I&#x27;m on the Keybase team and as you can see we jumped to sponsor a small block. We participated in this for two reasons:<p>(1) shazow (co-author) was also the author of the official Keybase Chrome and Firefox extensions, and he did an amazing job. We&#x27;d gamble on anything he does. The space we bought wasn&#x27;t that expensive from a company perspective, and it was an educational experience. And maybe it will draw us attention.<p>(2) Holy crap, it&#x27;s really impressive a dapp like this is possible with Ethereum. If it hasn&#x27;t sunk in yet how this thing works, really read the FAQ and stop to think about it. As shazow and ontoillogical said, &quot;there&#x27;s no backend!&quot; and &quot;It&#x27;s immortalized!&quot;
评论 #15394538 未加载
评论 #15394336 未加载
评论 #15394503 未加载
评论 #15395687 未加载
shazow超过 7 年前
Heya, I&#x27;m other said friend. We also put together some anticipated FAQs: <a href="https:&#x2F;&#x2F;thousandetherhomepage.com&#x2F;faq" rel="nofollow">https:&#x2F;&#x2F;thousandetherhomepage.com&#x2F;faq</a><p>Some random fun facts:<p>- The frontend &quot;DApp&quot; piece is done with VueJS which has been very fun to work with. It&#x27;s hosted as a Github Page.<p>- The backend is done with... there&#x27;s no backend! The data is directly on The Blockchain, fetched from the browser through a standard-ish API (Web3) provided by your wallet or a gateway.<p>It&#x27;s like serverless, but without a server.
评论 #15397637 未加载
评论 #15394883 未加载
评论 #15399214 未加载
jashmenn超过 7 年前
I love this idea! I actually just finished creating a video course that teaches you how to build a similar thing: <a href="https:&#x2F;&#x2F;www.newline.co&#x2F;courses&#x2F;million-ether-homepage&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.newline.co&#x2F;courses&#x2F;million-ether-homepage&#x2F;</a><p>In our version you&#x27;re able to bid for each pixel -- if the previous owner is outbid, the funds are returned. Sending funds in Solidity from a contract is really tricky to handle because there are so many ways it can go wrong.<p>For example, when you send funds to an address, it can purposefully reject your payment and even call back into your own functions. This is like if when you called a REST API, the API was potentially malicious and could call any public function in your code (!).<p>This is a really fun project and it&#x27;s cool to see how you can connect web-apps to the Ethereum network.
评论 #15394201 未加载
评论 #15393811 未加载
jasode超过 7 年前
I&#x27;m sure the authors don&#x27;t have malicious intent but this project reminded me of emergent activity getting closer to the &quot;un-erasable bad byes&quot; scenario I commented on recently. <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14434786" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14434786</a><p>Anyways, it looks like a fun project and it will be interesting to see how it finally turns out.<p>Staying on the same theme, I have no doubt that somebody will also clone the recent Reddit &quot;place&quot; experiment in Ethereum. (<a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;place&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;place&#x2F;</a>)
评论 #15394177 未加载
archagon超过 7 年前
OK, so I basically know next to nothing about cryptocurrencies. I do know, however, that Bitcoin is undergoing a cooling of sorts on account of the block difficulty getting higher and higher. As a result, transactions now take forever to verify and fees are going up. At some point, unless drastic steps are taken, this will presumably result in a &quot;heat death of the universe&quot; scenario. (I guess the software is constantly getting updated and there&#x27;s battle over forks etc., but this can only go so far, right?)<p>To what extent does this happen with Ethereum, and won&#x27;t it mean that distributed applications will basically become unworkable at some point in the future?
评论 #15395636 未加载
评论 #15400615 未加载
grandalf超过 7 年前
The idea of emergent PR via this sort of mechanism combined with a trustless and difficult-to-regulate infrastructure offers significant promise for breaking the glass ceiling that makes fame so difficult to achieve.<p>Ever wonder why news personalities and many celebs are so seemingly mediocre? It&#x27;s this glass ceiling.<p>Platforms like Youtube solve part of the problem, but big fame takes big money, and so the funding mechanism has to be much more direct and consumer-driven than ad revenue sharing. ETH is perfect for it.<p>Many regulations on money transfers and political donation are designed so that they benefit those already in power. If you want to be a real leader it takes spending in excess of $1B, but once you do it you are feared and adored and have a place in the history books.<p>This is the game that our leaders are playing already, which is why Paul Ryan has a net worth of over $7M and the Clintons have wealth over $250M. They are simply the beneficiaries of massive marketing campaigns and care little for ideas or substance. Trump is the most blatant one to date.<p>It will be a good thing when this game is open to real competition so that non-elites can take a shot at getting the next $2B image makeover and a few years controlling the nuclear football.<p>It all starts with the simple freedom to fundraise and donate so that non-elites can form coalitions to elevate one of their own to larger-than-life status.
评论 #15394124 未加载
mandatory超过 7 年前
Just an FYI this has a pretty bad security issue (XSS) which you might wanna fix ASAP (else people&#x27;s Ether might get stolen :&#x2F;):<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;IAmMandatory&#x2F;status&#x2F;915439417665261568" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;IAmMandatory&#x2F;status&#x2F;915439417665261568</a>
评论 #15400898 未加载
评论 #15398578 未加载
rakoo超过 7 年前
A naïve question for someone who doesn&#x27;t really understand Ethereum: Why are smart contracts needed here ? Would it not be possible to send specific structures in a blockchain with the icon and the url, and just using a now old-style thing like Bitcoin ? What do nodes need to agree on ?
评论 #15396071 未加载
评论 #15396162 未加载
johncoogan超过 7 年前
Thanks for building this! I was wondering about this a few months ago, glad it’s finally here. This is such a good example. <a href="https:&#x2F;&#x2F;twitter.com&#x2F;johncoogan&#x2F;status&#x2F;890780575480430593" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;johncoogan&#x2F;status&#x2F;890780575480430593</a>
评论 #15394061 未加载
anonfunction超过 7 年前
Whoever bought the ad for syscoin.org didn&#x27;t use an absolute URL and the link goes to <a href="https:&#x2F;&#x2F;thousandetherhomepage.com&#x2F;syscoin.org" rel="nofollow">https:&#x2F;&#x2F;thousandetherhomepage.com&#x2F;syscoin.org</a>.
评论 #15395804 未加载
评论 #15396011 未加载
darkmirage超过 7 年前
I made something similar <a href="https:&#x2F;&#x2F;ethereumpixels.com" rel="nofollow">https:&#x2F;&#x2F;ethereumpixels.com</a> not too long ago! Had more of Reddit&#x27;s r&#x2F;place on my mind. The source code for the contract and the webapp can be found here: <a href="https:&#x2F;&#x2F;github.com&#x2F;EthereumPixels" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;EthereumPixels</a>
jstanley超过 7 年前
It just needs to be served over IPFS and you wouldn&#x27;t need to run any kind of server at all :)
评论 #15395367 未加载
评论 #15394906 未加载
satyanash超过 7 年前
The system seems to be vulnerable to an XSS attack injected via the contract; the exploit seems to work on Chromium(60) but not on Firefox(55)<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;IAmMandatory&#x2F;status&#x2F;915439417665261568" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;IAmMandatory&#x2F;status&#x2F;915439417665261568</a>
评论 #15398520 未加载
michelsonmorley超过 7 年前
Great work guys! I did a similar project months ago, if you want to check: <a href="http:&#x2F;&#x2F;etherbillboard.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;etherbillboard.com&#x2F;</a> The main difference that the image is stored directly in the blockchain, but you have to draw it :) Ethereum Dapps are amazing!
modeless超过 7 年前
Smacking my forehead right now, wishing I had thought of this first. This is practically guaranteed to raise $300k and it&#x27;s actually legal and ethical, unlike most of the cryptocurrency schemes these days. Great job, you&#x27;ll soon be regretting not making it the 10,000 ether homepage I think...
评论 #15397220 未加载
huangc10超过 7 年前
This is the most stupid awesome worst best idea ever. I have so many feelings tied together, it&#x27;s hard to express.<p>Good for you guys. I can&#x27;t wait to see it filled up!
coralreef超过 7 年前
Can someone quickly explain how file storage &#x2F; bandwidth off the blockchain works? Who pays the gas to deliver it to end users?
评论 #15394938 未加载
评论 #15394810 未加载
earlybike超过 7 年前
This is so well executed. After looking at it many times, I am really impressed.<p>However, from an ad spending perspective, I see few drawbacks which hold me back:<p>- Nowadays, most users are on mobile; often 50%, sometimes even more; this concept doesn&#x27;t work on mobile because everything is so tiny<p>- Then, just imagine, this thing is full of ads <i>and links</i>; I don&#x27;t think that Google&#x27;s SEO team will classify this page as spam but who knows, from a technical perspective it is a spam page because of that many links<p>- With so many ads on one page you will face a very low CTR
JoblessWonder超过 7 年前
Warning: The bottom right corner links to a google logout page.
buttershakes超过 7 年前
This is a great idea. Mostly for the marketing angle, but it also will start to show people what is possible. It&#x27;s like a taste of a entirely new network, which will have capabilities that we can&#x27;t even imagine right now. The blockchain space is really hot for a reason, lots of hype, but also lots of promise because it offers a glimpse of systems that will disrupt many entrenched companies.
评论 #15427931 未加载
tar--help超过 7 年前
Don&#x27;t know much about blockchain so excuse me for the question. Say someone uploaded a copyrighted image, who (if anyone) would a dmca notice go to? If you got one what could or would you do? Does safe harbor apply in this scenario if you can only tag as nsfw with the option to view instead of block completely?
评论 #15396184 未加载
archagon超过 7 年前
I feel that aesthetically this is going to come out a bit ugly, since it&#x27;s not actually pixel-based like the original was. Low-rez image filter w&#x2F;a passthrough for correctly-sized images?
BenjiWiebe超过 7 年前
Now I&#x27;m wishing our business already supported crypto currency... I&#x27;d buy an ad for us then. (Completely non-tech, but this looks like it could get a lot of publicity.)
csomar超过 7 年前
Is there a moderation before the ads go live?
评论 #15394969 未加载
Kiro超过 7 年前
How was SysCoin able to replace their broken link? I thought a pixel once placed was eternal and immutable.
jqueryin超过 7 年前
I&#x27;m honestly surprised it&#x27;s not ridden with ICOs like my Facebook sponsored post feed these days.
quickthrower2超过 7 年前
Is it possible to a stick a ride &#x2F; offensive message on the ad because it isn&#x27;t moderated?
Kiro超过 7 年前
Of course I happened to click on the bottom right square without thinking. Not recommended!
meddlepal超过 7 年前
Heh I had thought about doing this about two weeks ago. Using BTC instead tho. Good luck!
评论 #15396094 未加载
jtchang超过 7 年前
Why is the contract code so hard to read? Bytecode?!
earlybike超过 7 年前
But where exactly is the image data stored?
评论 #15395637 未加载
nickporter超过 7 年前
Ahhh you beat me to it :)<p>Nice work!
bau5超过 7 年前
Needs more ICO.
horsecaptin超过 7 年前
Now that I&#x27;ve visited this page once, I&#x27;ll never visit it again.