Here are the instructions for creating your own multi-node network on your local machine:
Run the following commands on Debian9
sudo apt-get install -y curl make bubblewrap pkg-config postgresql m4 libgmp-dev libffi-dev libjemalloc-dev libpq-dev libssl-dev libsodium-dev cargo lib32z1-dev python3 python3-pip git unzip libbz2-dev psmisc apt-transport-https ca-certificates curl software-properties-common gnupg2 bccurl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"sudo apt updatesudo apt install -y docker-cesudo usermod -aG docker ${USER}- Logout and log back in
pip3 install --user readchar jinja2 docker inflect click natsortwget https://golang.org/dl/go1.15.3.linux-amd64.tar.gzsudo tar -C /usr/local/ -xzf go1.15.3.linux-amd64.tar.gzecho "export PATH=$PATH:/usr/local/go/bin" > ~/.profilesource ~/.profilesudo bash -c "sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"git clone https://github.com/MinaProtocol/mina.gitcd minagit submodule update --init --recursivemake setup-opameval $(opam env)LIBP2P_NIXLESS=1 make build
When rebuilding in a new session
eval $(opam env)LIBP2P_NIXLESS=1 make build
To run the network locally
./scripts/run_local_network.sh --transactions
To learn how to run different nodes in Mina, look inside the run_local_network.sh script.