Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ICS testnet #475

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions ics-testnet/README.md
Original file line number Diff line number Diff line change
@@ -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
```
```
54 changes: 54 additions & 0 deletions ics-testnet/gentxs/guide.md
Original file line number Diff line number Diff line change
@@ -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
```