This is a repository for the Ethereum-based Stratis Blockchain; StratisEVM.
- Clone Repo Recursively
git clone https://github.com/stratisproject/StratisEVM --recurse-submodules
- Build Binaries
wget https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
source $HOME/.profile
cd StratisEVM
apt install build-essential
apt install manpages-dev
make build-binaries
- Initalize GETH
make init-geth-testnet
- Run GETH (Execution Client)
make run-geth-testnet
- Run Beacon (Consensus Client)
make run-beacon-testnet
You may experience the following error message in some cases:
Caught SIGILL in blst_cgo_init, consult <blst>/bindings/go/README.md.
make: *** [Makefile:27: run-beacon-testnet] Error 132
Add the following to the end of ~/.bashrc:
export PATH=$PATH:/usr/local/go/bin
export CGO_CFLAGS="-O -D__BLST_PORTABLE__"
export CGO_CFLAGS_ALLOW="-O -D__BLST_PORTABLE__"
Then reload .bashrc:
source $HOME/.bashrc
Now continue following the steps from #2 above.