🔓Locking Mechanism

We believe that both the physical and the digital parts of any given phygital product should belong to the same owner and sold or transferred together.

In order to ensure ownership of both the digital and the physical owners remain the same, we introduced a locking mechanism that locks the NFT metadata upon transfer and unlocks when owners submit a valid request containing a checksum emitted by our tags attached to the physical goods.

This locking mechanism is an implementation of ERC-5192, a minimal soulbound token implementation. However, we introduce the ability to set token locks on a more granular level, with the ability for this state to be mutable.

Lock state mapping for tokens

// stores the locked state for each NFT
mapping(uint256 tokenId => bool locked) tokenLock;

Last updated