Skip to content

Commit

Permalink
Merge pull request #8 from Ankr-network/feature/SCAN-1102-update-bloc…
Browse files Browse the repository at this point in the history
…kchains

Update blockchains
  • Loading branch information
RedCuckoo authored Jul 5, 2024
2 parents 3e9a957 + d043a3c commit a7234ef
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,18 @@ Mainnet
- Gnosis Chain: `"gnosis"`
- Scroll: `"scroll"`
- Linea: `"linea"`
- Xai: `"xai"`
- Xlayer: `"xlayer"`
- Telos: `"telos"`

Testnet

- Ethereum Goerli: `"eth_goerli"`
- Ethereum Sepolia: `"eth_sepolia"`
- Ethereum Holesky: `"eth_holesky"`
- Avalanche Fuji: `"avalanche_fuji"`
- Polygon Mumbai: `"polygon_mumbai"`
- Polygon Amoy: `"polygon_amoy"`
- Optimism Testnet: `"optimism_testnet"`
- Base Sepolia: `"base_sepolia"`

Appchain

Expand All @@ -123,6 +128,9 @@ Appchain
Appchain Testnet

- META Apes Testnet: `"bas_metaapes_testnet"`
- Neura Devnet `"neura_devnet"`
- Neura Testnet `"neura_testnet_v1"`
- Incentiv Devnet `"incentiv_devnet"`

When passing blockchain, you can use one available from `types.py` (preferred) or just a string value.

Expand Down
12 changes: 10 additions & 2 deletions ankr/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2250,18 +2250,26 @@ class Blockchain(Enum):
Avalanche = "avalanche"
Avalanche_fuji = "avalanche_fuji"
Base = "base"
Base_sepolia = "base_sepolia"
Bsc = "bsc"
Eth = "eth"
Eth_goerli = "eth_goerli"
Eth_holesky = "eth_holesky"
Eth_sepolia = "eth_sepolia"
Fantom = "fantom"
Flare = "flare"
Gnosis = "gnosis"
Incentiv_devnet = "incentiv_devnet"
Linea = "linea"
Neura_devnet = "neura_devnet"
Neura_testnet_v1 = "neura_testnet_v1"
Optimism = "optimism"
Optimism_testnet = "optimism_testnet"
Polygon = "polygon"
Polygon_mumbai = "polygon_mumbai"
Polygon_amoy = "polygon_amoy"
Polygon_zkevm = "polygon_zkevm"
Rollux = "rollux"
Scroll = "scroll"
Syscoin = "syscoin"
Telos = "telos"
Xai = "xai"
Xlayer = "xlayer"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ankr-sdk"
version = "1.0.1"
version = "1.0.2"
description = "Compact Python library for interacting with Ankr's Advanced APIs."
authors = [
"Roman Fasakhov <romanfasakhov@ankr.com>",
Expand Down

0 comments on commit a7234ef

Please sign in to comment.