Skip to content

YTWOFUND/Taiko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

Taiko - Alpha-7 Hekla

Official documentation

System requirements:

Minimum:

CPU: 4 Core
RAM: 8 Gb
SSD: 50 Gb SSD (For testing)
OS: Ubuntu 20.04 LTS

Recommended:

CPU: 8/16 Core
RAM: 32 Gb
SSD: 50 Gb SSD (For testing)
OS: Ubuntu 20.04 LTS

Installation of the Taiko node with Docker.

1. Required packages installation:

sudo apt update && apt upgrade -y
sudo apt install git-all -y

2. Installing docker and docker compose:

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 -y
docker --version

docker compose version

3. Clone simple-taiko-node:

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

cd simple-taiko-node

cp .env.sample .env 

nano .env

4. Copy the .env.sample to a new file .env:

cp .env.sample .env

5. Next, open the .env file in your preferred text editor:

nano .env

At the current stage, you need to make changes to the .env file
L1_ENDPOINT_HTTP
L1_ENDPOINT_WS

6. To receive HTTPS and WS, you need to register at Blockpi

7. We create an application:

In the upper right corner, click +create app button.
In the window that opens, enter the name, CHAIN - Ethereum, NetWork - Holesky.
Save the entered data, click create app button.

8. On the right side of the newly created project, click on the VIEW KEY button.

We copy HTTPS and WSS, and paste it into the file, from step 5 of the instruction.

9. Enable your node as a prover (optional):

In the ".env" file, we make additional adjustments:
ENABLE_PROVER - change the value to "true"
Set L1_PROVER_PRIVATE_KEY - Metamask wallet secret key
SGX_RAIKO_HOST= -We write SGX_RAIKO_HOST our own
ENABLE_PROPOSER - change the value to "true"
Set L1_PROPOSER_PRIVATE_KEY - Metamask wallet secret key
L1_BEACON_HTTP=http://unstable.holesky.beacon-api.nimbus.team BLOCK_PROPOSAL_FEE=100 PROVER_ENDPOINTS=http://taiko-a7-prover.zkpool.io,http://198.244.201.79:9876,http://146.59.55.26:9876,http://kenz-prover.hekla.kzvn.xyz:9876,http://hekla.stonemac65.xyz:9876,http://148.113.9.122:9876,http://taiko.web3crypt.net:9876,http://148.113.17.127:9876,http://hekla.prover.taiko.coinblitz.pro:9876,https://prover-hekla.taiko.tools,https://prover2-hekla.taiko.tools,http://taiko-testnet.m51nodes.xyz:9876,http://148.113.16.26:9876,http://51.161.118.103:9876

10. Save the file ".env" Ctrl+X, Ctrl+Y, Enter.

11. For Prover to work correctly, you need to have a certain amount of Eth coins in the Sepolia network on your wallet.

You can use the faucet

12. Start a node:

docker compose --profile proposer up -d

At the moment, only the router is working normally, in order to start the PROVER, you need tokens and an old processor with SGX.

Useful commands:

Since the node is raised using docker compose, all commands are executed from the folder in which it is located, by default /root/simple-taiko-node/

cd /root/simple-taiko-node/

Stop a node:

docker compose down

Remove a node:

docker compose --profile proposer down -v
rm -rf .env

Update a node:

docker compose pull

View the node's logs:

docker compose logs -f

View the node's status dashboard:

http://localhost:3000/d/L2ExecutionEngine/l2-execution-engine-overview?orgId=1&refresh=10s

This is the last phase of the testnet, I do not advise you to skip it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published