File tree 3 files changed +67
-0
lines changed
cw-orch/src/daemon/networks
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;
6
6
pub mod injective;
7
7
pub mod juno;
8
8
pub mod kujira;
9
+ pub mod migaloo;
9
10
pub mod neutron;
10
11
pub mod osmosis;
11
12
pub mod sei;
@@ -16,6 +17,7 @@ pub use archway::{ARCHWAY_1, CONSTANTINE_3};
16
17
pub use injective:: { INJECTIVE_1 , INJECTIVE_888 } ;
17
18
pub use juno:: { JUNO_1 , LOCAL_JUNO , UNI_6 } ;
18
19
pub use kujira:: HARPOON_4 ;
20
+ pub use migaloo:: { LOCAL_MIGALOO , MIGALOO_1 , NARWHAL_1 } ;
19
21
pub use neutron:: { LOCAL_NEUTRON , NEUTRON_1 , PION_1 } ;
20
22
pub use osmosis:: { LOCAL_OSMO , OSMO_5 } ;
21
23
pub use sei:: { ATLANTIC_2 , LOCAL_SEI , SEI_DEVNET_3 } ;
@@ -42,12 +44,15 @@ pub fn parse_network(net_id: &str) -> ChainInfo {
42
44
CONSTANTINE_3 ,
43
45
ARCHWAY_1 ,
44
46
PION_1 ,
47
+ NARWHAL_1 ,
45
48
NEUTRON_1 ,
46
49
INJECTIVE_1 ,
47
50
HARPOON_4 ,
48
51
OSMO_5 ,
49
52
LOCAL_OSMO ,
53
+ LOCAL_MIGALOO ,
50
54
LOCAL_NEUTRON ,
55
+ MIGALOO_1 ,
51
56
] ;
52
57
for net in networks {
53
58
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