tpn-proxy
von actuallymentor
Web & Frontend DevelopmentKurzbeschreibung
Make web requests through decentralized SOCKS5 proxies via the Tao Private Network (TPN)
Beschreibung
Was dieser Skill macht
Routes HTTP and HTTPS traffic through decentralized SOCKS5 proxies on the Tao Private Network, a Bittensor subnet (SN65) with exit nodes in 80+ countries. Supports datacenter and residential IP types. Authentication works via API key or x402 micropayments without an account.
x402 micropayment support lets autonomous agents generate proxies without an API key or account, paying per request in USDC on Base.
Wann du ihn einsetzt
- Checking what content a website serves to visitors in a specific country
- Verifying geo-restricted pricing or availability from a residential IP
- Testing regional CDN behavior and DNS routing
- Fetching public data that rate-limits by IP address
- Making anonymous web requests without a standing VPN subscription
Beispiel-Workflow
User asks: Fetch my IP address through a German exit node
- 1
Validates country code as 'DE' and sets duration to 60 minutes (default)
- 2
Calls POST /api/v1/proxy/generate with geo='DE', format='text', minutes=60
- 3
Parses the returned socks5:// URI to extract host, port, username, and password
- 4
Fetches https://ipv4.icanhazip.com through the proxy using socks5://
- 5
Returns the German exit IP, full socks5h:// credential block, expiry time, and a ready-to-paste curl example
German exit IP address, structured SOCKS5 credential block with host/port/username/password/expiry, full socks5h:// URI, and curl example
Voraussetzungen
- TPN_API_KEY environment variable
- TPN account at api.taoprivatenetwork.com to obtain an API key (or USDC on Base for x402 access)
Installation
clawhub install actuallymentor/tpn-proxyFühre den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.