diff --git a/ics-testnet/README.md b/ics-testnet/README.md new file mode 100644 index 000000000..3d6a18675 --- /dev/null +++ b/ics-testnet/README.md @@ -0,0 +1,36 @@ +## Composable ics-testnet chain info + + +## Syncing materials: + +### Binary and config: + +ics-testnet launch version: v5.1.0 + +``` +git clone https://github.com/notional-labs/composable-centauri.git +cd composable-testnet +git fetch --all +git checkout v5.1.0 +make install +centaurid tendermint unsafe-reset-all +``` + +### Peers & seeds: +You can set the peers/seeds in `config.toml` or run the node with `--p2p.seeds="" --p2p.persistent_peers=""` + +Feel free to PR your peers/seeds here: + +*Seeds:* +``` + +``` + +### Genesis and chain-id: +Chain-id +``` +ics-testnet +``` +Genesis +``` +``` diff --git a/ics-testnet/gentxs/guide.md b/ics-testnet/gentxs/guide.md new file mode 100644 index 000000000..9aa135219 --- /dev/null +++ b/ics-testnet/gentxs/guide.md @@ -0,0 +1,54 @@ +# Composable Testnet 3 Genesis Transaction + +## Binary +Compile from source (go 1.20 recommended): +``` +git clone https://github.com/notional-labs/composable-centauri.git +cd composable-testnet +git fetch --all +git checkout v5.1.0 +make install +``` + +## Init +``` +centaurid init NODE_NAME --chain-id ics-testnet +#TODO: Pre-genesis +centaurid config chain-id ics-testnet +``` + +## Keys +Generate a new key: +``` +centaurid keys add KEYNAME +``` +Recover existing key: +``` +centaurid keys add KEYNAME --recover +``` + +## Creating genesis transaction +Step-by-step guide: +``` +centaurid add-genesis-account KEYNAME 10000000000000000ppica +centaurid gentx KEYNAME 10000000000000000ppica \ +--moniker="" \ +--identity="" \ +--details="" \ +--website="" \ +--security-contact="" \ +--chain-id ics-testnet +``` +The output will look like this: +``` +Genesis transaction written to "~/.banksy/config/gentx/gentx-XXX.json" +``` +Fork the repo and create a pull request with your gentx-XXX.json moved to this directory: https://github.com/notional-labs/composable-networks/tree/ics-testnet/gentxs + +Remember to change the file name to your validator name `gentx-YOURNAME.json` + +Example: +``` +git clone https://github.com/notional-labs/composable-networks/tree/ics-testnet/gentxs +mv ~/.banksy/config/gentx/gentx-XXX.json ~/composable-networks/ics-testnet/gentxs/gentx-YOURNAME.json +```