Skip to content

Instantly share code, notes, and snippets.

@Qaezel
Created September 21, 2017 15:29
Show Gist options
  • Save Qaezel/9941ef154f9ea4b3fcf18a721bb88d02 to your computer and use it in GitHub Desktop.
Save Qaezel/9941ef154f9ea4b3fcf18a721bb88d02 to your computer and use it in GitHub Desktop.
+ REPO_URL=https://github.com/input-output-hk/cardano-sl.git
+ REPO_PATH=/home/jeremy/cardano-sl
+ BRANCH=cardano-sl-1.0-genesis-json2
+ AVVM_SEED_COUNT=3
+ IOHK_NODES=(0 1 2)
+ SGG_NODES=(3 4)
+ CF_NODES=(5 6)
+ ALL_NODES='0 1 2 3 4 5 6'
+ KEY_PATH=/home/jeremy/cardano-sl/keys
+ DELEGATE=/home/jeremy/cardano-sl/keys/delegate
+ STAKEHOLDER=/home/jeremy/cardano-sl/keys/stakeholder
+ NODES='0 1 2'
+ echo 'Generating stakeholder keys...'
Generating stakeholder keys...
+ pushd /home/jeremy/cardano-sl
~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ for i in '$NODES'
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base generate-key --path /home/jeremy/cardano-sl/keys/stakeholder0.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
[keygen:INFO] Successfully generated primary key /home/jeremy/cardano-sl/keys/stakeholder0.key
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base read-key --path /home/jeremy/cardano-sl/keys/stakeholder0.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
[keygen:INFO] Primary: bNi56JDu1zjFyUV3Sp4A5UEa6CdGKXrjLCYmmxvJVJQBgWWCoQURmcE65Yj8Db2c8PpJx3KHzehSRFreSrHjFoFAsV; address hash: 98c00f8647c54eea0dc7dd0dabe48d02c9ed13f78097c13d6f71df09
[keygen:INFO] No wallet set
[keygen:INFO] Keys:
[keygen:INFO] Vss PK: vsspub:3f2743c8
+ for i in '$NODES'
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base generate-key --path /home/jeremy/cardano-sl/keys/stakeholder1.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
[keygen:INFO] Successfully generated primary key /home/jeremy/cardano-sl/keys/stakeholder1.key
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base read-key --path /home/jeremy/cardano-sl/keys/stakeholder1.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
[keygen:INFO] Primary: bNgTCioqar2BPoawS9caVqZvAG6kC5wa3oqYM1SfPDPc87yUNgNBedKBXJZotG9jZYTWHjLDRKYVkXvp4eiuQJZR9S; address hash: 52c9c7870b2c28cf776313f327251ac6a2632fc47e845cb634a1686f
[keygen:INFO] No wallet set
[keygen:INFO] Keys:
[keygen:INFO] Vss PK: vsspub:2dd53b99
+ for i in '$NODES'
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base generate-key --path /home/jeremy/cardano-sl/keys/stakeholder2.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
[keygen:INFO] Successfully generated primary key /home/jeremy/cardano-sl/keys/stakeholder2.key
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base read-key --path /home/jeremy/cardano-sl/keys/stakeholder2.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
[keygen:INFO] Primary: bNgox652ad4z7ay6dm5qg1cYvNCBofpRpBpBvQRR5FAsF6UygnvNmvLb5UMDqbmY3c3B3PDkPeqSAP51xoKsAsgdTV; address hash: abc2703910d5a36d16569815b5a0ef5884aeb4b2323e401875fad304
[keygen:INFO] No wallet set
[keygen:INFO] Keys:
[keygen:INFO] Vss PK: vsspub:6eb7d9c2
+ popd
~/csl-bootstrap/scripts/prepare-genesis
+ echo 'Generating delegation certificates...'
Generating delegation certificates...
+ pushd /home/jeremy/cardano-sl
~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ for i in '$NODES'
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base rearrange --mask /home/jeremy/cardano-sl/keys/stakeholder0.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
+ pushd auxx
~/cardano-sl/auxx ~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ stack exec --nix -- cardano-auxx --configuration-file ../node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base cmd --commands 'add-key /home/jeremy/cardano-sl/keys/stakeholder0.key'
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "../node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[Attention] We are in DEV mode
Asserts are ON
Found no VSS keypair in keyfile, generating random one...
Found no signing keys in keyfile, generating random one...
[*production*:DEBUG:ThreadId 4] [2017-09-21 11:16:23 EDT] Loading SSC global state
[*production*:INFO:ThreadId 4] [2017-09-21 11:16:23 EDT] Loaded GodTossing state: no MPC data
[*production*:WARNING:ThreadId 4] [2017-09-21 11:16:23 EDT] notifyReady failed to notify systemd.
[node:INFO:ThreadId 4] [2017-09-21 11:16:23 EDT] Our verInfo: VerInfo { magic=25c00fa9, blockVersion=0.0.0, inSpecs={96: Conv 43, 49: Conv 5c, 97: Conv 3d, 34: Conv 5e, 98: Conv 37, 67: Conv 60, 83: Conv 0, 4: Conv 5, 5: Conv 4, 37: Conv 5e, 6: Conv 7, 55: Conv 62, 73: Conv 5f, 43: Conv 5d, 92: Conv 31, 61: Conv 61, 93: Conv 2b, 94: Conv 25, 95: Conv 49}, outSpecs={49: Conv 5c, 83: Conv 0, 37: Conv 5e, 43: Conv 5d}}
[node:INFO:ThreadId 4] [2017-09-21 11:16:23 EDT] Length of genesis utxo: 14411
Command execution finished
+ popd
~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ for i in '$NODES'
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base rearrange --mask /home/jeremy/cardano-sl/keys/stakeholder1.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
+ pushd auxx
~/cardano-sl/auxx ~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ stack exec --nix -- cardano-auxx --configuration-file ../node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base cmd --commands 'add-key /home/jeremy/cardano-sl/keys/stakeholder1.key'
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "../node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[Attention] We are in DEV mode
Asserts are ON
[*production*:DEBUG:ThreadId 4] [2017-09-21 11:16:37 EDT] Loading SSC global state
[*production*:INFO:ThreadId 4] [2017-09-21 11:16:37 EDT] Loaded GodTossing state: no MPC data
[*production*:WARNING:ThreadId 4] [2017-09-21 11:16:37 EDT] notifyReady failed to notify systemd.
[node:INFO:ThreadId 4] [2017-09-21 11:16:37 EDT] Our verInfo: VerInfo { magic=25c00fa9, blockVersion=0.0.0, inSpecs={96: Conv 43, 49: Conv 5c, 97: Conv 3d, 34: Conv 5e, 98: Conv 37, 67: Conv 60, 83: Conv 0, 4: Conv 5, 5: Conv 4, 37: Conv 5e, 6: Conv 7, 55: Conv 62, 73: Conv 5f, 43: Conv 5d, 92: Conv 31, 61: Conv 61, 93: Conv 2b, 94: Conv 25, 95: Conv 49}, outSpecs={49: Conv 5c, 83: Conv 0, 37: Conv 5e, 43: Conv 5d}}
[node:INFO:ThreadId 4] [2017-09-21 11:16:37 EDT] Length of genesis utxo: 14411
Command execution finished
+ popd
~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ for i in '$NODES'
+ stack exec --nix -- cardano-keygen --configuration-file node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base rearrange --mask /home/jeremy/cardano-sl/keys/stakeholder2.key
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[keygen:INFO] withConfiguration using genesis configured system start time 1505930400000000
[keygen:INFO] Processing command
+ pushd auxx
~/cardano-sl/auxx ~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ stack exec --nix -- cardano-auxx --configuration-file ../node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base cmd --commands 'add-key /home/jeremy/cardano-sl/keys/stakeholder2.key'
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "../node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[Attention] We are in DEV mode
Asserts are ON
[*production*:DEBUG:ThreadId 4] [2017-09-21 11:16:50 EDT] Loading SSC global state
[*production*:INFO:ThreadId 4] [2017-09-21 11:16:50 EDT] Loaded GodTossing state: no MPC data
[*production*:WARNING:ThreadId 4] [2017-09-21 11:16:50 EDT] notifyReady failed to notify systemd.
[node:INFO:ThreadId 4] [2017-09-21 11:16:50 EDT] Our verInfo: VerInfo { magic=25c00fa9, blockVersion=0.0.0, inSpecs={96: Conv 43, 49: Conv 5c, 97: Conv 3d, 34: Conv 5e, 98: Conv 37, 67: Conv 60, 83: Conv 0, 4: Conv 5, 5: Conv 4, 37: Conv 5e, 6: Conv 7, 55: Conv 62, 73: Conv 5f, 43: Conv 5d, 92: Conv 31, 61: Conv 61, 93: Conv 2b, 94: Conv 25, 95: Conv 49}, outSpecs={49: Conv 5c, 83: Conv 0, 37: Conv 5e, 43: Conv 5d}}
[node:INFO:ThreadId 4] [2017-09-21 11:16:50 EDT] Length of genesis utxo: 14411
Command execution finished
+ popd
~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ pushd auxx
~/cardano-sl/auxx ~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
+ stack exec --nix -- cardano-auxx --configuration-file ../node/configuration.mainnet.yaml --configuration-key mainnet_dryrun_base cmd --commands listaddr
trace: fetching nixpkgs
ConfigurationOptions {cfoFilePath = "../node/configuration.mainnet.yaml", cfoKey = "mainnet_dryrun_base", cfoSystemStart = Nothing}
[Attention] We are in DEV mode
Asserts are ON
[*production*:DEBUG:ThreadId 4] [2017-09-21 11:17:00 EDT] Loading SSC global state
[*production*:INFO:ThreadId 4] [2017-09-21 11:17:00 EDT] Loaded GodTossing state: no MPC data
[*production*:WARNING:ThreadId 4] [2017-09-21 11:17:00 EDT] notifyReady failed to notify systemd.
[node:INFO:ThreadId 4] [2017-09-21 11:17:00 EDT] Our verInfo: VerInfo { magic=25c00fa9, blockVersion=0.0.0, inSpecs={96: Conv 43, 49: Conv 5c, 97: Conv 3d, 34: Conv 5e, 98: Conv 37, 67: Conv 60, 83: Conv 0, 4: Conv 5, 5: Conv 4, 37: Conv 5e, 6: Conv 7, 55: Conv 62, 73: Conv 5f, 43: Conv 5d, 92: Conv 31, 61: Conv 61, 93: Conv 2b, 94: Conv 25, 95: Conv 49}, outSpecs={49: Conv 5c, 83: Conv 0, 37: Conv 5e, 43: Conv 5d}}
[node:INFO:ThreadId 4] [2017-09-21 11:17:00 EDT] Length of genesis utxo: 14411
Available addresses:
#0: addr: Ae2tdPwUPEZ7G5qiAhNogiJQ3nMox7ZVrqv1gcUgePdEuFjrgogPFtM2UNh
pk base58: bNi56JDu1zjFyUV3Sp4A5UEa6CdGKXrjLCYmmxvJVJQBgWWCoQURmcE65Yj8Db2c8PpJx3KHzehSRFreSrHjFoFAsV
pk hex: a722e4bcd18a7d257324654d9f610fba7680707fdf8554290b7a5621fe3e953a1a46160aba98abaaa14d63a69dbaf4c0bbc40e9ff4a2d0c42236445c2dae5d04
pk hash: 98c00f8647c54eea0dc7dd0dabe48d02c9ed13f78097c13d6f71df09
#1: addr: Ae2tdPwUPEZ1g3kQKnXDaYrP87hBAXkagxsAM5W4fh79FCEvRh4UVkTVUGU
pk base58: bNgTCioqar2BPoawS9caVqZvAG6kC5wa3oqYM1SfPDPc87yUNgNBedKBXJZotG9jZYTWHjLDRKYVkXvp4eiuQJZR9S
pk hex: 562b76e90fa2eef5435afa8778a47ed213b5670c87fcae8d77f0f4f03b4175dc4bca68764fc6c7ffb50e809b0f11a5bb869e204e62f883d4a483f98385363c39
pk hash: 52c9c7870b2c28cf776313f327251ac6a2632fc47e845cb634a1686f
#2: addr: Ae2tdPwUPEZ5vyK1K5mdWXocRtTwsG7wHtQdnBftrPegMrotQdnUHPhHErd
pk base58: bNgox652ad4z7ay6dm5qg1cYvNCBofpRpBpBvQRR5FAsF6UygnvNmvLb5UMDqbmY3c3B3PDkPeqSAP51xoKsAsgdTV
pk hex: 680fd2e703ff9f55b8acfbe0a6ae9a2aa90dd275b6024f5c8f1848ec06bc778a4850678f2c007502dd0f7c647aead570c4e5cf392aba6cb2bc880950f2db2468
pk hash: abc2703910d5a36d16569815b5a0ef5884aeb4b2323e401875fad304
Command execution finished
+ popd
~/cardano-sl ~/csl-bootstrap/scripts/prepare-genesis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment