mannheim-network / spacex-script

Official Spacex node service for running mannheim protocol
GNU General Public License v3.0
10 stars 12 forks source link

Mannheim

RUBIK

The repo of spacex-script used to automate processes to configure and run Mannheim testnet RUBIK, the script is a list of commands that are executed by spacex program.

🚀Getting Started

Official Guardian/Miner Node service for running Mannheim protocol.

🧰Preparation work

Requirements
⚙️Hardware CPU must contain SGX module, and make sure the SGX function is turned on in the bios
⚙️Operating system Ubuntu 16.04/18.04/20.04
⚙️Other configurations Secure Boot in BIOS needs to be turned off

🛠️Install dependencies

Install Rubik service

sudo ./install.sh # Use 'sudo ./install.sh --registry cn' to accelerate installation in some areas

Modify config.yaml

sudo spacex config set

Run service

sudo spacex help
sudo spacex start
sudo spacex status

Stop service

sudo spacex stop

🛡️How to become a guardian?

The Guardian node is the initiator of and in charge of the Group, participating in block generation. Effective storage of the miner can be clustered on the Guardian to participate in the block generation competition. Meantime, the organizers of the Guardians are accountable for the Group's strategy of receiving meaningful files to improve the Group's overall competitiveness. Since the Guardian node itself does not store files, support for SGX is not necessary.

For details, please refer to this page.

💎How to become a miner?

The Miner node acts as the storage provider in Group. There can be multiple Miner nodes in a Group, and their effective storage can be clustered on Owner to participate in block generation competition. Since Miner nodes store files and perform trusted quantification, support for SGX is necessary. The Miner node is connected to its account through configuring backup files.

For details, please refer to this page.

License

GPL v3