@@ -29,22 +29,31 @@ The sgxwallet server is still in active development and therefore should be rega
The easiest way to try the sgxwallet server is to run a docker container in insecure simulation mode that emulates an SGX processor. Once you are familiar with the server, you can enable sgx on your machine and run it in secure production mode.
First install docker-compose if you dont have it[as described here](https://linuxize.com/post/how-to-install-and-use-docker-compose-on-ubuntu-18-04/).
First install docker-compose if you dont have it
Then run sgxwallet using docker compose
```bash
sudo apt-get install docker.io docker-compose
```
Then run sgxwallet using docker-compose
```bash
$ cd run_sgx;sudo docker-compose up
$ cd run_sgx_sim;sudo docker-compose up
```
Note: sgxwallet requires docker-compose for correct operation. You must always use
docker-compose and avoid using raw docker tools.
Note: simulation mode is only try try sgxwallet.
In production, you need to run sgxwallet on a server that supports SGX.
Never run a production sgxserver in simulation mode.
## Admin guide
If you are a SKALE validator and want to run sgxwallet for testnet or mainnet usage,
please refer to Admin guide.
If you are a SKALE validator and want to run sgxwallet for testnet or mainnet usage, you need
a SGX-capable server.
Please refer to Admin guide for details on how to setup sgxwallet in a secure hardware mode.
software components. These must be installed and configured before
compiling sgxwallet.
This document describes how to get and compile these required components.
running sgxwallet.
This docment describes how to install and configure these required components.
# Table of Contents
...
...
@@ -18,22 +18,18 @@ This document describes how to get and compile these required components.
sgxwallet should be ran on Ubuntu 18.04. Sgxwallet has been tested on Ubuntu 18.04.
Sgxwallet may run on other Linux distributions, but the installation process is likely to be more complicated, and the use of other distributions is not supported by their respective communities at this time.
Sgxwallet may run on other Linux distributions,
but the installation process is likely to be more complicated,
and the use of other distributions is not supported by their respective communities at this time.
## Docker
Docker may be used instead of building sgxwallet directly (standalone mode) and is recommended. If you build using Docker, you need to install Docker Engine and Docker Compose if it is not already installed.
To verify a correct installation, run `docker-compose version`
...
...
@@ -54,41 +46,10 @@ For details on Docker installation, see <https://docs.docker.com/engine/installa
## Intel® Software Guard Extensions (Intel SGX)
Sgxwallet is intended to be run on Intel SGX-enabled platforms. However, it can also be run in "simulator mode" on platforms that do not have hardware support for Intel SGX. Support for other hardware-based Trusted Execution Environments (TEEs) can be added by submitting a Pull Request.
### Intel SGX SDK
The Intel SGX SDK is required for both Intel SGX hardware platform and Intel SGX simulator mode.
The following instructions download the Intel SGX SDK 2.5 and installs it in