This repo contains source code for 3 core SKALE Node containers:
skale_admin
- worker that manages sChains creation and node rotationskale_api
- webserver that provides node APIcelery
- distributed task queue
SKALE API reference could be found in the docs repo: SKALE Node API.
- Run local ganache, download and deploy SKALE Manager contracts to it
ETH_PRIVATE_KEY=[..] MANAGER_BRANCH=[..] bash ./scripts/deploy_manager.sh
ETH_PRIVATE_KEY
- it could be any valid Ethereum private key (without0x
prefix!)MANAGER_BRANCH
- tag of the SKALE Manager image to use ($MANAGER_BRANCH-latest
will be used)SGX_WALLET_TAG
- tag of the SGX simulator to use (optional,latest
will be used by default)
List of the available SM tags: https://hub.docker.com/r/skalenetwork/skale-manager/tags
List of the available SGX tags: https://hub.docker.com/r/skalenetwork/sgxwalletsim/tags
- Run SGX wallet simulator and all tests after it
ETH_PRIVATE_KEY=[...] SCHAIN_TYPE=[...] bash ./scripts/run_tests.sh
ETH_PRIVATE_KEY
- it could be any valid Ethereum private key (without0x
prefix!)SCHAIN_TYPE
- type of the chain for the DKG test (could betest2
- 2 nodes,test4
- 4 nodes,tiny
- 16 nodes)
Test build:
export BRANCH=$(git branch | grep -oP "^\*\s+\K\S+$")
export VERSION=$(bash scripts/calculate_version.sh)
bash scripts/build.sh
All contributions to SKALE Admin are made under the GNU Affero General Public License v3. See LICENSE.
Copyright (C) 2019-Present SKALE Labs.