{"product_id":"tollbooth-dpyc","title":"tollbooth-dpyc","description":"\u003cp\u003eMonetize a service you already know how to build, whether it offers five tools or fifty: install the wheel, decorate one async function, and the identity, the ledger, the pricing and the Lightning settlement sit underneath you.\u003c\/p\u003e\n\n\u003cp\u003e\u003cstrong\u003eYour server keeps its own tools and its own logic.\u003c\/strong\u003e\u003c\/p\u003e\n\n\u003c!--split--\u003e\n\n\u003ch2\u003eWhat the wheel carries\u003c\/h2\u003e\n\n\u003cp\u003eEverything else in this collection is this wheel with domain tools bolted on top.\u003c\/p\u003e\n\n\u003cp\u003eConfiguration, patron balances and a cache for them, a BTCPay client for Lightning invoices, and a map from your tools to price tiers all arrive ready. Service credentials reach you through a vault backend of your choosing, so secrets stay out of your environment. An Authority certifier obtains its certificate during a purchase rather than as a second round trip, a registry handles service discovery, and a constraint engine turns a pricing model into surge windows, happy hours and supply caps.\u003c\/p\u003e\n\n\u003cp\u003eCall \u003ccode\u003eregister_standard_tools()\u003c\/code\u003e and every DPYC infrastructure tool appears at once: npub proofs, the Secure Courier, credit purchase, balance checks and price previews. You write only the part that makes your service yours.\u003c\/p\u003e\n\n\u003cp\u003eThe dependency runs one way. Your server depends on the wheel, and an Authority remains a network peer rather than a code dependency, so you can change Authority and leave your code exactly as it is.\u003c\/p\u003e\n\n\u003cp\u003e\u003cstrong\u003eAt a glance\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e🔓 Apache 2.0 top to bottom, every line of it\u003cbr\u003e🌐 Patron-facing text in English, Français, Español, हिन्दी, 日本語 and 中文\u003cbr\u003e🔌 Pairs with FastMCP 3.4.7. Core requirements are httpx and pynostr; Nostr relay features want the \u003ccode\u003e[nostr]\u003c\/code\u003e extra\u003cbr\u003e🤝 Implements the DPYC Social Contract\u003cbr\u003e🔑 Patron credentials, where a service needs them, arrive by encrypted Nostr DM through a vault backend you choose\u003cbr\u003e⚡ Settles over Lightning through BTCPay. Patrons may use any wallet\u003cbr\u003e📜 Patent pending, US Prov. App. No. 64\/045,999\u003c\/p\u003e\n\n\u003cp\u003e\u003cstrong\u003eLinks\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e🐍 PyPI: \u003ca href=\"https:\/\/pypi.org\/project\/tollbooth-dpyc\/\"\u003epip install tollbooth-dpyc\u003c\/a\u003e\u003cbr\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0635\/4737\/5683\/files\/GitHub-Mark.png?v=1787792523\" alt=\"GitHub\" width=\"15\" height=\"15\" style=\"vertical-align:text-bottom\"\u003e GitHub: \u003ca href=\"https:\/\/github.com\/lonniev\/tollbooth-dpyc\"\u003elonniev\/tollbooth-dpyc\u003c\/a\u003e\u003cbr\u003e👀 \u003ca href=\"https:\/\/tollbooth-dpyc.com\"\u003etollbooth-dpyc.com\u003c\/a\u003e\u003c\/p\u003e","brand":"Tollbooth DPYC","offers":[{"title":"Default Title","offer_id":43717475795011,"sku":null,"price":0.0,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0635\/4737\/5683\/files\/tollbooth-dpyc-_PyPI.png?v=1788054642","url":"https:\/\/cafe.tollbooth-dpyc.com\/fr\/products\/tollbooth-dpyc","provider":"Good Brew","version":"1.0","type":"link"}