Step-by-Step Guide

Hardware requirement

  • Minimum

    • CPU with 2+ cores

    • 4GB RAM

    • 1TB free storage space to sync the Mainnet

    • 8 MBit/sec download Internet service

  • Recommended

    • Fast CPU with 4+ cores

    • 16GB+ RAM

    • High-performance SSD with at least 1TB of free space

    • 25+ MBit/sec download Internet service

While it is possible to deploy with minimum requirements, we encourage you to deploy with hardware that is at least as good as we recommend.

Process Guide

Before you start deploying Devnet, make sure you have the dependencies installed. If you don't have at least the minimum version installed, it may not install and work properly even if you follow the guide below and enter the script.

  • Software dependency minimum version information

    We recommend that you use the latest version possible, and at least the minimum version possible.

Dependency

Minimum Version

Recommend Version

Version Check Command

^2

Minimum version or higher

git --version

^1.21

^1.22.7 and earlier

go version

^20

Minimum version or higher

node --version

^8

Minimum version or higher

pnpm --version

0.2.0 (a5efe4f)

0.2.0 (63fff35)

forge --version

^3

Minimum version or higher

make --version

^1.6

Minimum version or higher

jq --version

^2

Minimum version or higher

direnv --version

  1. Before deploying Devnet, you must first install and version check the required software to run the system. Please make sure you have the appropriate versions installed before proceeding with the deployment. ※ For Mac OS/Linux users, we've configured a script to allow for a one-step installation. After you Git clone the repo per Step 2 below, enter the following script to complete the Dependencies installation.

cd tokamak-thanos
./install-devnet-packages.sh
  1. copy the repository below to the PCs you want to deploy locally.

git clone https://github.com/tokamak-network/tokamak-thanos.git
  1. Go to the repository you cloned and type make build. This will install the various files for the rollup deployment.

make build
  1. When all is done, type make devnet-up to deploy the rollup with the information from the build.

make devnet-up

Verify successful deployment

Execute the following command to verify the deployment. If the response is successful, it confirms that the rollup was deployed successfully.

  • Verify the L1 chain

    cast chain-id --rpc-url http://localhost:8545
  • Verify the L2 chain

    cast chain-id --rpc-url http://localhost:9545

Pre-Funded Dev Accounts

We support known accounts with a sufficient balance in advance to simplify Devnet deployment.

⚠️ These private keys are common knowledge, you should not use them on any network other than this dev network. Using these private keys on mainnet, or even a testnet, will most likely result in a loss of funds.

Address

Private Key

Balance

0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266

0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80

10,000 ETH

0x70997970C51812dc3A010C7d01b50e0d17dc79C8 (Proposer)

0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d

10,000 ETH

0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC (Batcher)

0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a

10,000 ETH

0x90F79bf6EB2c4f870365E785982E1f101E93b906

0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6

10,000 ETH

0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65

0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a

10,000 ETH

0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc (Sequencer)

0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba

10,000 ETH

0x976EA74026E726554dB657fA54763abd0C3a0aa9

0x92db14e403b83dfe3df233f83dfa3a0d7096f21ca9b0d6d6b8d88b2b4ec1564e

10,000 ETH

0x14dC79964da2C08b23698B3D3cc7Ca32193d9955

0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356

10,000 ETH

0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f

0xdbda1821b80551c9d65939329250298aa3472ba22feea921c0cf5d620ea67b97

10,000 ETH

0xa0Ee7A142d267C1f36714E4a8F75612F20a79720 (Admin)

0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6

10,000 ETH

• Mnemonic: test test test test test test test test test test test junk

• Derivation path: m/44'/60'/0'/0/

Last updated