https://github.com/skalenetwork/skale-admin
SKALE admin docker container orchestrates all other SKALE Docker containers
https://github.com/skalenetwork/skale-admin
docker skale-admin skale-network
Last synced: about 2 months ago
JSON representation
SKALE admin docker container orchestrates all other SKALE Docker containers
- Host: GitHub
- URL: https://github.com/skalenetwork/skale-admin
- Owner: skalenetwork
- License: agpl-3.0
- Created: 2019-09-26T09:59:22.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2026-05-14T15:53:13.000Z (about 2 months ago)
- Last Synced: 2026-05-14T17:44:45.333Z (about 2 months ago)
- Topics: docker, skale-admin, skale-network
- Language: Python
- Homepage: https://skale.network
- Size: 6.73 MB
- Stars: 24
- Watchers: 6
- Forks: 4
- Open Issues: 45
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# SKALE Admin


[](https://discord.gg/vvUtWJB)
This repo contains source code for 3 core SKALE Node containers:
* `skale_admin` - worker that manages sChains creation and node rotation
* `skale_api` - webserver that provides node API
* `celery` - distributed task queue
## Development
### Dependencies
Install `uv`:
```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```
Install all dependencies:
```bash
uv sync --prerelease=allow --all-extras
```
### Linting and type checking
#### Check linting/formatting issues
```bash
uv run ruff check
```
#### Check type issues
```bash
uv run mypy .
```
#### Auto-fix ruff issues (linting + formatting)
```bash
uv run ruff check --fix
```
# Format code with ruff
```bash
uv run ruff format
```
In file `.git/hooks/pre-commit` add:
```shell
#!/bin/sh
uv run ruff check
```
### Run tests locally
1. Run local ganache, download and deploy SKALE Manager contracts to it
```bash
ETH_PRIVATE_KEY=[..] MANAGER_BRANCH=[..] bash ./scripts/deploy_manager.sh
```
* `ETH_PRIVATE_KEY` - it could be any valid Ethereum private key (without `0x` 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: \
List of the available SGX tags:
2. Run SGX wallet simulator and all tests after it
```bash
ETH_PRIVATE_KEY=[...] SCHAIN_TYPE=[...] bash ./scripts/run_tests.sh
```
* `ETH_PRIVATE_KEY` - it could be any valid Ethereum private key (without `0x` prefix!)
* `SCHAIN_TYPE` - type of the chain for the DKG test (could be `test2` - 2 nodes, `test4` - 4 nodes, `tiny` - 16 nodes)
Test build:
```bash
export BRANCH=$(git branch | grep -oP "^\*\s+\K\S+$")
export VERSION=$(bash scripts/calculate_version.sh)
bash scripts/build.sh
```
## License
[](LICENSE)
All contributions to SKALE Admin are made under the [GNU Affero General Public License v3](https://www.gnu.org/licenses/agpl-3.0.en.html). See [LICENSE](LICENSE).
Copyright (C) 2019-Present SKALE Labs.