Deployment guide and scripts for Bool Network
Go to file
2023-03-31 07:38:41 +00:00
configs update config 2023-03-31 07:38:41 +00:00
.gitignore docs: update readme && license 2022-11-17 12:28:57 +00:00
docker-compose.yml update config 2023-03-31 07:38:41 +00:00
LICENSE docs: update readme && license 2022-11-17 12:28:57 +00:00
README.md update config 2023-03-31 07:38:41 +00:00
sgx-detect docs: update readme && license 2022-11-17 12:28:57 +00:00

BOOLNetwork scripts

Instructions

Before Getting Started, Check at Intel© Ark that your processor is Intel© SGX compatible.

Clone the repo.

git clone https://github.com/boolnetwork/mining-scripts.git

SGX

Check if SGX1 is Supported.

./sgx-detect

Output example:

✔  SGX instruction set
  ✔  CPU support
  ✔  CPU configuration
  ✔  Enclave attributes
  ✔  Enclave Page Cache
  SGX features
    ✘  SGX2  ✘  EXINFO  ✘  ENCLV  ✘  OVERSUB  ✘  KSS  
    Total EPC size: 56.0MiB
✔  Flexible launch control
  ✔  CPU support
   CPU configuration
  ✔  Able to launch production mode enclave
✔  SGX system software
  ✔  SGX kernel device (/dev/sgx/enclave)
  ✘  libsgx_enclave_common
  ✘  AESM service
  ✔  Able to launch enclaves
    ✔  Debug mode
    ✔  Production mode
    ✔  Production mode (Intel whitelisted)

BOOLNetwork & Docker

Run with docker-compose

docker-compose up -d

More details about the config. tee

docker run -e RUST_LOG=info,tee=trace -itd -v `pwd`/node-data:/data -p 9934:9933 -p 9945:9944 --name bnk-node-test boolnetwork/bnk-node --dev --unsafe-ws-external --unsafe-rpc-external --rpc-cors all