Installation

Chain ID: swisstronik_1291-1

Swisstronik uses Intel SGX to protect user transactions and smart contract state. Since Intel SGX is a hardware solution, you should have appropriate hardware to run it. On Testnet stage we have tolerant requirements, but closer to mainnet we will significantly increase them to have production-grade security.

System Requirements

  • For now, you can use any Intel CPU which supports SGX via SPS and EPID remote attestation

  • 32 GB RAM

  • 1 TB SSD

Configure BIOS

  • Enable SGX

  • Disable Secure Boot

  • Disable Hyper Threading

  • Disable Turbo Mode

  • Enable CPU AES

Install Intel SGX Driver

Install Intel AESM service

Install all required libraries

Enable the Intel SGX APT repository and install required packages to run swisstronikd:

After that, you are ready to run swisstronikd.

Install Dependencies

Build and Install sgxs-tools

After the installation completes, run sgx-detect to make sure that everything is set up correctly:

Note: If you don't run the sgx-detect tool as root, it might not have the necessary permissions to access the SGX kernel device.

When everything is working correctly, you should receive output similar to the following (some details may vary depending on hardware features):

Install Go and Configure Go

Last updated