id | title | sidebar_label | description | keywords | ||||
---|---|---|---|---|---|---|---|---|
step2-fullzkevm |
Install Dependencies And Mainnet Files |
Install Dependencies |
The second ste on launching your own zkEVM network on the Goerli testnet. |
|
Continue with the Second Step of this Deployment-Guide where you install dependencies and download Mainnet files.
-
First, install the following dependencies:
# APT dependencies sudo apt update -y sudo apt install -y tmux git curl unzip jq docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin # Docker sudo usermod -aG docker $USER newgrp docker && newgrp $USER # Node.js (NVM) curl -o- <https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh> | bash source ~/.bashrc nvm install 16 node -v # Go wget <https://go.dev/dl/go1.20.4.linux-amd64.tar.gz> sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz rm -rf go1.20.4.linux-amd64.tar.gz
-
Next, add these to your
.profile
:echo ' export ZKEVM_NET=mainnet export ZKEVM_DIR=~/zkevm/zkevm-node export ZKEVM_CONFIG_DIR=~/zkevm/zkevm-config [ -d "/usr/local/go/bin" ] && PATH="/usr/local/go/bin:$PATH" ' >> ~/.profile source .profile
-
Lastly, confirm the installation of Golang by running this command:
$ go version
Next step in the process is to download the zkEVM Mainnet files. This download is over 70GB, so it's recommended to execute the wget command in a tmux or byobu session to handle any network interruptions:
tmux
wget <https://de012a78750e59b808d922b39535e862.s3.eu-west-1.amazonaws.com/v1.1.0-rc.1-fork.4.tgz>
ctrl + d
Once the download is finished, you should extract the files using the following command:
tar xzvf v1.1.0-rc.1-fork.4.tgz