fa

fallback() – write web apps in Solidity and serve HTTP over Ethereum

Hacker News

fallback() – write web apps in Solidity and serve HTTP over Ethereum

Hi HN! I recently open-sourced a project I’ve been working on over my winter break: a Solidity web framework you can use to write web apps in Solidity (and more generally, a proof-of-concept implementation of an arbitrary network protocol over Ethereum). Here’s a demo web app on the Optimism Goerli testnet: http://simple.fallback.natecation.xyz/ Running this Solidity code: https://github.com/nathanhleung/fallback/blob/main/src/examp... There’s a lightweight TCP server script that’s listening on the demo app domain that forwards requests to the blockchain and sends the responses back. The smart contracts take advantage of Solidity's fallback()[1] function to interpret the input data to the contract as an HTTP request rather than an ABI-encoded function call. Would love to hear your thoughts in the comments below! Docs: https://fallback.natecation.xyz/ Github: https://github.com/nathanhleung/fallback [1] https://www.oreilly.com/library/view/learn-ethereum/97817899...

Share card

Actual performance

9points
1comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
60%60% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntOn track for Day 1 leaderboard · Strong signals: apps, code, open · Missing: mac, agents, macos
58%58% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
47%47% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: apps · Missing: mobile apps, ios, personal
44%44% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
33%33% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: smart · Missing: web3, chat, crypto
3%3% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

De
Declarative Abstraction for Assembling Web Apps (WIP)51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Declarative Abstraction for Assembling Web Apps (WIP)

Hacker News3
Na
Narrativ - HTML5 multimedia authoring for web & apps71%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Narrativ - HTML5 multimedia authoring for web & apps

Hacker News1
Ap
AppCoral – Yelp for Web Apps65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AppCoral – Yelp for Web Apps

Hacker News1
We
Web Apps for Researchers61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Web Apps for Researchers

Hacker News1
Nu
Nuster – A HTTP/2 web cache accelerator66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nuster – A HTTP/2 web cache accelerator

Hacker News8
Te
Textual Web – turn TUIs in to web apps81%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Textual Web – turn TUIs in to web apps

Hacker News5
Se
Secure.py – Simplify HTTP Security Headers for Python Web Apps52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Secure.py – Simplify HTTP Security Headers for Python Web Apps

Hacker News4
Br
Bricabrac – Text to Functional Web Apps67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bricabrac – Text to Functional Web Apps

Hacker News3
Co
CouchDB Web Apps for Business62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CouchDB Web Apps for Business

Hacker News2
Ozkour
Ozkour51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI contextual assistant for web apps

Indie Hackers1ai