-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Union | ||
|
||
Union is the first infrastructure layer that unifies thousands of networks, unlocking horizontal scalability for any protocol. | ||
|
||
|
||
[Visit Union's Website](https://union.build) | ||
|
||
```rust,ignore | ||
{{#include ../../../packages/cw-orch-networks/src/networks/union.rs:union}} | ||
``` | ||
|
||
## Usage | ||
|
||
See how to setup your main function in the [main function](../contracts/scripting.md#main-function) section. Update the network passed into the `Daemon` builder to be `networks::UNION_TESTNET`. | ||
|
||
## References | ||
|
||
- [Union Documentation](https://union.build/docs/) | ||
- [Union Discord](https://discord.union.build) | ||
- [Union Testnet Faucet](https://app.union.build/faucet) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
use cw_orch_core::environment::{ChainInfo, ChainKind, NetworkInfo}; | ||
|
||
// ANCHOR: union | ||
pub const UNION_NETWORK: NetworkInfo = NetworkInfo { | ||
chain_name: "union", | ||
pub_address_prefix: "union", | ||
coin_type: 118, | ||
}; | ||
|
||
pub const UNION_TESTNET: ChainInfo = UNION_TESTNET_8; | ||
|
||
pub const UNION_TESTNET_8: ChainInfo = ChainInfo { | ||
kind: ChainKind::Testnet, | ||
chain_id: "union-testnet-8", | ||
gas_denom: "muno", | ||
gas_price: 0.000025, | ||
grpc_urls: &["https://grpc.testnet-8.union.build:443"], | ||
network_info: UNION_NETWORK, | ||
lcd_url: None, | ||
fcd_url: None, | ||
}; | ||
|
||
// ANCHOR_END: union |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters