File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ Each network has a canonical chain identifier. Endpoint discovery and transport
5555| Plasma | ` eip155:9745 ` |
5656| BSC | ` eip155:56 ` |
5757| Avalanche | ` eip155:43114 ` |
58+ | Etherlink | ` eip155:42793 ` |
5859
5960### Non-EVM Networks
6061
@@ -84,6 +85,7 @@ arbitrum → eip155:42161
8485optimism → eip155:10
8586bsc → eip155:56
8687avalanche → eip155:43114
88+ etherlink → eip155:42793
8789solana → solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
8890bitcoin → bip122:000000000019d6689c085ae165831e93
8991cosmos → cosmos:cosmoshub-4
Original file line number Diff line number Diff line change @@ -78,6 +78,11 @@ pub const KNOWN_CHAINS: &[Chain] = &[
7878 chain_type : ChainType :: Evm ,
7979 chain_id : "eip155:43114" ,
8080 } ,
81+ Chain {
82+ name : "etherlink" ,
83+ chain_type : ChainType :: Evm ,
84+ chain_id : "eip155:42793" ,
85+ } ,
8186 Chain {
8287 name : "solana" ,
8388 chain_type : ChainType :: Solana ,
@@ -358,6 +363,14 @@ mod tests {
358363 assert_eq ! ( chain. chain_id, "eip155:9745" ) ;
359364 }
360365
366+ #[ test]
367+ fn test_parse_chain_etherlink_alias ( ) {
368+ let chain = parse_chain ( "etherlink" ) . unwrap ( ) ;
369+ assert_eq ! ( chain. name, "etherlink" ) ;
370+ assert_eq ! ( chain. chain_type, ChainType :: Evm ) ;
371+ assert_eq ! ( chain. chain_id, "eip155:42793" ) ;
372+ }
373+
361374 #[ test]
362375 fn test_parse_chain_caip2 ( ) {
363376 let chain = parse_chain ( "eip155:42161" ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments