Creditcoin Staking Dashboard

August 30, 2023 · View on GitHub

ci License

Creditcoin Staking Dashboard

Production:

https://staking.creditcoin.org

Validator Operator Setup Guide

Validator operators can add their contact information, icon, and which validators they operate, to the dashboard’s Community section. The Community feature is designed to give non-biased exposure to validator operators, and to host a fully-featured validator browser just for that operator's validators.

To add an operator, submit a PR with the following changes:

  • Thumbnail: Add your operator's thumbnail as an SVG Component in this folder.
  • Operator details: Add your operator details to the VALIDATORS_COMMUNITYJSON object in this file.

Operator Structure

The following table outlines the structure of a ValidatorCommunity entry:

ElementKeyRequiredNotesExample
Operator NamenameYesThe chosen name of the operator.Validator Central
Thumbnail NamethumbnailYesThe name of your SVG component representing your thumbnail.See Below
BiobioNoA short description of your entity. Maximum 300 characters.Summing up my validator identity in a sentence or so.
Email AddressemailNoA public email address representing the operator.validatorcentral@parity.io
Twitter HandletwitterNoThe Twitter handle representing the operator.@ParityTech
Website URLwebsiteNoA live and vlid secure URL to your website.https://parity.io
Validator ListvalidatorsYesA list of validators grouped by network. At least 1 validator in 1 network must be defined.See Below

Example Operator

Upload your SVG icon as a React component. Look at the existing icons as examples, or use the SVGR Playground to convert your raw SVG file into a component.

Next, add your operator details to the ValidatorCommunity object. Only provide the validator(s) for the particular network(s) you are operating in.

The following example defines 2 validators on the Creditcoin Mainnet, and 1 on the Creditcoin Testnet:

export const ValidatorCommunity = [
  ...
  {
    name: 'Validator Central',
    thumbnail: 'ValidatorCentral',
    bio: 'Summing up my validator identity in a sentence or so. Maximum 300 characters.',
    email: 'validatorcentral@parity.io',
    twitter: '@ParityTech',
    website: 'https://parity.io',
    validators: {
      creditcoin: [
      '1hYiMW8KSfUYChzCQSPGXvMSyKVqmyvMXqohjKr3oU5PCXF',
      '14QSBoJMHF2Zn2XEoLNSeWgqBRr8XoKPy4BxToD6yLSeFFYe'
      ],
      creditcoinTest: ['FykhnPA3pn269LAcQ8VQKDgUQ8ieAaSLwJDhAVhu3dcokVR'],
    },
  },
  ...
];

General Requirements

RequirementNotes
AccuracyOperator contact details must be working and valid.
LivenessAll submitted validator addresses must be discoverable as a validator on the network in question - whether Mainnet or Testnet.
OrderingPlease place your operator in alphabetical order within ValidatorCommunity. Operators are shuffled before being displayed in the dashboard, removing any bias associated with ordering methods.

Please submit an issue for any queries around adding your operator details.