{"product_id":"tollbooth-dpyc","title":"tollbooth-dpyc","description":"\u003cdiv\u003e\n\u003cp\u003eEverything else in this collection is this wheel with domain tools bolted on.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eInstall the wheel. Decorate one async function.\u003c\/strong\u003e That is the whole integration. Your server keeps its own tools and its own logic; the wheel supplies the identity, the ledger, the pricing, and the settlement underneath them.\u003c\/p\u003e\n\u003cp\u003eWhat comes in the box: \u003cem\u003eTollboothConfig\u003c\/em\u003e for settings, \u003cem\u003eUserLedger\u003c\/em\u003e and \u003cem\u003eLedgerCache\u003c\/em\u003e for balances, \u003cem\u003eBTCPayClient\u003c\/em\u003e for Lightning invoices, \u003cem\u003eTOOL_COSTS\u003c\/em\u003e mapping your tools to tiers, a \u003cem\u003eVaultBackend\u003c\/em\u003e protocol so credentials never touch your environment, \u003cem\u003eAuthorityCertifier\u003c\/em\u003e to obtain certificates during a purchase rather than as a second call, \u003cem\u003eDPYCRegistry\u003c\/em\u003e for service discovery, and a constraint engine that turns a pricing model into surge windows, happy hours, and supply caps.\u003c\/p\u003e\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, price previews. You write only what makes your service yours.\u003c\/p\u003e\n\u003cp\u003eThe dependency runs one way. Your server depends on the wheel; an Authority is a network peer rather than a code dependency, so nothing in your deployment is coupled to whoever certifies you. Change Authority and your code does not change.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAt a glance\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e🔓 Apache 2.0 top to bottom — no open core, no paid tier\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 are optional and, where needed, arrive by encrypted Nostr DM through a VaultBackend of your choosing\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\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\n\u003c\/div\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\/products\/tollbooth-dpyc","provider":"Good Brew","version":"1.0","type":"link"}