Skip to content

florin-nedelcu/mvp-pox-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethernity NODE

This repository provides requirements and setup instructions to enable Ethernity NODE capabilities on a computing system.

Hardware requirements:

CPU

Lists with SGX feature enabled are maintained by Intel at:

SGX with Intel® ME SGX with Intel® SPS and Intel® ME

BIOS

SGX must be set to ENABLED by the system owner via BIOS.

Compatible Systems

List of compatible systems:

A list of SGX compatible systems that support Intel SGX is maintained here: https://github.com/ayeks/SGX-hardware

Tested systems

We have tested successfully the following hardware: DELL Optiplex 5040

Software requirements:

Currently the following operating systems are suported:

Ubuntu 18.04

We are planning support for the following operating systems:

Debian 10*
Fedora 30*
CentOS 7*
RHEL 8*

Installation

1. Install ansible

$ sudo apt update
$ sudo apt -y install software-properties-common
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
$ sudo apt -y install ansible

2. Clone the repository

$ git clone https://github.com/ethernity-cloud/mvp-pox-node.git

3. Install the kernel with SGX support

$ cd mvp-pox-node
$ sudo ansible-galaxy collection install crivetimihai.virtualization
$ sudo ansible-galaxy install uoi-io.libvirt
$ sudo ansible-playbook -i localhost, playbook.yml \
  -e "ansible_python_interpreter=/usr/bin/python3"

After the first run of the script, the new kernel is installed and the following message will be displayed:

ok: [localhost] => {
    "msg": "The kernel has been updated, a reboot is required"
}

Reboot the system as requested.

4. Create config file:

$ cd mvp-pox-node
$ cat << EOF > config
ADDRESS=0xf17f52151EbEF6C7334FAD080c5704D77216b732
PRIVATE_KEY=AE6AE8E5CCBFB04590405997EE2D52D2B330726137B875053C36D94E974D162F
RESULT_ADDRESS=0xC5fdf4076b8F3A5357c5E395ab970B5B54098Fef
RESULT_PRIVATE_KEY=0DBBE8E4AE425A6D2687F1A7E3BA17BC98C673636790F1B8AD91193C05875EF1
EOF
$

5. Start the node

$ sudo cp -rf ~/.vagrant.d /root
$ sudo ansible-galaxy collection install crivetimihai.virtualization
$ sudo ansible-galaxy install uoi-io.libvirt
$ sudo ansible-playbook -i localhost, playbook.yml \
  -e "ansible_python_interpreter=/usr/bin/python3"

About

Proof of eXecution MPV NODE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.4%
  • Shell 12.8%
  • Dockerfile 0.8%