Code Monkey home page Code Monkey logo

validator-registry's Introduction

Cosmos Validator Registry

This repository has been ripped from REStake and roughly re-organised into a cohesive structure.

Rather than making a REStake specific repository, this can be used to hold any validator attributes that can't be stored on-chain.

The intention is for this to move to the Cosmos organisation once it's proven itself. It's dream is to be the validator version of the Chain Registry

This is very much a work in progress, and any and all comments are welcome. Please submit an Issue if you have any ideas or suggestions.

Structure

Each validator operation has their own directory. Within that directory are currently two files:

profile.json

Overall name for your operation and keybase.io PGP fingerprint identity. This isn't used in REStake currently but it helps annotate your entry.

{
  "$schema": "../profile.schema.json",
  "name": "ECO Stake ๐ŸŒฑ",
  "identity": "5992A6D423A406D6"
}

chains.json

Chain information and REStake attributes for your validators.

{
  "$schema": "../chains.schema.json",
  "name": "ECO Stake ๐ŸŒฑ",
  "chains": [
    {
      "name": "akash",
      "address": "akashvaloper1xgnd8aach3vawsl38snpydkng2nv8a4kqgs8hf",
      "restake": {
        "address": "akash1yxsmtnxdt6gxnaqrg0j0nudg7et2gqczud2r2v",
        "run_time": [
          "09:00",
          "21:00"
        ],
        "minimum_reward": 1000
      }
    },
    {
      "name": "cerberus",
      "address": "cerberusvaloper1tat2cy3f9djtq9z7ly262sqngcarvaktr0w78f",
      "restake": {
        "address": "cerberus1yxsmtnxdt6gxnaqrg0j0nudg7et2gqczd38dxa",
        "run_time": "every 15 minutes",
        "minimum_reward": 100000000
      }
    },
    ...
}

JSON API

The Validator Registry is available via a JSON API at validators.cosmos.directory. The structure of this API might change in the near future until we reach a major version number.

Example endpoints:

Contributing

Make any changes you want to your operation. Submit a PR and it will be merged as soon as possible - REStake automatically updates from this repository so this will speed up the process a lot.

If you want to contribute to improving the registry as a whole, check the issues or get in touch on Discord/Twitter/email/wherever.

validator-registry's People

Contributors

0xmrmoon avatar 3eph1r0th avatar allomart1 avatar autostake-com avatar bierforge avatar blacklodge-admin avatar cryptonetd avatar dylanschultzie avatar elangrr avatar galadrin avatar gh0stdotexe avatar golden-ratio-staking avatar joeabbey avatar kalianetwork avatar kii-awesome avatar kynraze avatar nethernodexyz avatar nodestake avatar nullmames avatar oldcatv avatar polkachuintern avatar poonc avatar safeblockspace avatar smartstake avatar tombeynon avatar vaddec-everstake avatar vnodesv avatar windpowerstake avatar woelig avatar zdeadex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

validator-registry's Issues

Validator not recognized (and chain `bitcannadevnet` neither)

Hello; I provide this data:

https://github.com/eco-stake/validator-registry/blob/master/Pandora/chains.json

that should match with:

https://testnet.restake.app/bitcannadevnet/bcnavaloper153hxvnx24h07aptul43fsuyeq7kgt2erqad6xy

But this is my output when I run the restake app:

[06:59:20.645] โš›
[06:59:20.729] Failed with error: bitcannadevnet not found in Chain Registry
[06:59:20.730] Autostake failed

And this is the output of the RPC proxy connection at Cosmos Directory:
https://testnet.cosmos.directory/bitcannadevnet
Chain not found

multiple bots

I have multiple bots running but with this repo the newer bots are reading from here and auto compounding at times it shouldn't, is there a way to avoid this?

Add Relayer info?

Many of the crypto community want to support the (generous) IBC Relayers, and a registry of that could offer some value. With the right kind of automation, utilizing the profiles that are already defined here could serve to become a registry of IBC Relayers, with support/tip information. It could also be used as a quality metric for validator selection (in addition to in-chain data, such as governance history and performance.

Help me replace the hardcoded data in this file:
https://github.com/osmosis-labs/docs/blob/main/developing/relaying/relayers.md

Changed Validator adresses

Hello, we have updated our validator addresses for Planq and Provenance, but in restake.app our profile is still linked to the old ones. Also our profile in Oraichain, which was the one we did create first doesn't show correct contact data or icon.
Can this be fixed?
Thanks

Failed to get delegations: Request failed with status code 524

Hello,

We are trying to setup the restake service for Likecoin by adding manually the entry into network.json and the execution looks fine but face an issue as not able to get delegations list.
Log is as below:
[04:10:30.583] Running autostake
[04:10:31.346] Bot balance is 10000000000 nanolike
[04:10:31.347] Finding delegators...
[04:12:10.672] Failed to get delegations: Request failed with status code 524
[04:12:10.672] Checking 0 delegators for grants...

Any suggestion?

restake wallet verification

Please consider adding a way for validators to verify the validity of their entry.
This would give delegators the certainty that the restake wallets listed in this repository are authentic and controlled by the validator.

The current implementation of restake.app bot does need to query for generic delegation grants (ledger workaround), which do not have a delegation whitelist, potentially allowing the restake wallet to delegate to any validator.
A malicious entity could list restake wallets here and redirect delegators staking rewards to a malicious validator, potentially robbing delegators through commissions.

This scenario might be highly unlikely for mature chains with a high enough delegation floor for validators but chains with accessible active validatorset could face this problem.

My suggestion for a verification method would be to have the validator's initial delegator wallet broadcast a transaction that includes the restake wallet address in the memo and attach the transaction hash to the profile or PR.

Added chain "sentinel" not working as expected.

We recently submitted a PR for the addition of Sentinel network to our Restaking network resources.
https://github.com/eco-stake/validator-registry/blob/master/ValidatorNode/chains.json

We updated our networks.local.json file to include the new sentinel network

  "sentinel": {
    "enabled": true,
    "prettyName": "Sentinel",
    "restUrl": [
      "http://216.128.136.66:1317"
    ],
    "gasPrice": "0.01udvpn",
    "autostake": {
      "correctSlip44": true,
      "retries": 3,
      "batchPageSize": 100,
      "batchQueries": 25,
      "batchTxs": 50,
      "delegationsTimeout": 20000,
      "queryTimeout": 15000,
      "queryThrottle": 100,
      "gasModifier": 1.1
    }

We ensured that the firewall on our restURL server is allowing traffic to port 1317.

However, when we attempt to npm run dryrun sentinel we receive the following error.

> [email protected] dryrun
> node scripts/dryrun.mjs "sentinel"

[16:17:45.386] โš›
[16:17:47.073] Loaded Sentinel
[16:17:47.137] Bot address is sent1xgcqw2flkaxffe0s5kctlnelyshe87vh9aaxgs
[16:17:47.137] Not an operator
[16:17:47.137] Autostake finished

The error leads us to believe that the Restake dryrun script is not picking up our recent validator-registry changes.
We've double-checked the normal list of issues

  1. indexing enabled
  2. minimum gas prices matching our restURL server setting

What else can we check?

NOTE - the other 3 networks we have configured are all running fine. It's just the newly added "sentinel" network that is creating us an issue.

name of likecoin chain

I notice LikeCoin is now support in restake (thought no authz module yet). I would like to know what is the name for the likecoin chain in the chain.json file. Thanks.

Cannot clone repo

Perhaps this is an issue with windows, but we cannot clone due to emoji's being used in the path

image

Frequency showing wrong on frontend.

Hi guys,

Recently submitted a PR to update the frequency of our restake operator on Teritori, the PR was merged and the front end was updated but looking again today it's showing as daily rather than 10 minutes.

If you could fix we would appreciate, thank you.

unknown

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.