logoalt Hacker News

X402, a static blog monetization excercise

16 pointsby morty28today at 10:37 AM10 commentsview on HN

Comments

fragmedetoday at 2:08 PM

It took a ridiculous amount of effort, but it looks like we're starting to go somewhere with this. The complexity of crypto is, um, complex and very very not user friendly. I had money in my Phantom wallet, but that wouldn't connect. I suspect it's because my USDC was on the wrong network. So then I tried the Base wallet, from Coinbase. I couldn't send money from my Phantom wallet to my Base wallet for whatever reason, so finally I used Apple Pay to load $5 (the minimum) into my Base wallet, so that I could click the button, finally, to give you $0.01.

Except it still didn't work. When I used the mobile browser, I clicked the links and it looks like it wanted to take my money, but it returned to the site after going to base, without actually taking money. So then I used the Base app's browser to visit the site. It more convincingly tried to take money out of my wallet but the site returns Request failed: 402, which is confusing, and doesn't actually take my money.

show 1 reply
chrismorgantoday at 1:39 PM

Quite apart from whether the concept can succeed after having failed a number of well-funded and well-publicised times—

I open https://shtein.me/api/joke in a normal-enough browser (Firefox Nightly with Enhanced Tracking Protection and uBlock Origin). After loading its 2.3MB response (no useful HTML, just a huge inlined JS blob, and served without transfer compression), it asks me to select a wallet. There are two choices.

I select “Injected” and press “Connect wallet” (ugh, why did it require me to click three times instead of just one!?). Nothing discernible happens. No errors or network activity in the dev tools.

I select “Coinbase Wallet” and press “Connect wallet”. It opens a popup window, <https://keys.coinbase.com/connect?sdkName=%40coinbase%2Fwall...>. The TLS connection fails, PR_END_OF_FILE_ERROR. Operating on a hunch, I discover it’s blocked in India:

  $ curl keys.coinbase.com
  The website has been blocked as per order of the Ministry of Electronics and Information Technology under IT Act, 2000.
(coinbase.com and www.coinbase.com are similarly affected.)

Not sure quite what to make of that, given that https://www.coinbase.com/en-in/blog/coinbase-launches-in-ind... sounds (from the snippet exposed in a search engine) like Coinbase started fully operating in India five weeks ago.

Can’t say it leaves a positive impression.

janandonlytoday at 12:59 PM

Why was Cloudflare rolling their own verion of the already existing L402 protocol?

The protocol: https://docs.lightning.engineering/the-lightning-network/l40...

An index of current use: https://l402index.com/

show 1 reply
entropitoday at 12:02 PM

> This literally can change how we use internet making advertisement economy internet runs on obsolete.

Hmm, so I will pay to see websites that have ads. This may or may not be fine and solve some other problems (like paywalling AI agents), but lets not be naive. It won't replace ads, in most cases it will just be another stream.

buffer_overlordtoday at 12:56 PM

Check it tronbrowser has x402 supported natively

utopiahtoday at 12:52 PM

FWIW I had WebMonetization up on my blog since April 2020. No paywall, just available. My wallet on GateHub net worth: 0.00

So... yeah, technically it works but until anybody cares, it doesn't matter.

I didn't even re-installed my wallet for others to get some reward back last time I setup my browser.

prodigalknighttoday at 12:45 PM

I think this adds too much friction to trying to view a website and most people, upon seeing this sort of paywalling (regardless of how much or how little is being asked) will just not go to a site that's implemented this.

show 2 replies
yieldcrvtoday at 12:41 PM

I think x402 interest is completely misplaced

Consumers that actually spend (Americans) pay with unsecured credit, crypto ecosystem doesn't have robust unsecured credit systems. It has plenty of secured credit systems though because it is extremely optimal at collecting collateral and settlement, extremely unoptimal at rendering judgements and seizing non-possessed assets. Many applications try unsecured lending and solve nothing or gain no traction, running out of capital to unsecurely lend. This renders x402 for consumer applications dead in the water.

And if consumer applications were unlocked, the law of diminishing returns comes into play immediately as everyone tries to paywall their service, just like seen on Medium and Substack.

x402 is for agents to pay for something they need access to. The agents themselves will be speculators just like the users.

I'm fine being wrong.

show 1 reply