-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
4f508c9
commit d43386a
Showing
28 changed files
with
2,846 additions
and
405 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,12 @@ | ||
|
||
# How to add new net | ||
|
||
1. Buy domain and move it to AWS (other providers possible, so this is already encoded) and enable proper limits and billing | ||
2. You have to enable AWS login locally mighty enough. Nix will eat what you have (like awscli2) | ||
3. Tell `domain`, admin `email`, state encryption "age" key to nix via `email` and `domain` attributes in `flake.nix` | ||
4. Set `UPTIME_TOKEN` into env. | ||
5. run `terraform/base.nix` to apply base layer with node image | ||
6. Generate `gen-node-key` for `.secret/node-a`, `-b`, etc | ||
7. Run `terraform/testnet.nix` to deploy testnet and bind it to DNS | ||
8. Get `ip` from `output` of 6, and put it into `flake.nix` for `deploy-testnet-node-a`, `deploy-testnet-node-b`, etc | ||
9. Run relevant nix scripts |
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,8 @@ | ||
# How to add more validators | ||
|
||
0. [You are running net](net.md) | ||
1. `gen-node-key` for `.secret/node-d` | ||
2. Add `node-d` into `terraform/testnet.nix` in places where `node-b` mentioned (instances, zones, keys). Run. | ||
3. Copy `node-d` IP. | ||
4. In `flake.nix` add `node-d` in all places where mentioned `node-b`. Run `deploy-node-d` routine. | ||
5. Follow [guide](../examples/adding-new-validator/README.md) on how to get validator public keys set and add it into chain. |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.