Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/core/jpyc_core_sdk/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ <h6 id="raises">Raises:</h6>
<div class="attr variable">
<span class="name">SUPPORTED_CHAINS</span> =
<input id="SUPPORTED_CHAINS-view-value" class="view-value-toggle-state" type="checkbox" aria-hidden="true" tabindex="-1">
<label class="view-value-button pdoc-button" for="SUPPORTED_CHAINS-view-value"></label><span class="default_value">{&#39;ethereum&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 1, &#39;name&#39;: &#39;Ethereum Mainnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://ethereum-rpc.publicnode.com&#39;]}, &#39;sepolia&#39;: {&#39;id&#39;: 11155111, &#39;name&#39;: &#39;Ethereum Sepolia Testnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://ethereum-sepolia-rpc.publicnode.com&#39;]}}, &#39;polygon&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 137, &#39;name&#39;: &#39;Polygon Mainnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://polygon-rpc.com&#39;]}, &#39;amoy&#39;: {&#39;id&#39;: 80002, &#39;name&#39;: &#39;Polygon Amoy Testnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://rpc-amoy.polygon.technology&#39;]}}, &#39;gnosis&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 100, &#39;name&#39;: &#39;Gnosis Chain&#39;, &#39;rpc_endpoints&#39;: [&#39;https://rpc.gnosischain.com&#39;]}, &#39;chiado&#39;: {&#39;id&#39;: 10200, &#39;name&#39;: &#39;Gnosis Chiado Testnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://rpc.chiadochain.net&#39;]}}, &#39;avalanche&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 43114, &#39;name&#39;: &#39;Avalanche C-Chain&#39;, &#39;rpc_endpoints&#39;: [&#39;https://api.avax.network/ext/bc/C/rpc&#39;]}, &#39;fuji&#39;: {&#39;id&#39;: 43113, &#39;name&#39;: &#39;Avalanche Fuji Testnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://api.avax-test.network/ext/bc/C/rpc&#39;]}}, &#39;astar&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 592, &#39;name&#39;: &#39;Astar Network&#39;, &#39;rpc_endpoints&#39;: [&#39;https://astar.public.blastapi.io&#39;]}}, &#39;shiden&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 336, &#39;name&#39;: &#39;Shiden Network&#39;, &#39;rpc_endpoints&#39;: [&#39;https://shiden.public.blastapi.io&#39;]}}, &#39;localhost&#39;: {&#39;devnet&#39;: {&#39;id&#39;: 31337, &#39;name&#39;: &#39;Localhost Network&#39;, &#39;rpc_endpoints&#39;: [&#39;http://127.0.0.1:8545/&#39;]}}}</span>
<label class="view-value-button pdoc-button" for="SUPPORTED_CHAINS-view-value"></label><span class="default_value">{&#39;ethereum&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 1, &#39;name&#39;: &#39;Ethereum Mainnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://ethereum-rpc.publicnode.com&#39;]}, &#39;sepolia&#39;: {&#39;id&#39;: 11155111, &#39;name&#39;: &#39;Ethereum Sepolia Testnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://ethereum-sepolia-rpc.publicnode.com&#39;]}}, &#39;polygon&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 137, &#39;name&#39;: &#39;Polygon Mainnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://polygon-rpc.com&#39;]}, &#39;amoy&#39;: {&#39;id&#39;: 80002, &#39;name&#39;: &#39;Polygon Amoy Testnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://rpc-amoy.polygon.technology&#39;]}}, &#39;avalanche&#39;: {&#39;mainnet&#39;: {&#39;id&#39;: 43114, &#39;name&#39;: &#39;Avalanche C-Chain&#39;, &#39;rpc_endpoints&#39;: [&#39;https://api.avax.network/ext/bc/C/rpc&#39;]}, &#39;fuji&#39;: {&#39;id&#39;: 43113, &#39;name&#39;: &#39;Avalanche Fuji Testnet&#39;, &#39;rpc_endpoints&#39;: [&#39;https://api.avax-test.network/ext/bc/C/rpc&#39;]}}, &#39;localhost&#39;: {&#39;devnet&#39;: {&#39;id&#39;: 31337, &#39;name&#39;: &#39;Localhost Network&#39;, &#39;rpc_endpoints&#39;: [&#39;http://127.0.0.1:8545/&#39;]}}}</span>


</div>
Expand Down Expand Up @@ -1224,7 +1224,7 @@ <h6 id="attributes">Attributes:</h6>
<section id="ChainName">
<div class="attr variable">
<span class="def">type</span> <span class="name">ChainName</span> =
<span class="default_value">Literal[&#39;ethereum&#39;, &#39;polygon&#39;, &#39;gnosis&#39;, &#39;avalanche&#39;, &#39;astar&#39;, &#39;shiden&#39;, &#39;localhost&#39;]</span>
<span class="default_value">Literal[&#39;ethereum&#39;, &#39;polygon&#39;, &#39;avalanche&#39;, &#39;localhost&#39;]</span>


</div>
Expand Down
4 changes: 0 additions & 4 deletions packages/core/README-jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |

## 🪄 使い方

Expand Down
4 changes: 0 additions & 4 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
26 changes: 0 additions & 26 deletions packages/core/jpyc_core_sdk/utils/chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions packages/core/jpyc_core_sdk/utils/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
type ChainName = Literal[
"ethereum",
"polygon",
"gnosis",
"avalanche",
"astar",
"shiden",
"localhost",
]

Expand Down
2 changes: 1 addition & 1 deletion packages/core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions tests/core/utils/test_chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']"
)

Expand Down
6 changes: 3 additions & 3 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.