Bind your Device NFT
Ensure you have already registered a Project ID
After registering a DePIN project, the next step is to set the Device NFT contract for that project. This contract must be set before any user attempts to register a device ioID for your project.
While the Device NFT contract is required to implement the ERC-721, the ioID framework does not impose specific implementation requirements, allowing for project-specific customization.
Your Device NFT contract must be linked to your Project ID and only users who own a valid device NFT for a DePIN project are entitled to register a new ioID identity for a physical device for that project and bind it to their blockchain wallet.
While the Device token contract could be a plain NFT721, below is an example for a typical customization that can be used as a Device NFT by a DePIN project.
Bind the Device NFT using IoTeX CLI (ioctl
)
ioctl
)Contract Call
Contarct: ioIDStore
Function Call: setDeviceContract(uint256 _projectId, address _contract) external
Example:
Last updated