Register Spot
Last updated
Last updated
The spot will be registered by Commun. Basically, a spot device is registered when it is manufactured.
Commun receives the ECDSA public key of the spot device from the spot device.
Calculate EOA from the ECDSA public key of the spot device.
Registers the EOA with SpotRegistry::register()
with the following information.
SpotRegistry::register()
creates a new SpotResolver
contract. It provides the ability for visitors to resolve smart contracts that work by spot signatures. Smart contracts are managed by an ID called PoV ID
. SpotResolver creates the first PoV contract when it is created. The PoV ID
of that PoV contract is 0x0
.
If the registration is successful, SpotRegistry::getResolver()
returns something other than address(0)
.