Skip to content

Biomedical Data Sharing- sharing geolocation features via smart contract

License

Notifications You must be signed in to change notification settings

HD2i/GeolocationSmartContract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📍Geolocation Smart-Contract 📄

Language License appetize

This is the accompanying smart contract for the Biomedical Data Sharing dApp - Geolocation iOS app. More detailed information can be found there.

The workflow of the smart contract is as follows: (1) Participant submits timestamped geolocation data (2) Participant grants/revokes permission to share that data, to the smart contract (3) Third Party may assign geolocations of interest a matching category (i.e. Hospital, Gym, Pharmacy, or None) and write that mapping to the smart contract (4) Participant can view the timestamp of each of their previously written geolocations and the category of that geolocation, if there exists a mapping between that geolocation and a category that was previously written to the smart contract by a Third Party (5) Third Party can view timestamped geolocation category data for each participant who has enabled the sharing of their data.

Deployed Contracts

An instance of the non-confidential smart contract was deployed on the Oasis Devnet at the following address:

0x29ab9ee6e639bac5a5f2ab7099f48248ed315ffe

An instance of the confidential smart contract was deployed on the Oasis Devnet at the following address:

0xe5a803a386aE4d834943FbfA555A6C395898b74A

License

The Geolocation smart contract is released under the MIT License.

Releases

No releases published

Packages

No packages published