diff --git a/docs/core/jpyc_core_sdk/utils.html b/docs/core/jpyc_core_sdk/utils.html index f772445..ec2302d 100644 --- a/docs/core/jpyc_core_sdk/utils.html +++ b/docs/core/jpyc_core_sdk/utils.html @@ -527,7 +527,7 @@
Raises:
SUPPORTED_CHAINS = - {'ethereum': {'mainnet': {'id': 1, 'name': 'Ethereum Mainnet', 'rpc_endpoints': ['https://ethereum-rpc.publicnode.com']}, 'sepolia': {'id': 11155111, 'name': 'Ethereum Sepolia Testnet', 'rpc_endpoints': ['https://ethereum-sepolia-rpc.publicnode.com']}}, 'polygon': {'mainnet': {'id': 137, 'name': 'Polygon Mainnet', 'rpc_endpoints': ['https://polygon-rpc.com']}, 'amoy': {'id': 80002, 'name': 'Polygon Amoy Testnet', 'rpc_endpoints': ['https://rpc-amoy.polygon.technology']}}, 'gnosis': {'mainnet': {'id': 100, 'name': 'Gnosis Chain', 'rpc_endpoints': ['https://rpc.gnosischain.com']}, 'chiado': {'id': 10200, 'name': 'Gnosis Chiado Testnet', 'rpc_endpoints': ['https://rpc.chiadochain.net']}}, 'avalanche': {'mainnet': {'id': 43114, 'name': 'Avalanche C-Chain', 'rpc_endpoints': ['https://api.avax.network/ext/bc/C/rpc']}, 'fuji': {'id': 43113, 'name': 'Avalanche Fuji Testnet', 'rpc_endpoints': ['https://api.avax-test.network/ext/bc/C/rpc']}}, 'astar': {'mainnet': {'id': 592, 'name': 'Astar Network', 'rpc_endpoints': ['https://astar.public.blastapi.io']}}, 'shiden': {'mainnet': {'id': 336, 'name': 'Shiden Network', 'rpc_endpoints': ['https://shiden.public.blastapi.io']}}, 'localhost': {'devnet': {'id': 31337, 'name': 'Localhost Network', 'rpc_endpoints': ['http://127.0.0.1:8545/']}}} + {'ethereum': {'mainnet': {'id': 1, 'name': 'Ethereum Mainnet', 'rpc_endpoints': ['https://ethereum-rpc.publicnode.com']}, 'sepolia': {'id': 11155111, 'name': 'Ethereum Sepolia Testnet', 'rpc_endpoints': ['https://ethereum-sepolia-rpc.publicnode.com']}}, 'polygon': {'mainnet': {'id': 137, 'name': 'Polygon Mainnet', 'rpc_endpoints': ['https://polygon-rpc.com']}, 'amoy': {'id': 80002, 'name': 'Polygon Amoy Testnet', 'rpc_endpoints': ['https://rpc-amoy.polygon.technology']}}, 'avalanche': {'mainnet': {'id': 43114, 'name': 'Avalanche C-Chain', 'rpc_endpoints': ['https://api.avax.network/ext/bc/C/rpc']}, 'fuji': {'id': 43113, 'name': 'Avalanche Fuji Testnet', 'rpc_endpoints': ['https://api.avax-test.network/ext/bc/C/rpc']}}, 'localhost': {'devnet': {'id': 31337, 'name': 'Localhost Network', 'rpc_endpoints': ['http://127.0.0.1:8545/']}}}
@@ -1224,7 +1224,7 @@
Attributes:
type ChainName = -Literal['ethereum', 'polygon', 'gnosis', 'avalanche', 'astar', 'shiden', 'localhost'] +Literal['ethereum', 'polygon', 'avalanche', 'localhost']
diff --git a/packages/core/README-jp.md b/packages/core/README-jp.md index 3ecc0af..25a0aa8 100644 --- a/packages/core/README-jp.md +++ b/packages/core/README-jp.md @@ -21,12 +21,8 @@ JPYC Python SDK は、各ネットワーク上にデプロイされた JPYC コ | Ethereum Sepolia テストネット | ✅ | ✅ | `ethereum` | `sepolia` | | Polygon PoS メインネット | ✅ | ✅ | `polygon` | `mainnet` | | Polygon Amoy テストネット | ✅ | ✅ | `polygon` | `amoy` | -| Gnosis メインネット | ✅ | ✅ | `gnosis` | `mainnet` | -| Gnosis Chiado テストネット | ✅ | ✅ | `gnosis` | `chiado` | | Avalanche メインネット | ✅ | ✅ | `avalanche` | `mainnet` | | Avalanche Fuji テストネット | ✅ | ✅ | `avalanche` | `fuji` | -| Astar メインネット | ✅ | ✅ | `astar` | `mainnet` | -| Shiden メインネット | ✅ | ✅ | `shiden` | `mainnet` | ## 🪄 使い方 diff --git a/packages/core/README.md b/packages/core/README.md index 99cb65d..ceeea45 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -21,12 +21,8 @@ The SDK supports the following contract types and networks as of October 2025. P | Ethereum Sepolia Testnet | ✅ | ✅ | `ethereum` | `sepolia` | | Polygon PoS Mainnet | ✅ | ✅ | `polygon` | `mainnet` | | Polygon Amoy Testnet | ✅ | ✅ | `polygon` | `amoy` | -| Gnosis Mainnet | ✅ | ✅ | `gnosis` | `mainnet` | -| Gnosis Chiado Testnet | ✅ | ✅ | `gnosis` | `chiado` | | Avalanche Mainnet | ✅ | ✅ | `avalanche` | `mainnet` | | Avalanche Fuji Testnet | ✅ | ✅ | `avalanche` | `fuji` | -| Astar Mainnet | ✅ | ✅ | `astar` | `mainnet` | -| Shiden Mainnet | ✅ | ✅ | `shiden` | `mainnet` | ## 🪄 Usage diff --git a/packages/core/jpyc_core_sdk/utils/chains.py b/packages/core/jpyc_core_sdk/utils/chains.py index daec698..386631f 100644 --- a/packages/core/jpyc_core_sdk/utils/chains.py +++ b/packages/core/jpyc_core_sdk/utils/chains.py @@ -33,18 +33,6 @@ "rpc_endpoints": ["https://rpc-amoy.polygon.technology"], }, }, - "gnosis": { - "mainnet": { - "id": 100, - "name": "Gnosis Chain", - "rpc_endpoints": ["https://rpc.gnosischain.com"], - }, - "chiado": { - "id": 10200, - "name": "Gnosis Chiado Testnet", - "rpc_endpoints": ["https://rpc.chiadochain.net"], - }, - }, "avalanche": { "mainnet": { "id": 43114, @@ -57,20 +45,6 @@ "rpc_endpoints": ["https://api.avax-test.network/ext/bc/C/rpc"], }, }, - "astar": { - "mainnet": { - "id": 592, - "name": "Astar Network", - "rpc_endpoints": ["https://astar.public.blastapi.io"], - }, - }, - "shiden": { - "mainnet": { - "id": 336, - "name": "Shiden Network", - "rpc_endpoints": ["https://shiden.public.blastapi.io"], - }, - }, "localhost": { "devnet": { "id": 31337, diff --git a/packages/core/jpyc_core_sdk/utils/types.py b/packages/core/jpyc_core_sdk/utils/types.py index b0d94af..cfcf114 100644 --- a/packages/core/jpyc_core_sdk/utils/types.py +++ b/packages/core/jpyc_core_sdk/utils/types.py @@ -9,10 +9,7 @@ type ChainName = Literal[ "ethereum", "polygon", - "gnosis", "avalanche", - "astar", - "shiden", "localhost", ] diff --git a/packages/core/pyproject.toml b/packages/core/pyproject.toml index 72b40df..5ae7a50 100644 --- a/packages/core/pyproject.toml +++ b/packages/core/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "jpyc-core-sdk" -version = "1.1.0" +version = "2.0.0" requires-python = ">=3.12" license = "MIT" description = "Python SDK for interacting with JPYC contracts" diff --git a/pyproject.toml b/pyproject.toml index ee60df1..0ce8cd0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "jpyc-python-sdks" -version = "1.1.0" +version = "2.0.0" requires-python = ">=3.12" description = "Python SDKs for JPYC protocols" readme = "README.md" diff --git a/tests/core/test_client.py b/tests/core/test_client.py index 707043d..f04232e 100644 --- a/tests/core/test_client.py +++ b/tests/core/test_client.py @@ -193,7 +193,7 @@ def test_set_default_provider_failures( def test_set_custom_provider(sdk_client): - rpc_endpoint = "https://astar.public.blastapi.io" + rpc_endpoint = "https://polygon-rpc.com" sdk_client.set_custom_provider( rpc_endpoint=rpc_endpoint, diff --git a/tests/core/utils/test_chains.py b/tests/core/utils/test_chains.py index 0f8ce27..b25d7c6 100644 --- a/tests/core/utils/test_chains.py +++ b/tests/core/utils/test_chains.py @@ -15,10 +15,7 @@ def test_enumerate_supported_networks(): assert ( supported_networks == "'ethereum' => ['mainnet', 'sepolia'], " "'polygon' => ['mainnet', 'amoy'], " - "'gnosis' => ['mainnet', 'chiado'], " "'avalanche' => ['mainnet', 'fuji'], " - "'astar' => ['mainnet'], " - "'shiden' => ['mainnet'], " "'localhost' => ['devnet']" ) diff --git a/uv.lock b/uv.lock index a2e22b6..d5ccc4d 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.12" [manifest] @@ -547,7 +547,7 @@ wheels = [ [[package]] name = "jpyc-core-sdk" -version = "1.1.0" +version = "2.0.0" source = { editable = "packages/core" } dependencies = [ { name = "eth-typing" }, @@ -582,7 +582,7 @@ dev = [ [[package]] name = "jpyc-python-sdks" -version = "1.1.0" +version = "2.0.0" source = { virtual = "." } [package.dev-dependencies]