⚠️ WIP
Smart Contracts for Linnia MVP
A contract that keeps a registry of user roles. Patients can self register while providers are added by the contract admin.
- Patients
- Owners of medical data
- Providers
- Attestators of medical data
- Every provider has a provenance score
A contract that keeps a registry of metadata of uploaded medical records, as well as the IRIS score of those records. The metadata makes records easily searchable.
- Patients can
- Upload metadata related to their medical data
- Providers can
- Add attestations to medical data
A contract that keeps a registry of permissions. Permissions include who can view what data, and where the permissioned copy is stored on IPFS.
truffle migrate
To run tests with coverage
npm run coverage
To run tests without coverage
- First start testrpc with
npm start
- Alternatively you can run Ganache GUI at port 7545 with network id 5777
- Run
npm test