Nodes

Download the miner from https://github.com/3LechesCake/Blockchain/tree/main/Miner

once downloaded ensure is connected to the bootnode and you should be able to mine transactions for the blockchain and earn tokens.

Create bootnode --genkey=boot.key

then create the following service.

Create Boot Node as Service

sudo nano /etc/systemd/system/bootnode.service

[Unit]
Description=Ethereum BNode
After=syslog.target network.target
Wants=network.target

[Service]
User=tresservice
Group=tresservice
Type=simple
ExecStart=bootnode -nodekey /usr/local/testnet/bnode/boot.key -verbosity 7 -addr 147.182.143.50:30301

KillMode=process
KillSignal=SIGINT
TimeoutStopSec=90
Restart=always
RestartSec=5s

[Install]
WantedBy=defaul.target

sudo systemctl enable bnode

sudo systemctl start bnode

Create Node 1 as Service

sudo nano /etc/init.d/geth

Set Permissions

Enable Geth Service

if you notice your syslog increasing take a look at this.

Last updated

Was this helpful?