frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: X402drop – Temporary file sharing paid in USDC via the x402 protocol

https://www.x402drop.com/
1•easylearnai•2h ago
I built a temporary file sharing service where payment happens through HTTP 402 status codes and USDC on Base/Arbitrum.

The idea: HTTP 402 ("Payment Required") has existed since 1997 but was never really used. The x402 protocol (https://x402.org) finally gives it a real implementation — server responds 402 with a payment challenge, client signs a gasless USDC transfer (EIP-3009), facilitator settles on-chain, client retries with a payment header. No API keys, no OAuth, no accounts.

x402drop uses this as the payment layer for temporary file storage:

- Connect wallet (SIWE), drag-and-drop files (up to 5 GB each, 10 GB per drop) - Pick a duration (1 hour to 90 days), see a quote ($0.0003/MB/day, $0.01 minimum) - Sign one USDC transfer — gasless, facilitator pays gas - Get a share link — recipients download for free, no wallet needed - Files auto-delete from R2 within ~15 minutes of expiry via cron

There's also an Agent API — AI agents and scripts can create drops programmatically using the same x402 payment flow. No API key, the 402 payment header is the auth.

Stack: Next.js (App Router), SIWE + RainbowKit, Drizzle ORM + Neon Postgres, Cloudflare R2, @x402/next, Vercel.

Pricing is deterministic: max(fileSizeMB × durationDays × 0.0003, 0.01) per file.

Known limitations: - Mainnet only (no testnet mode yet) - USDC only (no ETH or other tokens) - No email notifications for expiry warnings

The part I find most interesting technically is using HTTP 402 as a real protocol primitive rather than a payment wall gimmick. The facilitator model means the payer never touches gas, and the whole flow is just HTTP request → 402 → signed header → 200.

Live at https://x402drop.com. Docs at https://x402drop.com/docs.

Happy to answer questions about the x402 protocol implementation or the architecture.

Lenovo's New ThinkPads Score 10/10 for Repairability

https://www.ifixit.com/News/115827/new-thinkpads-score-perfect-10-repairability
1•wrxd•30s ago•0 comments

Designing Secure Software

https://designingsecuresoftware.com/text/ch0-preface/
1•transpute•1m ago•0 comments

Show HN: Git-hunk – Stage hunks by hash, no "-p" required

https://git-hunk.paulie.app/
1•shhac•2m ago•0 comments

Checkers and Hex

https://www.glassgallows.com/p/checkers-and-hex
1•mortarjjjjj•2m ago•0 comments

Show HN: Autonomous Agent That Uses Your Tools Without Complex Setups

https://heycody.ink
1•daolm•3m ago•0 comments

Improving skill-creator: Test, measure, and refine Agent Skills

https://claude.com/blog/improving-skill-creator-test-measure-and-refine-agent-skillst
1•adocomplete•3m ago•0 comments

NTSB: Automated Driving Vehicle Passed School Bus Loading Student Passengers

https://www.ntsb.gov:443/investigations/Pages/HWY26FH007.aspx
1•Animats•4m ago•1 comments

Buddhist concept of suffering explained with AI generated video and music (HQ)

https://www.youtube.com/watch?v=Vyq0kbjFjdA
1•jahala•4m ago•1 comments

'Silicon Valley's only contrarian': Amjad Masad on the cost of dissent in tech

https://sfstandard.com/pacific-standard-time/2026/02/27/pst-amjad-masad-silicon-valley-contrarian/
1•abdelhousni•5m ago•1 comments

File extensions in bash scripts – shell parameter expansion

https://www.johndcook.com/blog/2026/02/28/file-extensions-bash/
1•ibobev•6m ago•0 comments

Show HN: Spidra – AI web scraper that adapts to any website

https://spidra.io
1•joelolawanle•6m ago•0 comments

I lost my ability to learn anything new because of AI and I need your opinions

2•dokdev•6m ago•3 comments

Shell Variable

https://www.johndcook.com/blog/2026/03/01/tilde-dash/
2•ibobev•6m ago•0 comments

Differential Equation with a Small Delay

https://www.johndcook.com/blog/2026/03/02/small-delay/
1•ibobev•7m ago•0 comments

Privacy Protections Shouldn't Depend on the Decisions of a Few Powerful People

https://www.eff.org/deeplinks/2026/03/anthropic-dod-conflict-privacy-protections-shouldnt-depend-...
1•hn_acker•9m ago•1 comments

The Product Engineer

https://nmm.ee/product-engineer
1•askonomm•10m ago•0 comments

Supreme Court saves artists from AI

https://pluralistic.net/2026/03/03/its-a-trap-2/
3•hn_acker•11m ago•0 comments

Background Coding Agents: Predictable Results Through Strong Feedback Loops

https://engineering.atspotify.com/2025/12/feedback-loops-background-coding-agents-part-3
1•chw9e•14m ago•0 comments

Claude Is a Virtual Machine / Runtime Engine / JIT

https://jperla.com/blog/claude-is-a-jit
1•ljlolel•15m ago•0 comments

How Well Does Agent Development Reflect Real-World Work?

https://arxiv.org/abs/2603.01203
1•salkahfi•16m ago•0 comments

130k Lines of Formal Topology: Simple and Cheap Autoformalization for Everyone?

https://arxiv.org/abs/2601.03298
1•PaulHoule•17m ago•0 comments

Motorola's GrapheneOS phones: They're a privacy and open source win

https://www.zdnet.com/article/motorola-to-preinstall-grapheneos-on-2027-phones/
2•CrankyBear•17m ago•0 comments

Emacs Bedrock

https://codeberg.org/ashton314/emacs-bedrock
2•thomascountz•19m ago•0 comments

OpenCode-lore: Stop re-explaining your codebase

https://github.com/BYK/opencode-lore
1•BYK•20m ago•1 comments

Slung: Stream processing runtime for autonomous systems

https://slung.tech/blog/intro
1•notxorand•20m ago•0 comments

EEmicroGPT: 19,000× faster microgpt training on a laptop CPU (loss vs. time)

https://entrpi.github.io/eemicrogpt/
2•easygenes•21m ago•1 comments

Saudi Arabia, Qatar arrest Mossad agents planning 'terror attacks': Report

https://thecradle.co/articles-id/36258
6•abdelhousni•23m ago•0 comments

Talos: Hardware accelerator for deep convolutional neural networks

https://talos.wtf/
4•llamatheollama•23m ago•0 comments

What Are the Most Promising FinTech Startups to Watch in 2026?

https://www.analyticsinsight.net/fintech/what-are-the-most-promising-fintech-startups-to-watch-in...
1•journey2s•24m ago•0 comments

Learning-Based Multi-Stage Strategy for Aircraft to Evade Missile

https://arxiv.org/abs/2511.05828
1•rbanffy•25m ago•0 comments