forked from input-output-hk/cardano-ops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals-shelley-dev.nix
44 lines (39 loc) · 1.26 KB
/
globals-shelley-dev.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
pkgs: rec {
withMonitoring = false;
withLegacyExplorer = false;
environmentName = "shelley-dev";
environmentConfig = rec {
relays = "relays.${pkgs.globals.domain}";
edgeNodes = [
"18.197.234.239"
"3.125.14.209"
"52.58.137.138"
];
edgePort = pkgs.globals.cardanoNodePort;
confKey = abort "legacy nodes not supported by shelley-dev environment";
genesisFile = ./keys/genesis.json;
genesisHash = builtins.replaceStrings ["\n"] [""] (builtins.readFile ./keys/GENHASH);
private = true;
networkConfig = pkgs.iohkNix.cardanoLib.environments.shelley_staging_short.networkConfig // {
GenesisHash = genesisHash;
NumCoreNodes = builtins.length topology.coreNodes;
};
nodeConfig = pkgs.iohkNix.cardanoLib.environments.shelley_staging_short.nodeConfig // {
GenesisHash = genesisHash;
NumCoreNodes = builtins.length topology.coreNodes;
};
txSubmitConfig = {
inherit (networkConfig) RequiresNetworkMagic;
GenesisHash = genesisHash;
} // pkgs.iohkNix.cardanoLib.defaultExplorerLogConfig;
};
topology = import ./topologies/shelley-dev.nix;
ec2 = {
credentials = {
accessKeyIds = {
IOHK = "dev-deployer";
dns = "dev-deployer";
};
};
};
}