Skip to content

Commit c760012

Browse files
committed
updated migaloo info
1 parent 7a56848 commit c760012

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

cw-orch/src/daemon/networks/migaloo.rs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use crate::daemon::networks::{ChainInfo, ChainKind, NetworkInfo};
22

3+
// ANCHOR: migaloo
34
pub const MIGALOO_NETWORK: NetworkInfo = NetworkInfo {
45
id: "migaloo-1",
56
pub_address_prefix: "migaloo",
@@ -17,7 +18,8 @@ pub const LOCAL_MIGALOO: ChainInfo = ChainInfo {
1718
fcd_url: None,
1819
};
1920

20-
pub const NARWHAL_2: ChainInfo = ChainInfo {
21+
/// <https://docs.migaloo.zone/validators/testnet>
22+
pub const NARWHAL_1: ChainInfo = ChainInfo {
2123
kind: ChainKind::Testnet,
2224
chain_id: "narwhal-1",
2325
gas_denom: "uwhale",
@@ -27,3 +29,16 @@ pub const NARWHAL_2: ChainInfo = ChainInfo {
2729
lcd_url: None,
2830
fcd_url: None,
2931
};
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

cw-orch/src/daemon/networks/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub use archway::{ARCHWAY_1, CONSTANTINE_3};
1717
pub use injective::{INJECTIVE_1, INJECTIVE_888};
1818
pub use juno::{JUNO_1, LOCAL_JUNO, UNI_6};
1919
pub use kujira::HARPOON_4;
20-
pub use migaloo::{LOCAL_MIGALOO, NARWHAL_2};
20+
pub use migaloo::{LOCAL_MIGALOO, NARWHAL_1};
2121
pub use neutron::{LOCAL_NEUTRON, NEUTRON_1, PION_1};
2222
pub use osmosis::{LOCAL_OSMO, OSMO_5};
2323
pub use sei::{ATLANTIC_2, LOCAL_SEI, SEI_DEVNET_3};
@@ -44,7 +44,7 @@ pub fn parse_network(net_id: &str) -> ChainInfo {
4444
CONSTANTINE_3,
4545
ARCHWAY_1,
4646
PION_1,
47-
NARWHAL_2,
47+
NARWHAL_1,
4848
NEUTRON_1,
4949
INJECTIVE_1,
5050
HARPOON_4,

docs/src/chains/migaloo.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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)

0 commit comments

Comments
 (0)