Standard Block Producer Information Model

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@eosrio·
0.000 HBD
Standard Block Producer Information Model
![std_bp_info_model.jpg](https://steemitimages.com/DQmdqMgkHq6i1TbSKxhaqG4G6fY6AH6qcyF6CPVMQEBxNmC/std_bp_info_model.jpg)

*This proposal is a collaboration between: [HKEOS](https://steemit.com/@hkeos), [EOS Tribe](https://steemit.com/@eostribe), [SW/Eden](https://steemit.com/@eosiose), [CryptoLions](https://steemit.com/@cryptolions) and [EOS Rio](https://steemit.com/@eosrio)*

The goal is to define a structured way for Block Producer Candidades to publish information about themselves using the `regproducer` action on the `eosio.system` contract. Having a standard will allow compatibility between apps and interfaces that require information about any block producer.

Current [ABI snippet](https://github.com/EOSIO/eos/blob/master/contracts/eosio.system/eosio.system.abi) for the regproducer action:
```json
{
      "name": "regproducer",
      "base": "",
      "fields": [
        {"name":"producer",     "type":"account_name"},
        {"name":"producer_key", "type":"public_key"},
        {"name":"url",          "type":"string"},
        {"name":"location",     "type":"uint16"}
      ]
}
```
<br>
When registering their info on the blockchain, a block producer candidate should define the url field above with a link to the JSON file he is responsible for hosting. We encourage BPs to use some platform where the data can be signed and publicly verified, for instance keybase's KBFS public folder. Example: https://igorls.keybase.pub/eosrio.json

The current standard resides on: https://github.com/eosrio/bp-info-standard

As of 16/05/2018 the format was:
![](https://steemitimages.com/DQmRBnjNNor2FphtQJNLVph9CuA4iWTjktVxCXEbMUox6aR/image.png)

UPDATE: Format upgraded to JSON-schema Draft-v7 at https://github.com/eosrio/bp-info-standard/blob/master/schema.json

We are open for any changes the community deem required. Please create an issue on github.

Go EOS!
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,