Skip to content

Commit

Permalink
update network names
Browse files Browse the repository at this point in the history
  • Loading branch information
sslivkoff committed Sep 20, 2024
1 parent 9785240 commit 9bf6cb4
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 38 deletions.
5 changes: 5 additions & 0 deletions python/generate_network_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
# specialcase the standard name for certain chains
special_cases: Mapping[str, str] = {
'OP Mainnet': 'optimism',
'Avalanche C-Chain': 'avalanche',
'Arbitrum One': 'arbitrum',
'BNB Smart Chain Mainnet': 'bsc',
'Genesis Coin': 'genesis_coin',
'X1 Network': 'x1_network',
'ThaiChain 2.0 ThaiFi': 'thaifi',
Expand Down Expand Up @@ -60,6 +63,8 @@ def standardize_name(name: str) -> str:
name = name.lower()
name = name.replace(' ', '_')
name = name.replace('-', '_')
name = name.replace('___', '_')
name = name.replace('__', '_')
name = name.replace('(', '')
name = name.replace(')', '')

Expand Down
61 changes: 43 additions & 18 deletions python/mesc/network_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
'53': 'coinex_testnet',
'54': 'openpiece',
'55': 'zyx',
'56': 'bnb',
'56': 'bsc',
'57': 'syscoin',
'58': 'ontology',
'59': 'eos_evm_legacy',
Expand Down Expand Up @@ -165,7 +165,7 @@
'161': 'armonia_eva_testnet',
'162': 'lightstreams_testnet',
'163': 'lightstreams',
'164': 'omni_omega',
'164': 'omni_omega_testnet',
'166': 'omni',
'167': 'atoshi_testnet',
'168': 'aioz',
Expand All @@ -178,6 +178,7 @@
'179': 'abey',
'180': 'ame',
'181': 'waterfall',
'183': 'ethernity',
'184': 'dojima_testnet',
'185': 'mint',
'186': 'seele',
Expand Down Expand Up @@ -430,6 +431,8 @@
'1001': 'kaia_testnet_kairos',
'1003': 'tectum_emission_token',
'1004': 't_ekta',
'1005': 'lemontestnet',
'1006': 'lemon',
'1007': 'newton_testnet',
'1008': 'eurus',
'1009': 'jumbo',
Expand Down Expand Up @@ -497,6 +500,7 @@
'1246': 'om_platform',
'1248': 'dogether',
'1252': 'cic_testnet',
'1260': 'metacces_testnet',
'1280': 'halo',
'1284': 'moonbeam',
'1285': 'moonriver',
Expand Down Expand Up @@ -525,7 +529,6 @@
'1388': 'amstar',
'1392': 'joseon',
'1402': 'polygon_zkevm_testnet_old',
'1414': 'silicon_zkevm_sepolia_testnet',
'1422': 'polygon_zkevm_testnet_pre_audit_upgraded',
'1433': 'rikeza',
'1440': 'living_assets',
Expand Down Expand Up @@ -643,6 +646,7 @@
'2047': 'stratos_testnet',
'2048': 'stratos',
'2049': 'movo',
'2071': 'metacces',
'2077': 'quokkacoin',
'2088': 'altair',
'2089': 'algol',
Expand Down Expand Up @@ -675,7 +679,7 @@
'2300': 'bomb',
'2306': 'ebro',
'2309': 'arevia',
'2311': 'chronicle_vesuvius___lit_protocol_testnet',
'2311': 'chronicle_vesuvius_lit_protocol_testnet',
'2323': 'soma_testnet',
'2330': 'altcoin',
'2331': 'rss3_vsl_sepolia_testnet',
Expand Down Expand Up @@ -714,8 +718,10 @@
'2748': 'nanon',
'2777': 'gm',
'2810': 'morph_holesky',
'2868': 'hyperagi',
'2882': 'chips',
'2888': 'boba_goerli_testnet',
'2889': 'aarma',
'2907': 'elux',
'2911': 'hy',
'2941': 'xenon_testnet',
Expand All @@ -733,7 +739,7 @@
'3102': 'vulture_evm_beta',
'3109': 'satoshivm_alpha',
'3110': 'satoshivm_testnet',
'3141': 'filecoin___hyperspace_testnet',
'3141': 'filecoin_hyperspace_testnet',
'3269': 'dubxcoin',
'3270': 'dubxcoin_testnet',
'3306': 'debounce_subnet_testnet',
Expand Down Expand Up @@ -853,6 +859,7 @@
'5424': 'edexa',
'5439': 'ego',
'5522': 'vex_evm_testnet',
'5545': 'duck',
'5551': 'nahmii_2',
'5553': 'nahmii_2_testnet',
'5555': 'verse',
Expand Down Expand Up @@ -899,6 +906,7 @@
'6805': 'race',
'6806': 'race_testnet',
'6868': 'pools',
'6880': 'mtt',
'6942': 'laika',
'6969': 'tomb',
'6999': 'polysmart',
Expand All @@ -924,7 +932,7 @@
'7575': 'adil_testnet',
'7576': 'adil_v2',
'7668': 'the_root',
'7672': 'the_root___porcini_testnet',
'7672': 'the_root_porcini_testnet',
'7700': 'canto',
'7701': 'canto_tesnet',
'7771': 'bitrock_testnet',
Expand All @@ -946,6 +954,7 @@
'8000': 'teleport',
'8001': 'teleport_testnet',
'8008': 'polynomial',
'8017': 'isuncoin',
'8029': 'mdgl_testnet',
'8047': 'boat',
'8054': 'karak_sepolia',
Expand All @@ -971,6 +980,7 @@
'8329': 'lorenzo',
'8333': 'b3',
'8387': 'dracones_financial_services',
'8428': 'that',
'8453': 'base',
'8545': 'chakra_testnet',
'8654': 'toki',
Expand Down Expand Up @@ -1011,8 +1021,8 @@
'9012': 'berylbit',
'9024': 'nexa_testnet_block',
'9025': 'nexa_block',
'9069': 'apex_fusion___nexus',
'9070': 'apex_fusion___nexus_testnet',
'9069': 'apex_fusion_nexus',
'9070': 'apex_fusion_nexus_testnet',
'9100': 'genesis_coin',
'9170': 'rinia_testnet_old',
'9223': 'codefin',
Expand All @@ -1036,6 +1046,7 @@
'9819': 'imperium',
'9876': 'binary_testnet',
'9888': 'dogelayer',
'9897': 'arena_z_testnet',
'9898': 'larissa',
'9911': 'espento',
'9966': 'uxer_testnet',
Expand Down Expand Up @@ -1104,6 +1115,7 @@
'12898': 'playfair_testnet_subnet',
'13000': 'sps',
'13337': 'beam_testnet',
'13370': 'cannon_testnet',
'13371': 'immutable_zkevm',
'13381': 'phoenix',
'13396': 'masa',
Expand All @@ -1115,6 +1127,7 @@
'14088': 'zeroth_testnet',
'14324': 'evolve_testnet',
'14333': 'vitruveo_testnet',
'14800': 'vana_moksha_testnet',
'14801': 'vana_satori_testnet',
'14853': 'humanode_testnet_5_israfel',
'15003': 'immutable_zkevm_devnet',
Expand Down Expand Up @@ -1192,6 +1205,7 @@
'24484': 'web',
'24734': 'mintme.com',
'25186': 'liquidlayer',
'25327': 'everclear',
'25839': 'alvey_testnet',
'25888': 'hammer',
'25925': 'bitkub_testnet',
Expand Down Expand Up @@ -1223,7 +1237,7 @@
'31224': 'cloudtx_testnet',
'31337': 'go_testnet',
'31414': 'evoke_testnet',
'31415': 'filecoin___wallaby_testnet',
'31415': 'filecoin_wallaby_testnet',
'31753': 'x',
'31754': 'x_testnet',
'32001': 'w3gamez_holesky_testnet',
Expand Down Expand Up @@ -1257,7 +1271,7 @@
'41500': 'opulent_x_beta',
'42069': 'pegglecoin',
'42072': 'agentlayer_testnet',
'42161': 'arbitrum_one',
'42161': 'arbitrum',
'42170': 'arbitrum_nova',
'42220': 'celo',
'42261': 'oasis_emerald_testnet',
Expand All @@ -1271,7 +1285,7 @@
'43110': 'athereum',
'43111': 'hemi',
'43113': 'avalanche_fuji_testnet',
'43114': 'avalanche_c',
'43114': 'avalanche',
'43288': 'boba_avax',
'43851': 'zkfair_testnet',
'44444': 'fren',
Expand Down Expand Up @@ -1349,16 +1363,18 @@
'65357': 'vecno',
'65450': 'scolcoin',
'65536': 'automata',
'66665': 'creator_testnet',
'66988': 'janus_testnet',
'67390': 'siriusnet',
'67588': 'cosmic',
'68770': 'dm2_verse',
'68775': 'dm2_verse_testnet',
'69420': 'condrieu',
'70000': 'thinkium_0',
'70001': 'thinkium_1',
'70002': 'thinkium_2',
'70103': 'thinkium_103',
'70700': 'proof_of_play___apex',
'70700': 'proof_of_play_apex',
'71111': 'guapcoinx',
'71393': 'polyjuice_testnet',
'71401': 'godwoken_testnet_v1',
Expand Down Expand Up @@ -1426,6 +1442,8 @@
'93572': 'liquidlayer_testnet',
'93747': 'stratovm_testnet',
'96970': 'mantis_testnet_hexapod',
'97053': 'tetron_testnet',
'97055': 'tetron',
'97288': 'boba_bnb_old',
'97435': 'slingshot_testnet',
'97531': 'green_testnet',
Expand Down Expand Up @@ -1491,8 +1509,8 @@
'167009': 'taiko_hekla_l2',
'168168': 'zs',
'171000': 'fair_testnet',
'175177': 'chronicle___lit_protocol_testnet',
'175188': 'chronicle_yellowstone___lit_protocol_testnet',
'175177': 'chronicle_lit_protocol_testnet',
'175188': 'chronicle_yellowstone_lit_protocol_testnet',
'188710': 'bitica',
'188881': 'condor_test',
'199991': 'mazze_testnet',
Expand All @@ -1507,6 +1525,7 @@
'201804': 'mythical',
'202020': 'decimal_testnet',
'202105': 'duck_testnet',
'202202': 'bethel_sydney',
'202212': 'x1_devnet',
'202401': 'ymtech_besu_testnet',
'202624': 'jellie',
Expand Down Expand Up @@ -1540,7 +1559,7 @@
'292003': 'cipherem_testnet',
'309075': 'one_world',
'313313': 'saharaai_testnet',
'314159': 'filecoin___calibration_testnet',
'314159': 'filecoin_calibration_testnet',
'322202': 'parex',
'323213': 'bloom_genesis_testnet',
'327126': 'waba_testnet',
Expand Down Expand Up @@ -1602,13 +1621,14 @@
'651940': 'all',
'656476': 'open_campus_codex',
'660279': 'xai',
'666666': 'vision___vpioneer_test',
'666666': 'vision_vpioneer_test',
'666888': 'hela_official_runtime_testnet',
'686868': 'won',
'696969': 'galadriel_devnet',
'710420': 'tiltyard_subnet',
'713715': 'sei_devnet',
'721529': 'eram',
'723107': 'tix_testnet',
'743111': 'hemi_sepolia',
'751230': 'bear_testnet',
'752024': 'ternoa_testnet',
Expand All @@ -1622,6 +1642,7 @@
'810180': 'zklink_nova',
'810181': 'zklink_nova_sepolia_testnet',
'810182': 'zklink_nova_goerli_testnet',
'812397': 'sg_verse',
'820522': 'tsc_testnet',
'827431': 'curve',
'839320': 'prm_testnet',
Expand Down Expand Up @@ -1654,6 +1675,7 @@
'1337802': 'kiln',
'1337803': 'zhejiang',
'1398243': 'automata_testnet',
'1398244': 'automata_orbit_testnet',
'1612127': 'playfi_albireo_testnet',
'1637450': 'xterio_testnet',
'1731313': 'turkey_demo_dev',
Expand All @@ -1663,7 +1685,7 @@
'2611555': 'dpu',
'2702128': 'xterio',
'3132023': 'saharaai',
'3141592': 'filecoin___butterfly_testnet',
'3141592': 'filecoin_butterfly_testnet',
'3397901': 'funki_sepolia_sandbox',
'3441005': 'manta_pacific_testnet',
'3441006': 'manta_pacific_sepolia_testnet',
Expand All @@ -1681,6 +1703,7 @@
'6038361': 'astar_zkyoto',
'6666665': 'safeanwang',
'6666666': 'safeanwang_testnet',
'7082400': 'coti_testnet',
'7225878': 'saakuru',
'7355310': 'openvessel',
'7668378': 'ql1_testnet',
Expand Down Expand Up @@ -1724,12 +1747,13 @@
'20241133': 'swan_proxima_testnet',
'20482050': 'hokum_testnet',
'22052002': 'excelon',
'24772477': '6degree_of_outreach_testnet',
'27082017': 'excoincial_volta_testnet',
'27082022': 'excoincial',
'28122024': 'ancient8_testnet',
'28945486': 'auxilium',
'29032022': 'fla',
'31415926': 'filecoin___local_testnet',
'31415926': 'filecoin_local_testnet',
'33626250': 'toliman_suave_testnet',
'35855456': 'joys_digital',
'37084624': 'skale_nebula_hub_testnet',
Expand Down Expand Up @@ -1803,6 +1827,7 @@
'1666700001': 'harmony_testnet_shard_1',
'1666900000': 'harmony_devnet_shard_0',
'1666900001': 'harmony_devnet_shard_1',
'1722641160': 'silicon_zkevm_sepolia_testnet',
'1802203764': 'kakarot_sepolia',
'1903648807': 'gemu_testnet',
'1918988905': 'rari_testnet',
Expand Down
4 changes: 2 additions & 2 deletions rust/Cargo.lock

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

Loading

0 comments on commit 9bf6cb4

Please sign in to comment.