File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
cw-orch/src/daemon/networks Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ use crate :: daemon:: networks:: { ChainInfo , ChainKind , NetworkInfo } ;
2+
3+ pub const MIGALOO_NETWORK : NetworkInfo = NetworkInfo {
4+ id : "migaloo-1" ,
5+ pub_address_prefix : "migaloo" ,
6+ coin_type : 118u32 ,
7+ } ;
8+
9+ pub const LOCAL_MIGALOO : ChainInfo = ChainInfo {
10+ kind : ChainKind :: Local ,
11+ chain_id : "migaloo-chain" ,
12+ gas_denom : "uwhale" ,
13+ gas_price : 0.1 ,
14+ grpc_urls : & [ "http://localhost:9090" ] ,
15+ network_info : MIGALOO_NETWORK ,
16+ lcd_url : None ,
17+ fcd_url : None ,
18+ } ;
19+
20+ pub const NARWHAL_2 : ChainInfo = ChainInfo {
21+ kind : ChainKind :: Testnet ,
22+ chain_id : "narwhal-1" ,
23+ gas_denom : "uwhale" ,
24+ gas_price : 0.1 ,
25+ grpc_urls : & [ "migaloo-testnet-grpc.polkachu.com:20790" ] ,
26+ network_info : MIGALOO_NETWORK ,
27+ lcd_url : None ,
28+ fcd_url : None ,
29+ } ;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ pub mod archway;
66pub mod injective;
77pub mod juno;
88pub mod kujira;
9+ pub mod migaloo;
910pub mod neutron;
1011pub mod osmosis;
1112pub mod sei;
@@ -16,6 +17,7 @@ pub use archway::{ARCHWAY_1, CONSTANTINE_3};
1617pub use injective:: { INJECTIVE_1 , INJECTIVE_888 } ;
1718pub use juno:: { JUNO_1 , LOCAL_JUNO , UNI_6 } ;
1819pub use kujira:: HARPOON_4 ;
20+ pub use migaloo:: { LOCAL_MIGALOO , NARWHAL_2 } ;
1921pub use neutron:: { LOCAL_NEUTRON , NEUTRON_1 , PION_1 } ;
2022pub use osmosis:: { LOCAL_OSMO , OSMO_5 } ;
2123pub use sei:: { ATLANTIC_2 , LOCAL_SEI , SEI_DEVNET_3 } ;
@@ -42,11 +44,13 @@ pub fn parse_network(net_id: &str) -> ChainInfo {
4244 CONSTANTINE_3 ,
4345 ARCHWAY_1 ,
4446 PION_1 ,
47+ NARWHAL_2 ,
4548 NEUTRON_1 ,
4649 INJECTIVE_1 ,
4750 HARPOON_4 ,
4851 OSMO_5 ,
4952 LOCAL_OSMO ,
53+ LOCAL_MIGALOO ,
5054 LOCAL_NEUTRON ,
5155 ] ;
5256 for net in networks {
You can’t perform that action at this time.
0 commit comments