Bind the Device NFT
Ensure you have already deployed a Device NFT contract for your DePIN project
After registering a DePIN project, the next step is to set the Device NFT contract for that project. This contract must be set before a device attempts to register an ioID for your project.
Using IoTeX CLI (ioctl
)
ioctl
)Contract Call
Contarct: ioIDStore
Function Call: setDeviceContract(uint256 _projectId, address _contract) external
Example:
Last updated