Observed since 21 Oct, 11:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aimpn
Official Python SDK & x402 Zero-Gas Micropayment Paywall Decorator for HuggingFace Spaces and AI Agents on Base Mainnet
Zero-Gas x402 Micropayment Paywalls for HuggingFace Spaces, Gradio, FastAPI, and AI Agents on Base Mainnet (L2).
pip install aimpn
Add an instant zero-gas x402 paywall to any AI model inference endpoint in just 1 line of code:
from aimpn import require_x402_payment
@require_x402_payment(amount="0.01", recipient="0xYourBaseWalletAddress", model_name="Llama-3-70B Space")
def predict(prompt: str, payment_header: str = None):
# Your standard AI generation logic here
return f"🤖 AI Generated response for: {prompt}"
When an AI agent calls your monetized endpoint without a payment header, aimpn automatically returns an HTTP 402 Payment Required exception with full instructions on how to send the $0.01 USDC micropayment using our Zero-Gas ERC-4337 Paymaster (0x7Df0AA...).
Bonus: Builders who call your endpoint 100 times automatically receive a $10.00 USDC Builder Bounty from our on-chain indexer!
Visit https://github.com/tdpeta754-design/ai-micropayment-network for full documentation and interactive playgrounds.
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
bdist_wheel · 3.95 KB · Python py3
sdist · 3.64 KB · Python source
Shared repository data · GitHub
Observed since 21 Oct, 11:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:3ee2981f022d238cee634492ede0ec6a2ebc1a89c49e93264a045686af17bebb