Research Article
A Blockchain-Based Secure Radio Frequency Identification Ownership Transfer Protocol
| function Add˙ownership(uint tid, address receiver) public { | require(msg.sender = = creator); | if (TagID = = tid) | owner = receiver; | else | revert (“the TagID is incorrect!”); | } |
|
|