Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
4d9699f4
Unverified
Commit
4d9699f4
authored
Dec 10, 2019
by
Chadwick Strange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README
parent
9d58b05e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
28 deletions
+23
-28
README.md
README.md
+23
-28
No files found.
README.md
View file @
4d9699f4
# sgxwallet: SKALE SGX-based hardware crypto wallet
## Intro
sgxwallet is a next generation hardware secure crypto wallet that is based on Intel SGX technology. It currently supports Ethereum and SKALE, and will support Bitcoin in the future.
sgxwallet has been tested on Ubuntu Linux 18.04.
## Install Prerequisites
```
sh
sudo
apt-get
install
build-essential make cmake gcc python libssl-dev libboost-all-dev libgmp3-dev libprotobuf10 libprocps-dev flex bison automake libtool texinfo libjsonrpccpp-dev
```
## Clone this repository and its submodules
`
``
git clone --recurse-submodules https://github.com/skalenetwork/sgxwallet.git ``
`
`
git clone --recurse-submodules https://github.com/skalenetwork/sgxwallet.git
`
## Enable SGX on your machine
To build and run sgxd, you'll need Intel SGX capable hardware. Most Intel chips that were produced after 2015 support SGX.
* Enter BIOS of you machine by pressing and holding Del or F2 on bootup and verify that BIOS includes SGX options.
If not, your machine cant run SGX.
* Set SGX in BIOS as `enabled` or `software-controlled`.
* If you can set SGX to `enabled` you are done! Proceed with "Install SGX Driver" section
* If not, set SGX in BIOS to `software-controlled` and then enable by running a sgx-enable utility, as described below.
-
Enter BIOS of you machine by pressing and holding Del or F2 on bootup and verify that BIOS includes SGX options.
If not, your machine cant run SGX.
-
Set SGX in BIOS as
`enabled`
or
`software-controlled`
.
-
If you can set SGX to
`enabled`
you are done! Proceed with "Install SGX Driver" section
-
If not, set SGX in BIOS to
`software-controlled`
and then enable by running a sgx-enable utility, as described below.
## Enable "software-controlled" SGX
To enable SGX using a software utility:
* Build `sgx-enable` utility by typing `cd sgx-software-enable; make`
* Run `./sgx-enable`. Verify that it says that SGX is successfully enabled
-
Build
`sgx-enable`
utility by typing
`cd sgx-software-enable; make`
-
Run
`./sgx-enable`
. Verify that it says that SGX is successfully enabled
## Install SGX driver
```
sudo apt install make gcc
```
```
cd scripts; sudo ./sgx_linux_x64_driver_2.5.0_2605efa.bin
```
`cd scripts; sudo ./sgx_linux_x64_driver_2.5.0_2605efa.bin`
Reboot you machine after driver install. Do
`ls /dev/isgx`
to check that
`isgx`
device is properly installed.
If you do not see the
`isgx`
device, you need to troubleshoot your driver installation.
## Install SGX sdk
`
``
cd scripts; sudo ./sgx_linux_x64_sdk_2.5.100.49891.bin
``
`
`
cd scripts; sudo ./sgx_linux_x64_sdk_2.5.100.49891.bin
`
## Install required debian packages
`
``
cd scripts; sudo install_packages.sh
``
`
`
cd scripts; sudo ./install_packages.sh
`
## Install automake 1.15
Currently the build builds with automake 1.15. You need to install it since Ubuntu 18 comes with automake 1.16 by default.
`
``
cd scripts; sudo dpkg -i automake_1.15.1-3ubuntu2_all.deb
``
`
`
cd scripts; sudo dpkg -i automake_1.15.1-3ubuntu2_all.deb
`
## Build dependencies
Dependencies only need to be built once.
```
```
sh
cd
scripts
;
./build.py
```
## Configure
Cd to the project top dir, then run
```
```
sh
autoconf
automake
./configure
```
## Build
Cd to project top dir and run
```
sg
make
```
make
`
```
## Running sgxwallet
Type
`./sgxwallet`
## Development
Note that
`configure, Makefile`
and
`Makefile.in`
files are created by
`automake`
tools on the fly.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment