Skip to content

Example Chain Spec

Marko Petrlić edited this page Oct 12, 2022 · 2 revisions
{
  "name": "Pernoa",
  "id": "alphanet-dev",
  "chainType": "Live",
  "bootNodes": [
    "/ip4/163.172.130.7/tcp/30333/p2p/12D3KooWHK51Vm2XkQWdYS9SqEmdFYeWxDrd9DHraHMmwTBrqmPq"
  ],
  "telemetryEndpoints": null,
  "protocolId": "ternoa",
  "properties": {
    "tokenDecimals": 18,
    "tokenSymbol": "CAPS"
  },
  "forkBlocks": null,
  "badBlocks": null,
  "lightSyncState": null,
  "codeSubstitutes": {},
  "genesis": {
    "runtime": {
      "system": {
        "code": "..."
      },
      "babe": {
        "authorities": [],
        "epochConfig": {
          "c": [
            1,
            4
          ],
          "allowed_slots": "PrimaryAndSecondaryPlainSlots"
        }
      },
      "balances": {
        "balances": [
          [
            "5GHm5ZoR8bE2Guu29WjzpGtXWuhJFD5WXaDLJvmBAjjVN97Q",
            1000000000000000000000000
          ],
          [
            "5G6FiowNsBZZiTa6LC4goZfwej5NfEffxHQteoqWgMMK5fCQ",
            1000000000000000000000000
          ],
          [
            "5CtSAHzfZ3hanaB7DBWkkDug9bGYxxirbgd8gNzfJmg7m9kk",
            1000000000000000000000000
          ],
          [
            "5CrLrnQPt6kXRYtMPoKovP4S7okbt9sAg13DnKyxoaubrx2o",
            1000000000000000000000000
          ],
          [
            "5Gea6VDPNNPghhTjcFZ2Ana2eKriwkreCE3Ki5n6rBkZLxcM",
            1000000000000000000000000
          ]
        ]
      },
      "transactionPayment": null,
      "session": {
        "keys": [
          [
            "5G6FiowNsBZZiTa6LC4goZfwej5NfEffxHQteoqWgMMK5fCQ",
            "5G6FiowNsBZZiTa6LC4goZfwej5NfEffxHQteoqWgMMK5fCQ",
            {
              "grandpa": "5Co2EwmNPSpKXpxJBwCRdFCHMp6m1jFxxvF16GAc7ovqUzV4",
              "babe": "5GHm5ZoR8bE2Guu29WjzpGtXWuhJFD5WXaDLJvmBAjjVN97Q",
              "im_online": "5GHm5ZoR8bE2Guu29WjzpGtXWuhJFD5WXaDLJvmBAjjVN97Q",
              "authority_discovery": "5GHm5ZoR8bE2Guu29WjzpGtXWuhJFD5WXaDLJvmBAjjVN97Q"
            }
          ],
          [
            "5CrLrnQPt6kXRYtMPoKovP4S7okbt9sAg13DnKyxoaubrx2o",
            "5CrLrnQPt6kXRYtMPoKovP4S7okbt9sAg13DnKyxoaubrx2o",
            {
              "grandpa": "5Fupo73Qazc1b4DKqLsCC268vyCD2py3BZRXUfpWwRPQksvf",
              "babe": "5CtSAHzfZ3hanaB7DBWkkDug9bGYxxirbgd8gNzfJmg7m9kk",
              "im_online": "5CtSAHzfZ3hanaB7DBWkkDug9bGYxxirbgd8gNzfJmg7m9kk",
              "authority_discovery": "5CtSAHzfZ3hanaB7DBWkkDug9bGYxxirbgd8gNzfJmg7m9kk"
            }
          ]
        ]
      },
      "grandpa": {
        "authorities": []
      },
      "imOnline": {
        "keys": []
      },
      "authorityDiscovery": {
        "keys": []
      },
      "council": {
        "phantom": null,
        "members": []
      },
      "phragmenElection": {
        "members": []
      },
      "democracy": {
        "phantom": null
      },
      "staking": {
        "historyDepth": 84,
        "validatorCount": 1,
        "minimumValidatorCount": 1,
        "invulnerables": [
          "5GNJqTPyNqANBkUVMN1LPPrxXnFouWXoe2wNSmmEoLctxiZY"
        ],
        "forceEra": "NotForcing",
        "slashRewardFraction": 100000000,
        "canceledPayout": 0,
        "stakers": [
          [
            "5G6FiowNsBZZiTa6LC4goZfwej5NfEffxHQteoqWgMMK5fCQ",
            "5GHm5ZoR8bE2Guu29WjzpGtXWuhJFD5WXaDLJvmBAjjVN97Q",
            100000000000000000000,
            "Validator"
          ],
          [
            "5CrLrnQPt6kXRYtMPoKovP4S7okbt9sAg13DnKyxoaubrx2o",
            "5CtSAHzfZ3hanaB7DBWkkDug9bGYxxirbgd8gNzfJmg7m9kk",
            100000000000000000000,
            "Validator"
          ]
        ],
        "minNominatorBond": 0,
        "minValidatorBond": 0,
        "maxValidatorCount": null,
        "maxNominatorCount": null
      },
      "technicalCommittee": {
        "phantom": null,
        "members": []
      },
      "technicalMembership": {
        "members": [
          "5Gea6VDPNNPghhTjcFZ2Ana2eKriwkreCE3Ki5n6rBkZLxcM"
        ],
        "phantom": null
      },
      "treasury": null,
      "assets": {
        "assets": [],
        "metadata": [],
        "accounts": []
      }
    }
  }
}