Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
thousandetherhomepage.com
Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
1–10 of 126 posts
Re: Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
#2Not an ICO, more of an experiment / art project.
We present, the Thousand Ether Homepage: https://thousandetherhomepage.com/
The smart contract itself: https://etherscan.io/address/0xb5fe93ccfec708145d6278b0c71ce...
What’s cool about it:
- 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.
- There’s no email signups, no passwords, no credit cards.
- 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/Parity.
- Once you buy an ad, the DApp _knows_ who you are from the wallet integration and you can edit it without logging in explicitly.
---
All the code is open source, so check out the nitty gritties: https://github.com/thousandetherhomepage/
Re: Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
#3Some random fun facts:
- The frontend "DApp" piece is done with VueJS which has been very fun to work with. It's hosted as a Github Page.
- The backend is done with... there'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.
It's like serverless, but without a server.
Re: Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
#4Author 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_. Not an ICO, more of an experiment / art project. We present, the Thousand Ether Homepage: https://thousandetherhomepage.com/ The smart contract itself: https://e…
Re: Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
#5Author 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_. Not an ICO, more of an experiment / art project. We present, the Thousand Ether Homepage: https://thousandetherhomepage.com/ The smart contract itself: https://e…
I would love to start an art project that can buy me an Aston Martin :)
Re: Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
#6In our version you'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.
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 (!).
This is a really fun project and it's cool to see how you can connect web-apps to the Ethereum network.
Re: Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
#7I love this idea! I actually just finished creating a video course that teaches you how to build a similar thing: https://www.newline.co/courses/million-ether-homepage/ In our version you'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. For example, when you sen…
Going for literally every pixel is too expensive, so we went for deci-pixels (10x10 pixel blocks). Incidentally, the original Million Dollar Homepage took the same approach to avoid fragmenting the space too much.
Re: Show HN: The Million Dollar Homepage as an Ethereum Smart Contract and DApp
#8Author 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_. Not an ICO, more of an experiment / art project. We present, the Thousand Ether Homepage: https://thousandetherhomepage.com/ The smart contract itself: https://e…