<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by erhnysr on Medium]]></title>
        <description><![CDATA[Stories by erhnysr on Medium]]></description>
        <link>https://medium.com/@erhnysr?source=rss-e3ff42ad362a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XwTuzWdkIothMmMcSoXX8g.png</url>
            <title>Stories by erhnysr on Medium</title>
            <link>https://medium.com/@erhnysr?source=rss-e3ff42ad362a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:29:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@erhnysr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[I Made My App Chargeable by AI Agents Without Ever Giving Out an API Key]]></title>
            <link>https://medium.com/@erhnysr/i-made-my-app-chargeable-by-ai-agents-without-ever-giving-out-an-api-key-4cd25a78e4df?source=rss-e3ff42ad362a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cd25a78e4df</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[base]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[erhnysr]]></dc:creator>
            <pubDate>Fri, 03 Jul 2026 16:14:50 GMT</pubDate>
            <atom:updated>2026-07-03T16:14:50.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y9tQMz6JLnNfKUX_fWUtoQ.png" /><figcaption>Basedrop cover image — USDC drops on Base, agent-payable via x402</figcaption></figure><p>Basedrop started dumb simple. Someone locks USDC in an escrow contract, gets a claim link, anyone with a wallet grabs a piece before the drop runs out. Creator funds the pool, fans claim from it, everything settles on Base mainnet, nobody’s holding funds in between. Shipped that part. Works. People actually use it — not huge numbers, but real drops, real claims, which honestly feels different than a testnet demo nobody touches.</p><p>What I actually want to write about is what came after, because building it made me question who “the user” even is for something like this.</p><h3>the thing I noticed</h3><p>I was reading about AI agents needing to query data or pay for API access on their own — no human clicking approve, no dashboard, no one generating an API key for them. And I looked at Basedrop’s own data — drop stats, claim history, leaderboards — and realized I’d already built exactly the dataset an agent would want. Live, on-chain, and sitting behind… nothing formal. Just a regular REST API a human dev would eventually get around to reading the docs for, if there were docs.</p><p>So I bolted two things onto the existing app. An MCP server. And x402 payment support. Together they mean an agent can find out what Basedrop does, call its tools, and pay for the premium stuff — no human ever generates a key for any of it.</p><h3>what the MCP server actually does</h3><p>MCP is the thing that lets an LLM client — Claude Desktop, whatever else speaks the protocol — treat an outside service like an actual tool instead of something you have to explain in a prompt every time. Basedrop’s server lives at /api/mcp, four tools on it:</p><p>list_drops — most recent 20 drops, live off Base mainnet, not some cached snapshot get_drop — full detail on one drop by ID get_analytics — total drops, total claims, total USDC moved get_leaderboard — top creators and top claimers by volume</p><p>Point an MCP client at it, or just curl it with a JSON-RPC body, you get structured current data back. No scraping. No parsing an HTML dashboard that breaks every time I redesign it. That part matters more than it sounds like — half the “agent-friendly” claims I see from other projects amount to “our API returns JSON,” which, sure, so does basically everything built since 2012, that’s not really the bar. What agents actually need is discoverability and something that doesn’t shift under them. MCP forces you to actually define that properly instead of hand-waving it.</p><h3>the payment problem nobody talks about</h3><p>Here’s what’s genuinely annoying about building for agents. The analytics endpoint costs me something every time it’s hit — RPC calls, compute. A human hitting it for free is fine, because a human is rate-limited by their own attention span, they’ll check it a few times and move on. An agent isn’t limited like that. An agent will happily hit your endpoint ten thousand times a minute if nothing stops it, and “sign up for an API key” doesn’t actually stop that either — it just adds a step a human does once, by hand, and then the agent’s off to the races anyway.</p><p>x402 is Coinbase’s answer and it’s a genuinely clean idea once you see it work. HTTP 402 Payment Required — a status code that’s existed in the spec forever and basically nobody ever used it for what it was named — actually becomes a payment mechanism. Agent hits a protected endpoint, gets a 402 back with payment details attached, pays on-chain, retries with a payment header, gets served. No account anywhere. No key. No human touching anything.</p><p>I put this on /api/analytics — 0.005 USDC per call, settled on Base Sepolia through the exact EVM scheme, using x402.org’s public facilitator. Mainnet needs a self-hosted facilitator and I haven’t gotten to that yet, so — full disclosure — this part only works on testnet right now. Any x402 client calls it like this:</p><p>import { wrapFetch } from “@x402/fetch”;</p><p>const fetch402 = wrapFetch(fetch, walletClient); const data = await fetch402(“<a href="https://basedrop-chi.vercel.app/api/analytics">https://basedrop-chi.vercel.app/api/analytics</a>&quot;);</p><p>That’s the whole client-side integration. All the actual complexity is hidden in the handshake, which is exactly where it should live.</p><h3>someone has to publish the manifest</h3><p>There’s also an agent-card sitting at /.well-known/agent-card.json — a standard spot where an agent, or the human setting one up, can find out what a service offers before it ever calls anything. Small file. But it’s the difference between an agent guessing your API shape from docs written for humans, versus reading something actually structured for this exact purpose.</p><h3>what actually surprised me</h3><p>I didn’t expect the MCP and x402 work to end up more interesting to me than the original drop mechanic, but it did. Escrow-and-claim is a solved problem. I built a solid version of it, nothing conceptually new there. Making a small consumer app legible and payable to something that isn’t a person clicking a browser — without just bolting a normal API-key business model onto it and pretending a human’s still somewhere in the loop — felt like designing for a user type that barely existed as a real target a year ago and very much does now.</p><p>Not every app needs this, to be clear. But if your data is worth anything to something other than a person with a mouse, x402 plus MCP is a way smaller lift than I expected going in. It’s the part of Basedrop I’d actually point someone at the code for.</p><p>App’s live at basedrop-chi.vercel.app, and I’m @Erhnyasar if you want to poke at the MCP server or try breaking the x402 flow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cd25a78e4df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why a Five-Cent Vote Only Makes Sense on Arc]]></title>
            <link>https://medium.com/@erhnysr/why-a-five-cent-vote-only-makes-sense-on-arc-71a95b298191?source=rss-e3ff42ad362a------2</link>
            <guid isPermaLink="false">https://medium.com/p/71a95b298191</guid>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[erhnysr]]></dc:creator>
            <pubDate>Fri, 03 Jul 2026 16:06:00 GMT</pubDate>
            <atom:updated>2026-07-03T16:06:00.434Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTtuc5jkeqv1QVJBCXN1jg.png" /><figcaption>Coliseum cover image — built on Arc</figcaption></figure><p>I deployed my first contract on Arc Testnet before I’d even finished reading the docs. There was this one line — USDC is the native gas token, not wrapped, not bridged, just the actual gas — and I stopped reading right there and opened Foundry. I wanted to try something that would look stupid on almost any other chain: a vote that costs five cents.</p><p>It worked. That’s Coliseum now.</p><h3>What it actually does</h3><p>Anyone can open a contest on whatever — best meme of the week, worst financial advice, doesn’t matter. Anyone submits an entry for 0.10 USDC. Anyone votes for their favorite by staking 0.05 USDC. When the contest closes, top three entries split the pool 60/30/10. If you voted for a winner, you get your stake back. If you voted for a loser, you lose it, and that lost stake goes straight into the pot — so every bad vote makes the payout a little bigger for everyone who called it right.</p><p>I seeded the first few arenas myself just to see how it’d feel with real people voting: “Best Base ecosystem project pitch,” “Funniest one-liner about crypto,” “Worst financial advice (satire).” Kept the topics dumb on purpose. I wanted to know fast whether five cents felt like a real bet or like fake money. It felt real, honestly. Watching your five cents disappear because you picked the wrong meme is a weirdly specific feeling.</p><p>None of the mechanism is new, to be clear. Skin-in-the-game voting with a forfeiture pool is a prediction market idea that’s been around forever. What’s actually different here is that the entry fee and the vote stake are the same asset the chain burns for gas. No bridging over. No wrapping anything. No “buy some ETH first so you can afford the thing you actually came here for.” You show up with USDC, you leave with USDC — or less, if your pick lost.</p><h3>why the number matters more than the mechanism</h3><p>Try this same idea on Ethereum mainnet. A five-cent stake, plus gas to vote, plus gas for the contract to process your rebate later — you’d burn more on fees than the vote was worth. Every time. Most L2s don’t really fix this either unless you’re doing batching or account abstraction stuff, and even then the gas usually still eats more than a nickel. Stripe won’t even process a card under 30 cents for basically this reason. So “cheap real-stakes voting that anyone can join” has never been a normal thing — not because nobody thought about it, just because nothing made the math work.</p><p>Arc’s the first place I’ve built where the math actually closes without three paragraphs of caveats. That’s really the whole reason I built this instead of the ten other ideas sitting in my notes.</p><h3>what’s actually live</h3><p>Three contracts. ArenaFactory spins up new contests. Arena handles submission, voting, payout for each one. ReputationNFT is a soulbound badge for anyone who places top three — non-transferable, on purpose, because the second you can trade it, you’ve just built a new speculation market on top of the old one, which felt like solving the same problem twice.</p><p>Frontend’s just Next.js 16, wagmi v3, viem, RainbowKit. Kept it boring on purpose. I wanted the contracts to be the interesting part, not the frontend.</p><h3>the bug that actually humbled me</h3><p>Not putting this in a pitch deck but I’ll put it here. Early on my rebate math was quietly wrong and it took me way too long to catch. USDC uses 6 decimals on most EVM chains. I’ve spent enough time around ETH and wrapped tokens that 18 decimals is just muscle memory at this point, and one of my early stake calcs assumed 18 without me ever actually deciding that. It compiled fine. Deployed fine. Tests passed because my test fixtures had the exact same wrong assumption baked into both sides, so the math checked out against itself and was just wrong against reality. Didn’t show up until real votes hit a live arena and the rebates came back looking like rounding errors instead of actual money.</p><p>One line fix. Took forever to find. What it actually taught me is that on a stablecoin-native chain, decimals is exactly the kind of thing you carry over from Ethereum without noticing you’re carrying it. Check that constant before you check basically anything else. Cheapest insurance you’ll ever buy against a genuinely miserable debugging afternoon.</p><h3>someone else actually used it</h3><p>Dropped a message in Arc’s Discord describing what I’d built, no link attached, since the server doesn’t allow low-effort self-promo posts. A builder named Numaa tried it anyway and came back with actual feedback, unprompted — said voting felt smooth, arena creation was easy, said it felt like something genuinely different from what else was floating around that week. Small thing. But it’s the first time a stranger used something I made on Arc and gave me feedback that wasn’t just a thumbs up emoji, and that means more to me than however long I’d spend staring at my own contracts convincing myself they’re good.</p><p>I’ll just say the obvious thing plainly — usage is small right now. A handful of arenas, a handful of real votes, one piece of outside feedback so far. Not going to pretend it’s more than that. What I do think is real is the mechanism — that a five-cent stake can be an actual product decision on this chain instead of a rounding error, and that part I stand behind regardless of how many arenas exist today.</p><h3>if you’re thinking about building on Arc</h3><p>Honestly the hard part isn’t technical. It’s mental. You have to stop treating gas like a separate annoying cost you route around and start thinking in USDC as the only unit that matters. Once that clicks, micro-stakes and micro-fees and pay-per-call agent stuff stop being some future thing and just become normal Tuesday engineering.</p><p>Coliseum’s small, almost toy-sized proof of that. I don’t think it’s the most important thing anyone will build here. I think it’s a decent proof that a nickel can actually mean something.</p><p>Contracts are live on Arc Testnet, demo’s at coliseum-arc.vercel.app, and I’m @Erhnyasar if you want to try breaking the voting flow and tell me about it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71a95b298191" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Spent 5 Days Running a Republic AI Validator on My Gaming Laptop. Here’s What I Learned.]]></title>
            <link>https://medium.com/@erhnysr/i-spent-5-days-running-a-republic-ai-validator-on-my-gaming-laptop-heres-what-i-learned-a94d1afd5654?source=rss-e3ff42ad362a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a94d1afd5654</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[validator]]></category>
            <dc:creator><![CDATA[erhnysr]]></dc:creator>
            <pubDate>Sun, 08 Mar 2026 10:39:47 GMT</pubDate>
            <atom:updated>2026-03-08T10:39:47.656Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ll be honest — I didn’t fully understand what I was getting into when I first <br>started this.</p><p>Most people setting up blockchain validators have a Linux server somewhere. I had <br>a Windows laptop with an RTX 4050. That’s it. So before I even touched a single <br>command, I spent a long time just thinking about how this whole thing actually works. <br>How does a validator node communicate with the network? How does GPU compute fit <br>into this? What even is a job in this context?</p><p>That thinking phase probably saved me from a lot of random trial and error later.</p><p>— -</p><p>After about 4–5 days of reading, breaking things, fixing things, and reading some <br>more — I had a fully working Republic AI validator node running on WSL2 with live <br>GPU mining. And when that first GPU job ran successfully and the result got submitted <br>to the chain, I felt genuinely proud. Not because it was technically impressive to <br>anyone else, but because I had figured it out myself, piece by piece.</p><p>Here’s roughly what the setup looks like:</p><p>**The core challenge**</p><p>Windows doesn’t natively support the kind of environment these nodes need. But WSL2 <br>changed that. With WSL2 you get a real Linux environment on Windows, and since 2021 <br>NVIDIA added proper GPU passthrough support for it. So your GPU inside Windows can <br>be accessed from within WSL2 — which means Docker containers with CUDA support <br>actually work.</p><p>Once I understood that, the path became clearer.</p><p>**Getting the GPU to work**<br>```bash<br># Install CUDA toolkit in WSL2<br>wget <a href="https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb">https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb</a><br>sudo dpkg -i cuda-keyring_1.0–1_all.deb<br>sudo apt update &amp;&amp; sudo apt install cuda-toolkit-11–8</p><p># Verify it works<br>nvidia-smi<br>```</p><p>If nvidia-smi shows your GPU inside WSL2, you’re on the right track.</p><p>**The part nobody tells you about**</p><p>There’s a bug in the Republic AI binary where submitting job results fails with a <br>bech32 address error. The binary sends your wallet address with the wrong prefix. <br>The fix is to generate an unsigned transaction, patch the address with Python, <br>then sign and broadcast manually:<br>```bash<br>python3 -c “<br>import bech32, json<br>tx = json.load(open(‘/tmp/tx_unsigned.json’))<br>_, data = bech32.bech32_decode(‘YOUR_WALLET_ADDRESS’)<br>valoper = bech32.bech32_encode(‘raivaloper’, data)<br>tx[‘body’][‘messages’][0][‘validator’] = valoper<br>json.dump(tx, open(‘/tmp/tx_unsigned.json’, ‘w’))<br>“<br>```</p><p>Took me a while to figure that one out.</p><p>**Automating everything**</p><p>Once the basics worked, I wrote a script that handles the full cycle automatically — <br>submit job, run GPU inference, submit result, repeat. I also added thermal protection <br>because running a laptop GPU at 100% indefinitely is not a great idea:<br>```bash<br>TEMP=$(nvidia-smi — query-gpu=temperature.gpu — format=csv,noheader,nounits)<br>if [ “$TEMP” -ge 80 ]; then<br> echo “Too hot, cooling down…”<br> sleep 180<br> continue<br>fi<br>```</p><p>The GPU sits around 55–60°C during normal operation which is comfortable.</p><p>**Where things stand now**</p><p>- 1,008,342 RAI voting power<br>- 10,000+ compute jobs processed <br>- Node has been running continuously since January 29, 2026</p><p>I also built a few tools along the way that might be useful if you’re going through <br>the same setup:</p><p>- github.com/erhnysr/republic-ai-node — full setup guide and automation scripts<br>- github.com/erhnysr/republic-discord-bot — Discord bot for monitoring your validator<br>- github.com/erhnysr/republic-points-tracker — leaderboard and stats tracker</p><p>**If you’re thinking about doing this**</p><p>Don’t let the Linux-only assumption stop you. WSL2 is genuinely solid for this. <br>The hardest part isn’t the technical setup — it’s understanding the system well <br>enough to know what you’re actually building. Spend time on that first.</p><p>Feel free to reach out on Discord if you get stuck: erhnysr</p><p>— -<br>github.com/erhnysr</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a94d1afd5654" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>