Skip to main content

Bevm

END Testnet

image

Option 1 (Automatic) - STOPPED

cd $HOME && source <(curl -s https://raw.githubusercontent.com/vnbnode/binaries/main/Projects/BEVM/bevm-auto.sh)

Option 2 (Manual)

Install Docker

sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

1/ Create folder bevm

mkdir $HOME/bevm && cd $HOME/bevm

2/ Pull image new

sudo docker pull btclayer2/bevm:testnet-v0.1.2

3/ Create config.json

nano $HOME/bevm/config.json
Note

Edit "Your-Node-Name" --> "Address Wallet"

{
"chain": "testnet",
"log-dir": "/log",
"enable-console-log": true,
"no-mdns": true,
"validator": true,
"unsafe-rpc-external": true,
"offchain-worker": "never",
"rpc-methods": "unsafe",
"log": "info,runtime=info",
"port": 30333,
"rpc-port": 8087,
"pruning": "archive",
"db-cache": 2048,
"name": "Wallet_Address",
"base-path": "/data",
"telemetry-url": "wss://telemetry-testnet.bevm.io/submit 1",
"bootnodes": []
}
Tip

Please use Ctrl + X + Y : Save config.json

3/ Run node

sudo docker run -d --restart always --name bevm \
-p 8087:8087 -p 30333:30333 \
-v $PWD/config.json:/config.json -v $PWD/data:/data \
-v $PWD/log:/log -v $PWD/keystore:/keystore \
btclayer2/bevm:testnet-v0.1.2 /usr/local/bin/bevm \
--config /config.json

Remove Node

cd $HOME
docker stop bevm
docker rm bevm
rm -r $HOME/bevm

Check log node

tail -f log/bevm.log

Check Telemetry

Follow the instruction from project: Guide

Thank to support VNBnode.

Visit us at: