File tree Expand file tree Collapse file tree 3 files changed +67
-0
lines changed
cw-orch/src/daemon/networks Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ use crate :: daemon:: networks:: { ChainInfo , ChainKind , NetworkInfo } ;
2+
3+ // ANCHOR: migaloo
4+ pub const MIGALOO_NETWORK : NetworkInfo = NetworkInfo {
5+ id : "migaloo-1" ,
6+ pub_address_prefix : "migaloo" ,
7+ coin_type : 118u32 ,
8+ } ;
9+
10+ pub const LOCAL_MIGALOO : ChainInfo = ChainInfo {
11+ kind : ChainKind :: Local ,
12+ chain_id : "migaloo-chain" ,
13+ gas_denom : "uwhale" ,
14+ gas_price : 0.1 ,
15+ grpc_urls : & [ "http://localhost:9090" ] ,
16+ network_info : MIGALOO_NETWORK ,
17+ lcd_url : None ,
18+ fcd_url : None ,
19+ } ;
20+
21+ /// <https://docs.migaloo.zone/validators/testnet>
22+ pub const NARWHAL_1 : ChainInfo = ChainInfo {
23+ kind : ChainKind :: Testnet ,
24+ chain_id : "narwhal-1" ,
25+ gas_denom : "uwhale" ,
26+ gas_price : 0.1 ,
27+ grpc_urls : & [ "migaloo-testnet-grpc.polkachu.com:20790" ] ,
28+ network_info : MIGALOO_NETWORK ,
29+ lcd_url : None ,
30+ fcd_url : None ,
31+ } ;
32+
33+ /// <https://docs.migaloo.zone/validators/mainnet>
34+ pub const MIGALOO_1 : ChainInfo = ChainInfo {
35+ kind : ChainKind :: Mainnet ,
36+ chain_id : "migaloo-1" ,
37+ gas_denom : "uwhale" ,
38+ gas_price : 0.1 ,
39+ grpc_urls : & [ "migaloo-grpc.polkachu.com:20790" ] ,
40+ network_info : MIGALOO_NETWORK ,
41+ lcd_url : None ,
42+ fcd_url : None ,
43+ } ;
44+ // ANCHOR_END: migaloo
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 , MIGALOO_1 , NARWHAL_1 } ;
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,12 +44,15 @@ pub fn parse_network(net_id: &str) -> ChainInfo {
4244 CONSTANTINE_3 ,
4345 ARCHWAY_1 ,
4446 PION_1 ,
47+ NARWHAL_1 ,
4548 NEUTRON_1 ,
4649 INJECTIVE_1 ,
4750 HARPOON_4 ,
4851 OSMO_5 ,
4952 LOCAL_OSMO ,
53+ LOCAL_MIGALOO ,
5054 LOCAL_NEUTRON ,
55+ MIGALOO_1 ,
5156 ] ;
5257 for net in networks {
5358 if net. chain_id == net_id {
Original file line number Diff line number Diff line change 1+ # Migaloo
2+
3+ Migaloo is a permission-less, open source network for decentralized interoperable applications running the latest tech.
4+
5+ [ Visit Migaloo's Docs] ( https://docs.migaloo.zone/ )
6+
7+ ## Usage
8+
9+ See how to setup your main function in the [ main function] ( ../single_contract/scripting.md#main-function ) section. Update the network passed into the ` Daemon ` builder to be ` networks::MIGALOO_1 ` .
10+
11+ ``` rust,ignore
12+ {{#include ../../../cw-orch/src/daemon/networks/migaloo.rs:migaloo}}
13+ ```
14+
15+ ## References
16+
17+ - [ Migaloo Documentation] ( https://docs.migaloo.zone/intro )
18+ - [ White Whale Discord] ( https://discord.gg/pc5EXCBfEwa )
You can’t perform that action at this time.
0 commit comments