Understanding Chip Resolution
Problem and Purpose
Given an arbitray chip discovered by a user, the chip's public key or chipId
may be used to lookup information about the chip that:
- Authenticates who manufactured the chip and embedded it into a project.
- The current owner of the chip.
- A
primaryService
with content that the chip should be redirected to upon scan (e.g a web app, URL or IPFS dapp)
Lookup Functions
The ChipRegistry
provides the following functions that can be used to lookup an associated chip. Likewise, chip information is mapped in chipEnrollments
, including such information as what project a chip is assocaited with.
resolveChip
- the primary service content assocaited with a chip, including theredirectUri
; this is the entry point for most dapps into ERS.ownerOf
- the current owner of the chip, set to the project owner at the time of addition.node
- the ERS node of the chip.