Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

[WIP] Adding local 4 node network deployment #452

Closed
wants to merge 20 commits into from
Closed

Conversation

cryptoAtwill
Copy link
Contributor

@cryptoAtwill cryptoAtwill commented Dec 5, 2023

Adding local 4 node network deployment using docker-compose. There are a few tasks to be done:

  • Setup docker compose file for 4 node
  • Create private/public keys for the 4 valdiators
  • Seed validators with initial funds
  • Create subnet with minimum 4 validators
  • Join subnet

### Generate genesis
Generate the genesis with:
```shell
$FENDERMINT_CLI genesis --genesis-file ./genesis.json ipc from-parent -s /r314159/${SUBNET} --parent-endpoint "https://api.calibration.node.glif.io/rpc/v1" --parent-gateway ${GATEWAY} --parent-registry ${REGISTRY}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fund your validators in subnet `/r314159`.

### Create subnet
Create subnet with the following command, make sure you have `ipc-cli` installed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A link to how to get it would be useful.

Comment on lines +18 to +21
rm ./abci0/abci0.pk
rm ./abci1/abci1.pk
rm ./abci2/abci2.pk
rm ./abci3/abci3.pk
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not keep them?

@@ -0,0 +1,206 @@
version: '3'

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reminds me of how I tried to convince Denis before to make reusable compose files like this: #222 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants