mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
Former-commit-id: 23f542f43b4b493e38f5aa4c29788ed93a63b43b [formerly 71b23a6a28eb045fcfeab6329de69f1e5455486b] Former-commit-id: d12b3a6decc876f010a71f98e11df7387c1aaf2a
Swarm development environment
The Swarm development environment is a Linux bash shell which can be run in a Docker container and provides a predictable build and test environment.
Start the Docker container
Run the run.sh script to build the Docker image and run it, you will then be
at a bash prompt inside the swarm/dev directory.
Build binaries
Run make to build the swarm, geth and bootnode binaries into the
swarm/dev/bin directory.
Boot a cluster
Run make cluster to start a 3 node Swarm cluster, or run
scripts/boot-cluster.sh --size N to boot a cluster of size N.