qntx / x402-openai-python
PublicDrop-in OpenAI Python client with transparent x402 payment support.
A Python library that acts as a drop-in replacement for the OpenAI client, automatically handling cryptocurrency payments from EVM or Solana wallets when AI services request them.
How It Works
You learn about a handy tool that lets you chat with powerful AI while paying effortlessly with your crypto wallet.
You prepare the tool on your computer, making it ready to connect AI services with automatic payments.
Connect using your Ethereum-compatible wallet details for familiar chains.
Connect using your speedy Solana wallet for quick transactions.
You share your private wallet info once, so future payments happen without you lifting a finger.
You optionally set rules like preferred payment networks or spending limits to stay in control.
You type your question to the AI, and it works just like any smart assistant.
You receive clever, instant replies while payments zip through invisibly – chatting made simple and secure!
Star Growth
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 RepurposeSimilar repos coming soon.