This project is being realized in the context of my master thesis in the Technische Hochschule Ulm (Deutschland), based on an idea I had a few years back.
The command-line tool to run the node and interact with the network. It serves as an interface to Balthalib for the command-line and contains only code for this purpose.
Contains and regroups all the base elements to use the network found in the libraries given here underneath.
This part manages the different storages used by the system. For now, only IPFS will be implemented but others might come in the future.
The different protocols used specifically for this system for inter-node communications.
The different elements correpsonding to the execution (runner) environment can be found it this crate.
Contains different miscelaneous types and functions used by other libraries.
-
Install the
rustup
andcargo
(See the official Rust website) -
Run
cargo build --release
, it will take a long while, continue the next steps in the meantime. -
In parallel, install the wasm toolchain:
rustup target add wasm32-unkown-unkown
-
Run
./build_wasm.sh
to compile the example web-assembly program
Note: This information is outdated and won't work anymore.
- Set up an IPFS daemon locally on default port (See the official website)
- Run the manager in one terminal
cargo run --release
- Run a worker in another terminal
cargo run --release 1
, it should automatically detect the manager, but if it doesn't, add one of the manager's addresses, for examplecargo run --release 1 /ip4/127.0.0.1/tcp/3333