Taiko NodeRunner (Ubuntu)

Attention. Not to use your main wallet with assets.
Attention. Not to use your main wallet with assets.

The first step, hopefully, won’t catch you off guard, and you’ll have a dedicated mediumwell server.

Attention. Not to use your main wallet with assets.
Attention. Not to use your main wallet with assets.

So, first of all, connect to virtual machine and enter the following commands which will allow us to install docker without any problems.

  1. sudo apt-get update sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-release

  2. sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

  3. echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

  4. sudo apt-get update

    If you get a GPG error at this step, use the solutions below:

    sudo chmod a+r /etc/apt/keyrings/docker.gpg sudo apt-get update

  5. sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin

  6. Complete. Make sure that the docker is working well:

    sudo docker run hello-world

    or

    docker compose version

    Now let's take a look at Taiko's official guide to launching the node.

  7. git clone https://github.com/taikoxyz/simple-taiko-node.git cd simple-taiko-node

  8. cp .env.sample .env

  9. Substitute the correct values in the .env file that we copied in the previous step. To do this, activate the nano editor.

    nano .env

    At the bottom you will see three values that you need to change. I put them in bold:

    ENABLE_PROPOSER=true L1_PROPOSER_PRIVATE_KEY=your private key L2_SUGGESTED_FEE_RECIPIENT=your wallet address

    e.g. ENABLE_PROPOSER=true L1_PROPOSER_PRIVATE_KEY=d8d8c71ncvjdn388dfnq3zvn45757gnduirfy473274hfuasdfgzh23hjbcjdf L2_SUGGESTED_FEE_RECIPIENT=0x2ce9fd0eb115cd0ee9gc03241a362d0452ff172e

  10. You are great. Let's get the node up and running.

    docker compose up

Helpful commands:

Run node in the background: docker compose up -d Stop node: docker compose down Uninstall node: docker compose down -v rm -f .env Check logs: docker compose logs

Be well.

https://github.com/taikoxyz/simple-taiko-node

Taiko Discord Taiko Twitter

by Alpha Road