A smart contract system that orchestrates and operates the SKALE Network.
SKALE Manager controls Nodes, Validators, and SKALE chains. It also contains contracts for managing SkaleToken, Distributed Key Generation (DKG), and Verification of BLS signatures.
This system is upgradeable and uses the transparent proxy approach.
The main purpose of this system:
- Control Nodes in the system: - Register, Delete
- Control Schains in the system: - Create schain, delete schain - Create group of Nodes for Schain
- Control Validation system: - collect verdicts of Nodes by Validators - charge Bounty
- Clone this repo
- run
yarn install
Create a .env
file with following data:
ENDPOINT="{your endpoint}"
PRIVATE_KEY="{your private key}"
GASPRICE={gas price in wei} # optional
ETHERSCAN={etherscan API key to verify contracts} # optional
deploy:
npx hardhat run migrations/deploy.ts --network custom
The is no need to deploy the system first
yarn test
Copyright (C) 2018-present SKALE Labs