About VisitorRegistry
What is VisitorRegistry
VisitorRegistry
is a contract that enables the use of temporary EOAs. Normally, the PoV
is minted to the EOA contained in the spot signature indicating the visitor, but if the visitor's EOA is registered in the VisitorRegistry
, it is minted to the resulting EOA that is resolved in the VisitorRegistry. This generates an EOA for temporary use in the application, which can be used to obtain a spot signature and proof of visit. This means that you do not need to connect a Wallet such as Metamask to receive spot signatures and proof of visitation each time.
How to use VisitorRegistry?
VisitorRegistry
ties the temporary EOA to the main Wallet, such as Metamask. VisitorRegistry::register()
is used to tie the two together.
VISITOR_SIGNATURE
and OWNER_SIGNATURE
are signatures over the hash received from VisitorRegistry::getTypedDataHash()
.
Last updated