Giter Site home page Giter Site logo

metadata-registry's Introduction

Oasis Metadata Registry

This repository contains an off-chain registry of signed statements about various entities that may exist on the Oasis Network. Each statement is self-certifying and should be independently verified before being used.

For tooling that can be used to verify and access the signed statements programatically see the metadata-registry-tools repository.

Contributing New Statements

New statements can be contributed by opening a pull request.

To create an entity metadata statement using metadata-registry-tools, use the following steps:

  1. Create an entity-metadata.json file describing the metadata statement, for example something like (most fields can be omitted):

    {
      "v": 1,
      "serial": 1,
      "name": "My entity name",
      "url": "https://my.entity/url",
      "email": "[email protected]",
      "keybase": "keybase_handle",
      "twitter": "twitter_handle"
    }

    Note that keybase and twitter fields should contain handles (usernames) not URLs. See ADR 0001 for the description of all the field formats.

    In case you are updating an existing entry, you must bump the serial number.

  2. Fork this repository.

  3. Use the oasis-cli (minimum version 0.7.1) command to generate a new signed statement. For example:

    oasis account entity metadata-update \
       --account my-entity-account \
       --registry-dir /path/to/metadata-registry \
       /path/to/entity-metadata.json

    Note that for --registry-dir you must specify the path to the top-level metadata-registry directory (e.g. the one containing this README file) and not any of its subdirectories.

    This will create (or update) the registry entry.

  4. Commit your changes in the registry/ directory and create a pull request. Make sure to NOT commit the plain entity-metadata.json file in case you created it in the same directory. The same metadata can be extracted from the generated signed entity statement.

  5. Automated checks will make sure that the signed statement is valid and that the update has been performed correctly.

  6. If all checks pass your pull request will be approved and merged. Once this happens the updated entity metadata will be available for queries.

Directories

  • docs: Documentation and specifications for the registry.
  • registry: Actual registry of signed statements.

metadata-registry's People

Contributors

altbull avatar andreahan avatar autostake-com avatar c-surgeon avatar caramis avatar coinpayu avatar crypttrx avatar denh1252 avatar dongqile avatar doorgod42 avatar floriangrousset avatar hutemai avatar joesixpack avatar jrastit avatar k0kk0k avatar kernelpanic9 avatar kikidevops avatar kobrien avatar kostko avatar lordofelectee avatar marssuper avatar msobh13 avatar mustaffa avatar perfectstake avatar ptrus avatar shift3rr avatar starduststaking avatar tpmmthomas avatar validatrium avatar w3coins-io avatar

Stargazers

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

Watchers

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

metadata-registry's Issues

Add verification actions

Once oasisprotocol/metadata-registry-tools#1 is merged, we should use that tooling to automatically verify the integrity of the registry (on the production branch and all PRs against that branch). Additionally, when submitting PRs, CI should check that existing statements cannot be removed (only updated or added) and that serial numbers have been correctly bumped.

Add logo field

For some explorer and tools that need to direct display validator information, displaying logo is a very necessary function. Hope add logo field.

Ambiguous keybase/twitter fields

For entity-metadata.json file, I have seen some people submit different keybase and twitter fields. hope it is clear whether this is an address or a handle

{
  "v": 1,
  "serial": 1,
  "name": "My entity name",
  "url": "https://my.entity/url",
  "email": "[email protected]",
  "keybase": "myentity",  #https://twitter.com/BitCat365 or BitCat365
  "twitter": "myentity"  #https://keybase.io/bitcat365 or FAB46CEEAEAB9FA1
}

Reverse statement proofs

We should specify a way to make reverse statement proofs of the linked accounts, for example:

  • For URLs, a signed reverse statement to be published in HTML metadata or at a well-known path.
  • For Twitter handles a signed reverse statement to be published as a Twitter post.
  • For Keybase handles a signed reverse statement to be published in the Keybase filesystem.

The registry tooling would could then optionally check these reverse statements and reject invalid statements. The metadata registry could enable these checks and thus only accept verified statements (removing any which fail periodic re-verification).

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.