-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add bitsong * bitsong endpoint, docs * typo fix * update coin_type * dev: bump bitsong network * Bitsong works --------- Co-authored-by: hard-nett <hardnettt@proton.me> Co-authored-by: Hard-Nett <123711748+hard-nett@users.noreply.github.com>
- Loading branch information
1 parent
ee9b695
commit 9ad311b
Showing
4 changed files
with
87 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Bitsong | ||
|
||
BitSong is a multifunctional blockchain-based ecosystem built to empower the music industry. It unites artists, fans, distributors in an environment where music, merchandise, and fan loyalty are assets of value. BitSong’s decentralized ecosystem of services provides the global music community with a trustless marketplace for music streaming, Fan Tokens, and NFTs, powered by the BTSG token. | ||
|
||
[Bitsongs Website](https://bitsong.io/) | ||
|
||
```rust,ignore | ||
{{#include ../../../packages/cw-orch-networks/src/networks/bitsong.rs:bitsong}} | ||
``` | ||
|
||
## 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::BITSONG_1`. | ||
## References | ||
|
||
- [Bitsong Documentation](https://docs.bitsong.io/) | ||
- [Bitsong Discord](https://discord.gg/M2fJKfMHAw) |
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,45 @@ | ||
use cw_orch_core::environment::{ChainInfo, ChainKind, NetworkInfo}; | ||
|
||
// ANCHOR: bitsong | ||
pub const BITSONG_NETWORK: NetworkInfo = NetworkInfo { | ||
chain_name: "bitsong", | ||
pub_address_prefix: "bitsong", | ||
coin_type: 639u32, | ||
}; | ||
|
||
pub const BITSONG_2B: ChainInfo = ChainInfo { | ||
kind: ChainKind::Mainnet, | ||
chain_id: "bitsong-2b", | ||
gas_denom: "ubtsg", | ||
gas_price: 0.025, | ||
grpc_urls: &[ | ||
"http://bitsong-grpc.polkachu.com:16090", | ||
"http://grpc.explorebitsong.com:443", | ||
], | ||
network_info: BITSONG_NETWORK, | ||
lcd_url: None, | ||
fcd_url: None, | ||
}; | ||
|
||
// pub const BOBNET: ChainInfo = ChainInfo { | ||
// kind: ChainKind::Testnet, | ||
// chain_id: "bobnet", | ||
// gas_denom: "ubtsg", | ||
// gas_price: 0.025, | ||
// grpc_urls: &["http://grpc-testnet.explorebitsong.com:443"], | ||
// network_info: BITSONG_NETWORK, | ||
// lcd_url: None, | ||
// fcd_url: None, | ||
// }; | ||
|
||
pub const LOCAL_BITSONG: ChainInfo = ChainInfo { | ||
kind: ChainKind::Local, | ||
chain_id: "localbitsong", | ||
gas_denom: "ubtsg", | ||
gas_price: 0.0026, | ||
grpc_urls: &["tcp://localhost:9094"], | ||
network_info: BITSONG_NETWORK, | ||
lcd_url: None, | ||
fcd_url: None, | ||
}; | ||
// ANCHOR_END: bitsong |
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