luce

๐ŸงŠ LUCE: A Blockchain-based data sharing platform for monitoring data license accountability and compliance.

https://github.com/maastrichtu-ids/luce

Science Score: 62.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • โœ“
    CITATION.cff file
    Found CITATION.cff file
  • โœ“
    codemeta.json file
    Found codemeta.json file
  • โœ“
    .zenodo.json file
    Found .zenodo.json file
  • โ—‹
    DOI references
  • โœ“
    Academic publication links
    Links to: arxiv.org
  • โ—‹
    Academic email domains
  • โœ“
    Institutional organization owner
    Organization maastrichtu-ids has institutional domain (www.maastrichtuniversity.nl)
  • โ—‹
    JOSS paper metadata
  • โ—‹
    Scientific vocabulary similarity
    Low similarity (16.8%) to scientific vocabulary

Keywords

blockchain consent-management
Last synced: 8 months ago · JSON representation ·

Repository

๐ŸงŠ LUCE: A Blockchain-based data sharing platform for monitoring data license accountability and compliance.

Basic Info
  • Host: GitHub
  • Owner: MaastrichtU-IDS
  • License: other
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 40.4 MB
Statistics
  • Stars: 1
  • Watchers: 4
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Topics
blockchain consent-management
Created almost 4 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

LUCE Technical Prototype

The paper is available online: https://arxiv.org/abs/2202.11646

The technical prototype of LUCE is accessible via LuceVM.

LuceVM is a self-contained virtual machine to facilitate web3 development. It encapsulates a Python-Django-Ethereum development stack and allows us to compile, deploy and interact with Ethereum Smart Contracts in a seamless manner. It was created primarily to facilitate the development of the LUCE technical prototype but can be used to support other blockchain-focused research as well.

This repository explains how to set-up LuceVM to access the LUCE Prototype.

Online demo

Try the webhosted version:

  • LUCE Web UI: https://luce.137.120.31.102.nip.io
  • LUCE blockchain access: https://ganache.luce.137.120.31.102.nip.io

Run with docker

Build

bash docker build -t vjaiman/luce .

Run

bash docker run -it -p 8000:8000 -p 8888:8888 vjaiman/luce

Run with docker-compose, the ganache DB and postgres DB will be stored in a data folder in the same directory as the docker-compose.yml file. You will need also to uncomment the ports in the docker-compose.yml

bash docker-compose up -d

You can easily change the path to the storage folder by copying .env.sample to .env and change the storage path variable.

Access on http://localhost:8000 and connect with one of the demo account:

  • provider@luce.com   | provider
  • requester@luce.com | requester

๐Ÿง‘โ€๐Ÿ’ป Development setup

The final section of the README is for if you want to run the package in development, and get involved by making a code contribution.

๐Ÿ“ฅ๏ธ Clone

Clone the repository:

bash git clone https://github.com/vemonet/luce cd luce

๐Ÿฃ Install dependencies

Install Hatch, this will automatically handle virtual environments and make sure all dependencies are installed when you run a script in the project:

bash pip install --upgrade hatch

Install the dependencies in a local virtual environment:

bash hatch -v env create

โ˜‘๏ธ Run tests

Make sure the existing tests still work by running pytest. Note that any pull requests to the fairworkflows repository on github will automatically trigger running of the test suite;

bash hatch run test

To display all print():

bash hatch run test -s

๐Ÿงน Code formatting

The code will be automatically formatted when you commit your changes using pre-commit. But you can also run the script to format the code yourself:

hatch run fmt

Check the code for errors, and if it is in accordance with the PEP8 style guide, by running flake8 and mypy:

hatch run check

โ™ป๏ธ Reset the environment

In case you are facing issues with dependencies not updating properly you can easily reset the virtual environment with:

bash hatch env prune

Difference with DecentralizedHealthcareBackend

LUCE uses their own python scripts in utils/web3_scripts.py with web3 and solc to compile and publish 1 utils/data/luce.sol smart contract

DHB uses brownie to compile and publish many different smart contracts (luce registry, dataset, consent, plonk verifier for zkp)

Owner

  • Name: Maastricht University IDS
  • Login: MaastrichtU-IDS
  • Kind: organization
  • Email: info-ids@maastrichtuniversity.nl
  • Location: Maastricht, Netherlands

Institute of Data Science at Maastricht University

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - orcid: https://orcid.org/0000-0002-1501-1082
    email: vincent.emonet@gmail.com
    given-names: Vincent Emonet
    affiliation: Institute of Data Science, Maastricht University
  - given-names: Visara Urovi
    affiliation: Institute of Data Science, Maastricht University
  - given-names: Vikas Jaiman
    affiliation: Institute of Data Science, Maastricht University
  - given-names: Arno Angerer
  - given-names: Michel Dumontier
    email: michel.dumontier@maastrichtuniversity.nl
    affiliation: Institute of Data Science, Maastricht University
title: "LUCE: A Blockchain-based data sharing platform for monitoring data license accountability and compliance"
repository-code: https://github.com/vemonet/luce
date-released: 2022-02-23
url: https://pypi.org/project/luce
doi: 10.48550/arXiv.2202.11646

GitHub Events

Total
  • Fork event: 1
Last Year
  • Fork event: 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 minute
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • klifish (1)
Pull Request Authors
  • klifish (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels