xDai network will have companies as validators, so UI needs to be changed to be able to display company info instead of notary info.
A company as validator will only have the next data:
wallet address (miningKey)
company name
contact email
creation date
So, the validator card for the company should look like this:
Also, the Set Metadata page must let the validator mark the Company checkbox (to let the DApp know that the validator is a company, not a notary) and enter company's contact e-mail.
The company name should be stored in the existing firstName field of ValidatorMetadata contract. There're two additional fields should be added to the contract: contactEmail (bytes32) and isCompany (bool).
xDai network will have companies as validators, so UI needs to be changed to be able to display company info instead of notary info.
A company as validator will only have the next data:
So, the validator card for the company should look like this:
Also, the
Set Metadata
page must let the validator mark theCompany
checkbox (to let the DApp know that the validator is a company, not a notary) and enter company's contact e-mail.The
company name
should be stored in the existingfirstName
field ofValidatorMetadata
contract. There're two additional fields should be added to the contract:contactEmail
(bytes32) andisCompany
(bool).