agent0-sdk 1.4.0__py3-none-any.whl → 1.4.2__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.
agent0_sdk/__init__.py CHANGED
@@ -33,7 +33,7 @@ except ImportError:
33
33
  TransactionMined = None
34
34
  _sdk_available = False
35
35
 
36
- __version__ = "1.4.0"
36
+ __version__ = "1.4.2"
37
37
  __all__ = [
38
38
  "SDK",
39
39
  "Agent",
@@ -514,6 +514,11 @@ VALIDATION_REGISTRY_ABI = [
514
514
  # Contract registry for different chains
515
515
  # Updated addresses from: https://github.com/erc-8004/erc-8004-contracts
516
516
  DEFAULT_REGISTRIES: Dict[int, Dict[str, str]] = {
517
+ 1: { # Ethereum Mainnet
518
+ "IDENTITY": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
519
+ "REPUTATION": "0x8004BAa17C55a88189AE136b182e5fdA19dE9b63",
520
+ # "VALIDATION": "0x...", # Set when deployed/enabled
521
+ },
517
522
  11155111: { # Ethereum Sepolia
518
523
  "IDENTITY": "0x8004A818BFB912233c491871b3d84c89A494BD9e",
519
524
  "REPUTATION": "0x8004B663056A597Dffe9eCcC1965A193B7388713",
@@ -540,8 +545,9 @@ DEFAULT_REGISTRIES: Dict[int, Dict[str, str]] = {
540
545
  # Default subgraph URLs for different chains
541
546
  # Note: Subgraph URLs may need to be updated when new contracts are deployed
542
547
  DEFAULT_SUBGRAPH_URLS: Dict[int, str] = {
548
+ 1: "https://gateway.thegraph.com/api/7fd2e7d89ce3ef24cd0d4590298f0b2c/subgraphs/id/FV6RR6y13rsnCxBAicKuQEwDp8ioEGiNaWaZUmvr1F8k", # Ethereum Mainnet
543
549
  11155111: "https://gateway.thegraph.com/api/00a452ad3cd1900273ea62c1bf283f93/subgraphs/id/6wQRC7geo9XYAhckfmfo8kbMRLeWU8KQd3XsJqFKmZLT", # Ethereum Sepolia
544
550
  # Other chains temporarily disabled - subgraphs to be updated
545
551
  # 84532: "https://gateway.thegraph.com/api/...", # Base Sepolia - To be updated
546
552
  # 80002: "https://gateway.thegraph.com/api/...", # Polygon Amoy - To be updated
547
- }
553
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent0-sdk
3
- Version: 1.4.0
3
+ Version: 1.4.2
4
4
  Summary: Python SDK for agent portability, discovery and trust based on ERC-8004
5
5
  Author-email: Agent0 Team <team@ag0.xyz>
6
6
  License: MIT License
@@ -122,7 +122,7 @@ import os
122
122
 
123
123
  # Initialize SDK with IPFS and subgraph
124
124
  sdk = SDK(
125
- chainId=11155111, # Ethereum Sepolia testnet
125
+ chainId=11155111, # Ethereum Sepolia testnet (use 1 for Ethereum Mainnet)
126
126
  rpcUrl=os.getenv("RPC_URL"),
127
127
  signer=os.getenv("PRIVATE_KEY"),
128
128
  ipfs="pinata", # Options: "pinata", "filecoinPin", "node"
@@ -364,7 +364,7 @@ Browse these files to find appropriate skill and domain slugs. For more informat
364
364
 
365
365
  ## 🚀 Coming Soon
366
366
 
367
- - More chains (currently Ethereum Sepolia only)
367
+ - More chains (currently Ethereum Sepolia + Ethereum Mainnet)
368
368
  - Support for validations
369
369
  - Enhanced x402 payments
370
370
  - Semantic/Vectorial search
@@ -1,6 +1,6 @@
1
- agent0_sdk/__init__.py,sha256=9YgRWcbrfvTw21YnzWU9zT5cfkXbR6eLWEB6g_-mlg4,1102
1
+ agent0_sdk/__init__.py,sha256=NUCdspMGo80UwULYUXXvd6rCtwlnj0qhEA7fa_nMb5M,1102
2
2
  agent0_sdk/core/agent.py,sha256=P3AX7zm4G5qkWdTJcjOvR69cCyOovHefbRoKejj6QKY,48062
3
- agent0_sdk/core/contracts.py,sha256=oUqzosKMeCHRvIb4AIao103aHM8sa2zEBLYi1IoLKog,22402
3
+ agent0_sdk/core/contracts.py,sha256=o2e_2w8YnPlf-VVVI4s7VE7p39uSjj2zJ0gVXyMbeOM,22787
4
4
  agent0_sdk/core/endpoint_crawler.py,sha256=QBkFc3tBSQqHj6PtSTZ5D3_HVB00KJZJdxE3uYpI9po,13611
5
5
  agent0_sdk/core/feedback_manager.py,sha256=gHCyBYK17Yc5HcxDcbhl_blXYqulYO-7oiEvoPQomms,42585
6
6
  agent0_sdk/core/indexer.py,sha256=gz4DDQQcRbe1RQtFSgq4OZLLFwXHFIe4v2-CcpD077A,72661
@@ -14,8 +14,8 @@ agent0_sdk/core/value_encoding.py,sha256=NQUUvjTRAr5Tqj8t4HUGlfhak8VDmB8E5WMlfAq
14
14
  agent0_sdk/core/web3_client.py,sha256=9w5ZgHILteCHSOisae3QluwuIsX3OD-VkoAc01koQWA,13786
15
15
  agent0_sdk/taxonomies/all_domains.json,sha256=buM8_6mpY8_AMbBIPzM-gtu14Tl30QDmhuQxxrlJU4c,74625
16
16
  agent0_sdk/taxonomies/all_skills.json,sha256=WVsutw3fqoj1jfDPru3CyWTr1kc1a5-EhBOWPfXnEi8,47483
17
- agent0_sdk-1.4.0.dist-info/licenses/LICENSE,sha256=rhZZbZm_Ovz4Oa9LNQ-ms8a1tA36wWh90ZkC0OR7WMw,1072
18
- agent0_sdk-1.4.0.dist-info/METADATA,sha256=HTLgCdx26mEw_7PB5--17p3_jHacbnE8roJE9qyQ7QM,15179
19
- agent0_sdk-1.4.0.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
20
- agent0_sdk-1.4.0.dist-info/top_level.txt,sha256=p4520WUKNfhU0lVWJgkrB_jdeUfvHSY3K18k4oYLNfI,11
21
- agent0_sdk-1.4.0.dist-info/RECORD,,
17
+ agent0_sdk-1.4.2.dist-info/licenses/LICENSE,sha256=rhZZbZm_Ovz4Oa9LNQ-ms8a1tA36wWh90ZkC0OR7WMw,1072
18
+ agent0_sdk-1.4.2.dist-info/METADATA,sha256=D6o0O1JHNKDkLLo3tv4NOvsz5A7LAf2Zrw44rtuh5u8,15222
19
+ agent0_sdk-1.4.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
20
+ agent0_sdk-1.4.2.dist-info/top_level.txt,sha256=p4520WUKNfhU0lVWJgkrB_jdeUfvHSY3K18k4oYLNfI,11
21
+ agent0_sdk-1.4.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.10.1)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5