uvd-x402-sdk 0.3.3__py3-none-any.whl → 0.3.4__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.
uvd_x402_sdk/__init__.py CHANGED
@@ -37,7 +37,7 @@ Supported Networks (14 total):
37
37
  - Stellar (1): Stellar
38
38
  """
39
39
 
40
- __version__ = "0.3.3"
40
+ __version__ = "0.3.4"
41
41
  __author__ = "Ultravioleta DAO"
42
42
 
43
43
  from uvd_x402_sdk.client import X402Client
@@ -22,10 +22,11 @@ from typing import Dict, List, Literal, Optional, Any
22
22
  # - eurc: Euro Coin (Circle) - 6 decimals
23
23
  # - ausd: Agora USD (Agora Finance) - 6 decimals
24
24
  # - pyusd: PayPal USD (PayPal/Paxos) - 6 decimals
25
- TokenType = Literal["usdc", "eurc", "ausd", "pyusd"]
25
+ # - usdt: Tether USD (USDT0 omnichain via LayerZero) - 6 decimals
26
+ TokenType = Literal["usdc", "eurc", "ausd", "pyusd", "usdt"]
26
27
 
27
28
  # All supported token types
28
- ALL_TOKEN_TYPES: List[TokenType] = ["usdc", "eurc", "ausd", "pyusd"]
29
+ ALL_TOKEN_TYPES: List[TokenType] = ["usdc", "eurc", "ausd", "pyusd", "usdt"]
29
30
 
30
31
 
31
32
  @dataclass
@@ -13,6 +13,7 @@ Multi-token support:
13
13
  - EURC: Ethereum, Base, Avalanche (6 decimals)
14
14
  - AUSD: Ethereum, Arbitrum, Avalanche, Polygon, Monad (6 decimals)
15
15
  - PYUSD: Ethereum (6 decimals)
16
+ - USDT: Arbitrum, Optimism, Celo (6 decimals) - USDT0 omnichain via LayerZero
16
17
  """
17
18
 
18
19
  from uvd_x402_sdk.networks.base import (
@@ -122,7 +123,7 @@ POLYGON = NetworkConfig(
122
123
  },
123
124
  )
124
125
 
125
- # Arbitrum One - supports USDC, AUSD
126
+ # Arbitrum One - supports USDC, AUSD, USDT
126
127
  ARBITRUM = NetworkConfig(
127
128
  name="arbitrum",
128
129
  display_name="Arbitrum One",
@@ -147,10 +148,16 @@ ARBITRUM = NetworkConfig(
147
148
  name="Agora Dollar",
148
149
  version="1",
149
150
  ),
151
+ "usdt": TokenConfig(
152
+ address="0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
153
+ decimals=6,
154
+ name="USD₮0",
155
+ version="1",
156
+ ),
150
157
  },
151
158
  )
152
159
 
153
- # Optimism
160
+ # Optimism - supports USDC, USDT
154
161
  OPTIMISM = NetworkConfig(
155
162
  name="optimism",
156
163
  display_name="Optimism",
@@ -162,6 +169,20 @@ OPTIMISM = NetworkConfig(
162
169
  usdc_domain_version="2",
163
170
  rpc_url="https://mainnet.optimism.io",
164
171
  enabled=True,
172
+ tokens={
173
+ "usdc": TokenConfig(
174
+ address="0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
175
+ decimals=6,
176
+ name="USD Coin",
177
+ version="2",
178
+ ),
179
+ "usdt": TokenConfig(
180
+ address="0x01bff41798a0bcf287b996046ca68b395dbc1071",
181
+ decimals=6,
182
+ name="USD₮0",
183
+ version="1",
184
+ ),
185
+ },
165
186
  )
166
187
 
167
188
  # Avalanche C-Chain - supports USDC, EURC, AUSD
@@ -198,7 +219,7 @@ AVALANCHE = NetworkConfig(
198
219
  },
199
220
  )
200
221
 
201
- # Celo
222
+ # Celo - supports USDC, USDT
202
223
  # NOTE: Celo uses 'USDC' (not 'USD Coin') for EIP-712 domain name
203
224
  CELO = NetworkConfig(
204
225
  name="celo",
@@ -211,6 +232,20 @@ CELO = NetworkConfig(
211
232
  usdc_domain_version="2",
212
233
  rpc_url="https://forno.celo.org",
213
234
  enabled=True,
235
+ tokens={
236
+ "usdc": TokenConfig(
237
+ address="0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
238
+ decimals=6,
239
+ name="USDC", # Celo uses "USDC" not "USD Coin"
240
+ version="2",
241
+ ),
242
+ "usdt": TokenConfig(
243
+ address="0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
244
+ decimals=6,
245
+ name="Tether USD", # Celo USDT uses "Tether USD"
246
+ version="1",
247
+ ),
248
+ },
214
249
  )
215
250
 
216
251
  # HyperEVM (Hyperliquid)
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: uvd-x402-sdk
3
- Version: 0.3.3
4
- Summary: Python SDK for x402 payments - gasless crypto payments across 14 blockchains with multi-stablecoin support (USDC, EURC, AUSD, PYUSD)
3
+ Version: 0.3.4
4
+ Summary: Python SDK for x402 payments - gasless crypto payments across 14 blockchains with multi-stablecoin support (USDC, EURC, AUSD, PYUSD, USDT)
5
5
  Author-email: Ultravioleta DAO <dev@ultravioletadao.xyz>
6
6
  Project-URL: Homepage, https://github.com/UltravioletaDAO/uvd-x402-sdk-python
7
7
  Project-URL: Documentation, https://docs.ultravioletadao.xyz/x402-sdk
@@ -56,7 +56,7 @@ Accept **gasless stablecoin payments** across **14 blockchain networks** with a
56
56
  ## Features
57
57
 
58
58
  - **14 Networks**: EVM chains (Base, Ethereum, Polygon, etc.), SVM chains (Solana, Fogo), NEAR, and Stellar
59
- - **4 Stablecoins**: USDC, EURC, AUSD, PYUSD (EVM chains)
59
+ - **5 Stablecoins**: USDC, EURC, AUSD, PYUSD, USDT (EVM chains)
60
60
  - **x402 v1 & v2**: Full support for both protocol versions with auto-detection
61
61
  - **Framework Integrations**: Flask, FastAPI, Django, AWS Lambda
62
62
  - **Gasless Payments**: Users sign EIP-712/EIP-3009 authorizations, facilitator pays all network fees
@@ -102,6 +102,7 @@ print(f"Paid by {result.payer_address}, tx: {result.transaction_hash}")
102
102
  | EURC | Ethereum, Base, Avalanche | 6 |
103
103
  | AUSD | Ethereum, Arbitrum, Avalanche, Polygon, Monad | 6 |
104
104
  | PYUSD | Ethereum | 6 |
105
+ | USDT | Ethereum, Arbitrum, Optimism, Avalanche, Polygon | 6 |
105
106
 
106
107
  ## Installation
107
108
 
@@ -926,6 +927,11 @@ MIT License - see LICENSE file.
926
927
 
927
928
  ## Changelog
928
929
 
930
+ ### v0.3.4 (2025-12-22)
931
+
932
+ - Added USDT support (USDT0 omnichain via LayerZero) on Ethereum, Arbitrum, Optimism, Avalanche, Polygon
933
+ - SDK now supports 5 stablecoins: USDC, EURC, AUSD, PYUSD, USDT
934
+
929
935
  ### v0.3.3 (2025-12-22)
930
936
 
931
937
  - Fixed EIP-712 domain names: AUSD uses "Agora Dollar" (not "Agora USD")
@@ -1,4 +1,4 @@
1
- uvd_x402_sdk/__init__.py,sha256=weJYmfHwc8_a2CeId5PJsmaL5EUtKqS_hoPndm6fE8g,4901
1
+ uvd_x402_sdk/__init__.py,sha256=9nsWXd6hA-22hXr8NM_JioVWzJbFu3wIllmKe9O8DW0,4901
2
2
  uvd_x402_sdk/client.py,sha256=QbK22DtC3HmvvCezphQ-UsYX468vKrIN-M_wF4pv9cM,18389
3
3
  uvd_x402_sdk/config.py,sha256=BNGnX2RwZ_ELIcSKU7RkwTUcln4LMFZdCwG1ptASKN8,8644
4
4
  uvd_x402_sdk/decorators.py,sha256=XJ7V4554hsa-AVDrizF1oKmeTysg5zlkQRcaeGBI73E,9767
@@ -11,13 +11,13 @@ uvd_x402_sdk/integrations/fastapi_integration.py,sha256=j5h1IJwFLBBoWov7ANLCFaxe
11
11
  uvd_x402_sdk/integrations/flask_integration.py,sha256=0iQKO5-WRxE76Pv-1jEl4lYhjCLmq_R-jxR5g9xIcKw,8825
12
12
  uvd_x402_sdk/integrations/lambda_integration.py,sha256=nRf4o3nS6Syx-d5P0kEhz66y7jb_S4w-mwaIazgiA9c,10184
13
13
  uvd_x402_sdk/networks/__init__.py,sha256=5EECOYHl2OukNv55sIJlHlU4XI9s1Uv2ksoXnxkpduM,2039
14
- uvd_x402_sdk/networks/base.py,sha256=At8ujOr7snjWqdQQ2-vACQ4AshVvSn0FsennGF6BpQk,14347
15
- uvd_x402_sdk/networks/evm.py,sha256=Ah-retCWfwE1pFvywQXz03aoRbbziSiJbgw4wp4DDoE,8915
14
+ uvd_x402_sdk/networks/base.py,sha256=pvn01I1kNFmSaVltnsLjrp06D_hmAxis6XSIYZzUO1c,14429
15
+ uvd_x402_sdk/networks/evm.py,sha256=4IbeaMH2I1c9DYCijghys0qYNeL2Nl92IMKLwq-b0Zg,10065
16
16
  uvd_x402_sdk/networks/near.py,sha256=sxbxT1NqjcENh8ysFLDpAx5DGizf1EI0YjwgviLfqcY,11608
17
17
  uvd_x402_sdk/networks/solana.py,sha256=kVSHRi57eTJdBtgI8SUbHfQUxYzx-_YvI_bEB0HIvNg,9351
18
18
  uvd_x402_sdk/networks/stellar.py,sha256=c-6re-dVc2-6gJ5rL4krUTaFsPz5vkactOJD-0wowBA,3534
19
- uvd_x402_sdk-0.3.3.dist-info/LICENSE,sha256=OcLzB_iSgMbvk7b0dlyvleY_IbL2WUaPxvn1CHw2uAc,1073
20
- uvd_x402_sdk-0.3.3.dist-info/METADATA,sha256=Aj7XqVbaMBvAKlMvd8VnjCzYFpoOrUBGRI0gXEFL7IM,29338
21
- uvd_x402_sdk-0.3.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
22
- uvd_x402_sdk-0.3.3.dist-info/top_level.txt,sha256=Exyjj_Kl7CDAGFMi72lT9oFPOYiRNZb3l8tr906mMmc,13
23
- uvd_x402_sdk-0.3.3.dist-info/RECORD,,
19
+ uvd_x402_sdk-0.3.4.dist-info/LICENSE,sha256=OcLzB_iSgMbvk7b0dlyvleY_IbL2WUaPxvn1CHw2uAc,1073
20
+ uvd_x402_sdk-0.3.4.dist-info/METADATA,sha256=cAqVIhQQCsIckZYoeXifxGbaUlj_MdVHa9jsn5qXk0s,29609
21
+ uvd_x402_sdk-0.3.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
22
+ uvd_x402_sdk-0.3.4.dist-info/top_level.txt,sha256=Exyjj_Kl7CDAGFMi72lT9oFPOYiRNZb3l8tr906mMmc,13
23
+ uvd_x402_sdk-0.3.4.dist-info/RECORD,,