Seller config — edit below in the source:
PRICE_WEI— how much (Base USDC, 6 decimals)SELLER_0x— your Base walletSECRET— anything: a download URL, license key, unlock instructions- Upload the file anywhere (it is fully static). Done — you have a working paywall.
LOCKED — the item below becomes visible after purchase
$1 USDC
Base network (USDC 0x8335…2913) · verified live on-chain, nothing through a server
How it works (all in your browser): when you pay, the page asks a public Base RPC for
"transfers of USDC to the seller's address in the last few blocks". The first match ≥ price
unlocks the page. The seller can verify the receipt on-chain; buyers get instant, serverless
delivery under their own wallet. No KYC, no API, no signups — for either side.
Why `onefile-unlock` exists: static hosting (githack, GitHub Pages, even a USB stick)
gives you a globally reachable storefront for zero dollars — the unlocking is the only logic, and
it ships inside the same file as the product.