Skip to content

Compute peer-to-peer trading bills in a privacy preserving fashion

License

Notifications You must be signed in to change notification settings

3MI-Labs/private-billings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Private Billings

This repository provides a proof-of-concept library that acts as a framework for performing privacy-preserving billing in peer-to-peer energy trading markets. Additionally, this library contains a default implementation of the UCS billing model.

Documentation

Documentation for this library can be found here.

Installation

Installation involves the following steps:

  1. Install OpenFHE-development, following its installation procedure.

  2. Install OpenFHE-python, following its installation procedure. We recommend installing at commit 87700c2c250ff39eaaa5cbe4daed3e5cb5d9b726; later installations introduce an obscure bug. Afterwards, make sure to add the installation file to your PYTHONPATH.

export PYTHONPATH=/path/to/OPENFHE_so_files:$PYTHONPATH
  1. (recommended) Setup a virtual environment.
python3 -m venv .env
  1. Install this package
git clone [email protected]:3MI-Labs/private-billings.git
python3 -m pip install -e private-billings

and you should be good to go!

More details on the installation may futhermore be derived from the Dockerfile.

About

Compute peer-to-peer trading bills in a privacy preserving fashion

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published