WIP: No public PRs are allowed for now
The following is a set of guidelines for contributing to Validator-Hub. These are just guidelines, not rules. Use your best judgment and feel free to propose changes to this document in a pull request.
This hub lets queued or active Stargate validators publish their details and logo so they appear on Stargate.
- The validator must be queued or active on the appropriate Stargate network (mainnet, testnet, or devnet)
- Logo is required
- The directory name under the appropriate network folder (
/validators/main/,/validators/test/, or/validators/devnet/) must be the validator's master address in lowercase - Short and simple descriptions
- Comply with directory & contents rules
- One validator per submission
- Submit to the correct network folder based on where your validator is active
This is only for validators currently queued or active on Stargate. If you are not yet registered as a validator, go to https://app.stargate.vechain.org/new-validator.
To add your validator, create your validator details and make a pull request for the maintainers to review and merge into Validator-Hub.
Recommended workflow:
- Fork the Validator-Hub
- Create a new branch
- Choose the appropriate network folder (
main/,test/, ordevnet/) based on where your validator lives - Create your validator details and upload to the proper network directory
- Make the pull request
Ref:
- Fork a repo
- Clone a repo
- Creating a new branch
- Create a pull request
- Tutorial: How to make your first pull request on Github by Thanoshan MV
Once the Validator-Hub is forked, create a new directory in the appropriate network folder under validators named exactly as your validator's master address in lowercase and include a manifest.json file and logo.png file. Your validator directory structure should look like this
├── validators
│ ├── main/ # Mainnet validators
│ │ └── 0xyourmasteraddresshere
│ │ ├── logo.png
│ │ └── manifest.json
│ ├── test/ # Testnet validators
│ │ └── 0xyourmasteraddresshere
│ │ ├── logo.png
│ │ └── manifest.json
│ └── devnet/ # Devnet validators
│ └── 0xyourmasteraddresshere
│ ├── logo.png
│ └── manifest.json
Create a manifest.json file including validator details.
// manifest.json
{
"name": "Your Validator Name",
"location": "City, Country",
"desc": "Short description of your validator (mission, operations, etc.)",
"website": "https://your-validator-website.example"
}
nameis required.locationis required. Use a clear geographical label such asCity, CountryorRegion, Country.descis required.websiteis optional, and must be a fully-qualified URL if provided.- No fields should be left blank.
Import your validator logo into the directory and name it logo.
A logo is a symbol made up of text and images that identifies your validator.
- Must be a
.png - Must be
512px by 512px - Must not be a copy of another company's or application's logo
- Must not contain any marketing information (including but not limited to social media links/sale date)
- The pull request should have a clean git history.
- Don't use another company's trademarks (icon, logo or name) without supplying evidence of prior permission
- Create a directory under the appropriate network folder (
/validators/main/,/validators/test/, or/validators/devnet/) and include the manifest.json and the logo.png - Choose the correct network folder:
/validators/main/for mainnet validators/validators/test/for testnet validators/validators/devnet/for devnet validators
- Keep description short and simple, but descriptive.
- Check your spelling and grammar.
- URL must have schemes of http or https.
- Logo complies with the logo rules
If the maintainers/reviewer notice anything that we'd like changed, we'll ask you to edit your PR before we merge it.
Once your details are approved, they will appear on Stargate in the validators list, as well as in your validator panel page.