Research Article
A Traceable Blockchain-Based Vaccination Record Storage and Sharing System
Algorithm 1
The smart contract Registration
| Var APInfo [] APs. | | function Registration (string nameX, string detailX, Roles roleX){ | | APInfo ap = new APInfo() | | Ap.ID = GenerateUniqueID() | | AP.name = nameX | | AP.detail = detialX | | AP.roleType = roleX | | APs.append(ap) | | } |
|