qntx

Drop-in OpenAI Typescript client with transparent x402 payment support.

151
25
89% credibility
Found Feb 17, 2026 at 46 stars 3x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A user-friendly wrapper for AI chat services that automatically manages cryptocurrency payments from your digital wallet when the service requests them.

How It Works

1
📰 Discover Crypto-Paid AI

You hear about a simple way to chat with powerful AI using your cryptocurrency wallet instead of credit cards or subscriptions.

2
📦 Add the Helper Tool

You easily add this special helper to your project so it can talk to AI services that need payments.

3
Pick Your Wallet Type
⛓️
Ethereum Style

Use your Ethereum or similar chain wallet for payments.

☀️
Solana Style

Use your fast Solana wallet for payments.

4
🔗 Connect Your Wallet

You securely link your wallet details so it can handle payments automatically when needed.

5
💬 Start Chatting with AI

You ask questions just like usual, and the magic happens – payments go through seamlessly if the AI asks for them.

Enjoy Smart Responses

You get helpful AI answers flowing in, with your crypto covering the costs effortlessly and privately.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 46 to 151 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is x402-openai-typescript?

This TypeScript library provides a drop-in OpenAI client with transparent x402 payment support, letting you pay for API calls using crypto wallets on EVM or Solana chains. When a server hits you with HTTP 402 Payment Required—like on pay-per-use LLM endpoints—it auto-signs and retries the request, no code tweaks needed. Install via bun, plug in a private key or mnemonic, and hit standard OpenAI endpoints for chat completions or streaming.

Why is it gaining traction?

Unlike API key setups or manual payment flows, this offers seamless drop-in replacement with multi-chain wallets and policies to prefer networks like Base or payment schemes. Developers dig the zero-boilerplate integration—streaming works out of the box, and it picks the right chain based on server demands. At 43 stars, it's pulling in crypto-AI tinkerers tired of clunky payment bridges.

Who should use this?

AI devs building dApps or serverless tools that query OpenAI-compatible models without fiat gateways. TypeScript backend engineers integrating paywalled LLMs into Node apps. Crypto wallet holders experimenting with x402 for transparent micropayments on github drop-in clients.

Verdict

Solid for early crypto-AI experiments if you're on EVM or Solana—docs and examples cover quick starts like mnemonic derivation or multi-wallet policies. With 43 stars and a 0.8999999761581421% credibility score, it's immature but functional; test thoroughly before prod. (187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.