Skip to content

rahmec/librachain

Repository files navigation

Librachain project

Software Security and Blockchain course project. The goal is implementing blockchain sharding by splitting the distributed ledger into multiple blockchains.

Requirements

To run our application you need to have installed:

Setting up the solidity compiler

The solidity compiler can be installed in different ways, such as using your operating system packet manager or pip. Make sure solc is in your PATH (e.g. by adding $HOME/.local/bin to your path if you have installed it via pip). The newer solidity compiler versions have some compatibility problems with the other libraries. We highly suggest to install the 0.8.19 solidity compiler version in order to avoid them. The solc-select package allows to switch between different versions, if you have installed it you can run:

solc-select install 0.8.19
solc-select use 0.8.19

This will ensure that you are using the 0.8.19 solidity compiler version.

How to setup our program in your PC

Setup in UNIX-like OS's

  1. First you need to clone this repository.
  git clone https://github.com/OT-Rax/librachain
  1. You can change the configuration parameters in the configuration.yml file inside the config folder.
  2. Then, you need to run the install.sh file. In order to do this, you first need to make this file executable with the command chmod +x install.sh. This file will start the containers.
  chmod +x install.sh
  ./install.sh
  1. Finally you can run the main.py file to start the program.
  python3 main.py

Setup in Windows

To setup the application on windows, you need to run the following files in the specified order:

  1. docker-compose.yml
  2. deploy_on_chain.py
  3. set_up.py (optional)
  4. main.py

Documentation

In this section you can find the documentation of our project: Documentation

Contributors

Contributor name Contacts
El Mechri Rahmi [email protected]
Giuliani Rebecca [email protected]
Gobbi Chiara [email protected]
Moretti Alice [email protected]
Ronci Arianna [email protected]

About

Software Security and Blockchain course project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors