forked from tokamak-network/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.rootchain.sh
25 lines (21 loc) · 947 Bytes
/
run.rootchain.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
OPERATOR_PRIV_KEY="b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291"
CHALLENGER_KEY="78ae75d1cd5960d87e76a69760cb451a58928eee7890780c352186d23094a114"
ADDR0="0x5df7107c960320b90a3d7ed9a83203d1f98a811d";
ADDR1="0x3cd9f729c8d882b851f8c70fb36d22b391a288cd";
ADDR2="0x57ab89f4eabdffce316809d790d5c93a49908510";
ADDR3="0x6c278df36922fea54cf6f65f725267e271f60dd9";
KEY0="78ae75d1cd5960d87e76a69760cb451a58928eee7890780c352186d23094a115";
KEY1="bfaa65473b85b3c33b2f5ddb511f0f4ef8459213ada2920765aaac25b4fe38c5";
KEY2="067394195895a82e685b000e592f771f7899d77e87cc8c79110e53a2f0b0b8fc";
KEY3="ae03e057a5b117295db86079ba4c8505df6074cdc54eec62f2050e677e5d4e66";
make geth && build/bin/geth \
--dev \
--dev.period 1 \
--dev.faucetkey "$OPERATOR_PRIV_KEY,$KEY0,$KEY1,$KEY2,$KEY3,$CHALLENGER_KEY" \
--miner.gastarget 7500000 \
--miner.gasprice "10" \
--rpc \
--rpcport 8545 \
--rpcapi eth,debug,net\
--ws \
--wsport 8546