evmchains 0.0.10__tar.gz → 0.0.12__tar.gz
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.
- {evmchains-0.0.10 → evmchains-0.0.12}/PKG-INFO +1 -1
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains/_meta.py +2 -2
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains/chains.py +50 -5
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains.egg-info/PKG-INFO +1 -1
- {evmchains-0.0.10 → evmchains-0.0.12}/scripts/update.py +5 -1
- {evmchains-0.0.10 → evmchains-0.0.12}/.github/workflows/release.yaml +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/.github/workflows/test.yaml +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/.gitignore +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/CONTRIBUTING.md +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/LICENSE +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/README.md +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains/__init__.py +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains/py.typed +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains/types.py +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains.egg-info/SOURCES.txt +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains.egg-info/dependency_links.txt +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains.egg-info/requires.txt +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/evmchains.egg-info/top_level.txt +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/pyproject.toml +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/setup.cfg +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/setup.py +0 -0
- {evmchains-0.0.10 → evmchains-0.0.12}/tests/test_func.py +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by scripts/update.py
|
|
2
|
-
# 2024-
|
|
2
|
+
# 2024-09-05 18:21:01.387852
|
|
3
3
|
# Do not edit this file directly.
|
|
4
4
|
from typing import Any, Dict
|
|
5
5
|
|
|
@@ -528,13 +528,11 @@ PUBLIC_CHAIN_META: Dict[str, Dict[str, Dict[str, Any]]] = {
|
|
|
528
528
|
"rpc": [
|
|
529
529
|
"https://rpc.sepolia.org",
|
|
530
530
|
"https://rpc2.sepolia.org",
|
|
531
|
-
"https://rpc-sepolia.rockx.com",
|
|
532
531
|
"https://rpc.sepolia.ethpandaops.io",
|
|
533
532
|
"https://sepolia.infura.io/v3/${INFURA_API_KEY}",
|
|
534
533
|
"https://sepolia.gateway.tenderly.co",
|
|
535
534
|
"https://ethereum-sepolia-rpc.publicnode.com",
|
|
536
535
|
"https://sepolia.drpc.org",
|
|
537
|
-
"https://rpc-sepolia.rockx.com",
|
|
538
536
|
],
|
|
539
537
|
"shortName": "sep",
|
|
540
538
|
"slip44": 1,
|
|
@@ -892,7 +890,7 @@ PUBLIC_CHAIN_META: Dict[str, Dict[str, Dict[str, Any]]] = {
|
|
|
892
890
|
"icon": "polygon",
|
|
893
891
|
"infoURL": "https://polygon.technology/",
|
|
894
892
|
"name": "Polygon Mainnet",
|
|
895
|
-
"nativeCurrency": {"decimals": 18, "name": "
|
|
893
|
+
"nativeCurrency": {"decimals": 18, "name": "POL", "symbol": "POL"},
|
|
896
894
|
"networkId": 137,
|
|
897
895
|
"rpc": [
|
|
898
896
|
"https://polygon-rpc.com/",
|
|
@@ -905,7 +903,7 @@ PUBLIC_CHAIN_META: Dict[str, Dict[str, Dict[str, Any]]] = {
|
|
|
905
903
|
"https://polygon.gateway.tenderly.co",
|
|
906
904
|
"https://polygon.drpc.org",
|
|
907
905
|
],
|
|
908
|
-
"shortName": "
|
|
906
|
+
"shortName": "pol",
|
|
909
907
|
"slip44": 966,
|
|
910
908
|
},
|
|
911
909
|
"mumbai": {
|
|
@@ -934,6 +932,31 @@ PUBLIC_CHAIN_META: Dict[str, Dict[str, Dict[str, Any]]] = {
|
|
|
934
932
|
"shortName": "maticmum",
|
|
935
933
|
"slip44": 1,
|
|
936
934
|
},
|
|
935
|
+
"amoy": {
|
|
936
|
+
"chain": "Polygon",
|
|
937
|
+
"chainId": 80002,
|
|
938
|
+
"ens": None,
|
|
939
|
+
"explorers": [
|
|
940
|
+
{
|
|
941
|
+
"name": "polygonamoy",
|
|
942
|
+
"standard": "EIP3091",
|
|
943
|
+
"url": "https://www.oklink.com/amoy",
|
|
944
|
+
}
|
|
945
|
+
],
|
|
946
|
+
"faucets": ["https://faucet.polygon.technology/"],
|
|
947
|
+
"features": None,
|
|
948
|
+
"icon": "polygon",
|
|
949
|
+
"infoURL": "https://polygon.technology/",
|
|
950
|
+
"name": "Amoy",
|
|
951
|
+
"nativeCurrency": {"decimals": 18, "name": "MATIC", "symbol": "MATIC"},
|
|
952
|
+
"networkId": 80002,
|
|
953
|
+
"rpc": [
|
|
954
|
+
"https://rpc-amoy.polygon.technology",
|
|
955
|
+
"https://polygon-amoy-bor-rpc.publicnode.com",
|
|
956
|
+
],
|
|
957
|
+
"shortName": "polygonamoy",
|
|
958
|
+
"slip44": 1,
|
|
959
|
+
},
|
|
937
960
|
},
|
|
938
961
|
"polygon-zkevm": {
|
|
939
962
|
"mainnet": {
|
|
@@ -984,6 +1007,28 @@ PUBLIC_CHAIN_META: Dict[str, Dict[str, Dict[str, Any]]] = {
|
|
|
984
1007
|
"shortName": "testnet-zkEVM-mango",
|
|
985
1008
|
"slip44": 1,
|
|
986
1009
|
},
|
|
1010
|
+
"cardona": {
|
|
1011
|
+
"chain": "Polygon",
|
|
1012
|
+
"chainId": 2442,
|
|
1013
|
+
"ens": None,
|
|
1014
|
+
"explorers": [
|
|
1015
|
+
{
|
|
1016
|
+
"name": "polygonscan",
|
|
1017
|
+
"standard": "EIP3091",
|
|
1018
|
+
"url": "https://cardona-zkevm.polygonscan.com",
|
|
1019
|
+
}
|
|
1020
|
+
],
|
|
1021
|
+
"faucets": [],
|
|
1022
|
+
"features": None,
|
|
1023
|
+
"icon": "zkevm",
|
|
1024
|
+
"infoURL": "https://polygon.technology/polygon-zkevm",
|
|
1025
|
+
"name": "Polygon zkEVM Cardona Testnet",
|
|
1026
|
+
"nativeCurrency": {"decimals": 18, "name": "Ether", "symbol": "ETH"},
|
|
1027
|
+
"networkId": 2442,
|
|
1028
|
+
"rpc": ["https://rpc.cardona.zkevm-rpc.com"],
|
|
1029
|
+
"shortName": "zkevm-testnet-cardona",
|
|
1030
|
+
"slip44": None,
|
|
1031
|
+
},
|
|
987
1032
|
},
|
|
988
1033
|
"rootstock": {
|
|
989
1034
|
"mainnet": {
|
|
@@ -17,7 +17,9 @@ SOURCE_URL = (
|
|
|
17
17
|
CHAIN_CONST_FILE = Path(__file__).parent.parent / "evmchains" / "chains.py"
|
|
18
18
|
BLACKLIST_STRINGS = [
|
|
19
19
|
# 2024-01-19: Node appears to be broken. Returning errors on simple requests.
|
|
20
|
-
"rpc.blocknative.com"
|
|
20
|
+
"rpc.blocknative.com",
|
|
21
|
+
# 2024-09-05: Node returning 504s for days.
|
|
22
|
+
"rpc-sepolia.rockx.com",
|
|
21
23
|
]
|
|
22
24
|
|
|
23
25
|
# Mapping of Ape ecosystem:network to chain IDs. These are the chains that we will be fetching.
|
|
@@ -72,10 +74,12 @@ CHAIN_IDS = {
|
|
|
72
74
|
"polygon": {
|
|
73
75
|
"mainnet": 137,
|
|
74
76
|
"mumbai": 80001,
|
|
77
|
+
"amoy": 80002,
|
|
75
78
|
},
|
|
76
79
|
"polygon-zkevm": {
|
|
77
80
|
"mainnet": 1101,
|
|
78
81
|
"testnet": 1442,
|
|
82
|
+
"cardona": 2442,
|
|
79
83
|
},
|
|
80
84
|
"rootstock": {
|
|
81
85
|
"mainnet": 30,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|