paynode-sdk-python 1.4.0__py3-none-any.whl → 2.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: paynode-sdk-python
3
- Version: 1.4.0
3
+ Version: 2.1.0
4
4
  Summary: PayNode Protocol Python SDK for AI Agents
5
5
  Author-email: PayNodeLabs <contact@paynode.dev>
6
6
  License: MIT
@@ -23,7 +23,7 @@ Dynamic: license-file
23
23
  [![Official Documentation](https://img.shields.io/badge/Docs-docs.paynode.dev-00ff88?style=for-the-badge&logo=readthedocs)](https://docs.paynode.dev)
24
24
  [![PyPI Version](https://img.shields.io/pypi/v/paynode-sdk-python.svg?style=for-the-badge)](https://pypi.org/project/paynode-sdk-python/)
25
25
 
26
- The official Python SDK for the **PayNode Protocol**. PayNode allows autonomous AI Agents to seamlessly pay for APIs and computational resources using USDC on Base L2, utilizing the standardized HTTP 402 protocol.
26
+ The official Python SDK for the **PayNode Protocol (v3.1)**. PayNode allows autonomous AI Agents to seamlessly pay for APIs and computational resources using USDC on Base L2, utilizing the standardized HTTP 402 protocol with support for both on-chain receipts and off-chain signatures (EIP-3009).
27
27
 
28
28
  ## 📖 Read the Docs
29
29
 
@@ -54,6 +54,17 @@ response = agent.request_gate("https://api.merchant.com/premium-data", method="P
54
54
  print(response.json())
55
55
  ```
56
56
 
57
+ ### Key Features (v2.1)
58
+ - **EIP-3009 Support**: Sign payments off-chain using `TransferWithAuthorization`, allowing for gasless or relayer-mediated settlement.
59
+ - **X402 V2 Protocol**: JSON-based handshake for more structured and machine-readable payment instructions.
60
+ - **Dual Flow**: Automatic fallback to V1 (on-chain receipts) for legacy merchant support.
61
+ - **FastAPI Middleware**: Easy-to-use middleware for merchants to protect their API routes.
62
+
63
+ ## 🗺️ Roadmap
64
+ - **TRON Support**: USDT (TRC-20) payment integration.
65
+ - **Solana Support**: SPL USDC/USDT payment integration.
66
+ - **Cross-chain**: Universal settlement via bridges.
67
+
57
68
  ## 🚀 Run the Demo
58
69
 
59
70
  The SDK includes a complete Merchant/Agent demo in the `examples/` directory.
@@ -0,0 +1,13 @@
1
+ paynode_sdk/__init__.py,sha256=dDP3qUvuhpyeUcCRRIeaHMifaYPE_p6IwZjcmaHgAHU,1187
2
+ paynode_sdk/client.py,sha256=JGY2W00RDiYLjg4VWexaG85BepyWISTfZmZzUX2UabU,17770
3
+ paynode_sdk/constants.py,sha256=axeDk308gMql4riCfSsFPWgk0O3o5FpeiIdDlpDnrgA,6346
4
+ paynode_sdk/errors.py,sha256=0L7pxDA1V305mkmi886OFp5qIaAoVTLmIB0hFQB0zG8,1961
5
+ paynode_sdk/idempotency.py,sha256=IOdyv8STj97EDGlwpGQnGE7K_NHRMmULvLTNTaglnB8,2450
6
+ paynode_sdk/middleware.py,sha256=l3YY6ZsqJ3KBf_2vEtrJNm9XHUXEpJUpL8RG6xwDxC8,6342
7
+ paynode_sdk/verifier.py,sha256=PxSBbhX7ba-0nUdNP_F-CazjN7zmqwmTUJZ6IXw3Nsw,14850
8
+ paynode_sdk/webhook.py,sha256=ngP0Az_-20gPVeHPzeaXuy1_AK1TTqqsmP-HCpAWEEM,8317
9
+ paynode_sdk_python-2.1.0.dist-info/licenses/LICENSE,sha256=U8RjGlEBtXN6PA-qN_N3Uh60jyu3qe26ZBmgt-LAHc4,1069
10
+ paynode_sdk_python-2.1.0.dist-info/METADATA,sha256=MK9N2HYmcj3CXfSo0wbQiBmXn35Dg5CPXJDMbZpCErs,3757
11
+ paynode_sdk_python-2.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
12
+ paynode_sdk_python-2.1.0.dist-info/top_level.txt,sha256=c6Skc1Xx-9O-JJ7sHghLW8Kyn4hyJoVPUawH1Mu8iTU,12
13
+ paynode_sdk_python-2.1.0.dist-info/RECORD,,
@@ -1,13 +0,0 @@
1
- paynode_sdk/__init__.py,sha256=NTyR6AbDSimrLFIeZ4SfJmkesA9J9VQZ3H4vVrhoZKc,1139
2
- paynode_sdk/client.py,sha256=gqsNJoi72iBuOnw8DMNp-V59qUwOt-vvNd3L_zm9J9Q,11566
3
- paynode_sdk/constants.py,sha256=-hR1P9B80-aQ0kCbY9hJEb1tpiRia1F0VCki9LpG7zs,1429
4
- paynode_sdk/errors.py,sha256=9Mnyctt-ekcbNAkgKi45i0UZr8QXDEBwLpQTNtuz9i0,1965
5
- paynode_sdk/idempotency.py,sha256=od7HuSxFdejBP0oE4QCzbJdrDZWvziiu09d3BRErU2k,999
6
- paynode_sdk/middleware.py,sha256=ji0P-y1jnu4C4U95ASsylNujqPms5HAY5D6RfJiolgc,4105
7
- paynode_sdk/verifier.py,sha256=DtsmaqXgHYoW-wQddL5QRoC6nCWr6Lc1_AomcVSvjxY,6071
8
- paynode_sdk/webhook.py,sha256=xmesxnjnk8KQaqpvby3-uRYrmZbti_dhPw22r4uhwus,8310
9
- paynode_sdk_python-1.4.0.dist-info/licenses/LICENSE,sha256=U8RjGlEBtXN6PA-qN_N3Uh60jyu3qe26ZBmgt-LAHc4,1069
10
- paynode_sdk_python-1.4.0.dist-info/METADATA,sha256=eMYqGKWKYePIoYz2SW_8pgb_8T7pIh6f3HF6BOVU6l0,3037
11
- paynode_sdk_python-1.4.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
12
- paynode_sdk_python-1.4.0.dist-info/top_level.txt,sha256=c6Skc1Xx-9O-JJ7sHghLW8Kyn4hyJoVPUawH1Mu8iTU,12
13
- paynode_sdk_python-1.4.0.dist-info/RECORD,,