SShortSingh.
Back to feed

Developer builds AI-payable API on blockchain, earns $0.00 from real users after weeks

0
·1 views

A developer built and launched token-risk.com, a pay-per-call API on the Base blockchain that charges AI agents $0.01 in USDC per request to retrieve risk reports on crypto tokens and wallets, requiring no signup or API key. After several weeks of operation, the service recorded only 15 transactions totaling $0.15 in volume, with both buyer addresses belonging to the developer himself, meaning zero revenue from external users. The builder pre-committed to an eight-week stop criterion, pledging to halt further time investment if external paid calls remained at zero. Two technical incidents were uncovered post-launch: a metadata description exceeding a 500-character payment limit silently blocked all payments, and a separate issue arose from the service advertising an HTTP URL instead of HTTPS, causing rejection by the discovery layer. The developer published the full account to highlight the gap between successfully building a functional product and actually achieving market adoption in the emerging AI-agent payments ecosystem.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

AWS Developer Associate Certification: Why Hands-On Practice Beats Theory

Ntombizakhona Mabaso, an AWS Certified Developer Associate, has shared her certification journey and key preparation strategies on DEV Community. She advises candidates to prioritize building real projects over passive study, arguing that practical experience makes troubleshooting and exam questions far easier to handle. Mabaso also highlights that AWS allows higher-level certifications, such as the DevOps Engineer Professional, to automatically renew qualifying lower-level credentials, offering a more efficient path to staying current. For those not yet ready to pursue a Professional-level exam, AWS Skill Builder now lets eligible certification holders renew through maintenance activities without retaking the full paid exam. Her recommended hands-on exercises include building REST APIs with Lambda and DynamoDB, setting up CI/CD pipelines, and debugging IAM permission issues within real AWS environments.

0
ProgrammingDEV Community ·

How to Properly Evaluate a Testing Tool Beyond Feature Checklists

Most testing tool evaluations rely on feature grids, but nearly every serious tool supports the same standard capabilities, making such comparisons misleading. A more effective approach starts by mapping recurring work — such as maintaining selectors, investigating failures, and managing credentials — and estimating the time each currently consumes. Tools should also be stress-tested with intentional failures, like broken locators or expired sessions, to assess the quality of failure evidence they produce. Evaluations should use workflows that reflect real application risk, such as PDF exports or asynchronous downloads, rather than simple login demos. For load testing, key factors include shared reporting, versioned scenarios, and clear pass/fail thresholds — not just the ability to generate requests.

0
ProgrammingDEV Community ·

Public const constructors can silently bypass Dart factory validation logic

A Dart developer discovered that public const constructors in concrete schema classes created an unguarded back door around factory method validation in the instructor_dart package. While factory methods like Schema.string() and Schema.enumeration() enforced rules such as regex validity and non-empty lists, calling the raw constructor directly skipped all those checks entirely. The flaw meant a broken regex pattern would only surface later during matching rather than at the point of authoring, making bugs harder to trace. The root cause is that Dart's const constructors are restricted to field assignments and assert statements, preventing them from throwing proper exceptions. The issue was resolved in version 0.4.0 by replacing public const constructors with private named constructors, forcing all instantiation through the validated factory methods.

0
ProgrammingDEV Community ·

Horizontal vs Vertical Scaling: Why Stateless Apps Handle Traffic Spikes Better

A developer's side project built on a single Node.js EC2 instance collapsed under sudden traffic after a streamer shared its URL, pushing CPU to 99% and triggering out-of-memory errors. The experience prompted a deeper look at the two core scaling strategies: vertical scaling, which upgrades a single machine's resources but hits cost and capacity ceilings, and horizontal scaling, which distributes load across multiple identical instances. The key obstacle to horizontal scaling was the app's reliance on in-memory session storage, local caching, and disk writes, all of which broke when traffic was routed to new nodes. The solution required making the application stateless by offloading session and cache data to external services like Redis or a shared database. This architectural shift allows instances to be added or removed dynamically, eliminates single points of failure, and often reduces costs compared to running one oversized server.

Developer builds AI-payable API on blockchain, earns $0.00 from real users after weeks · ShortSingh