Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update blockchains #8

Merged
merged 3 commits into from
Jul 5, 2024
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
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
Loading