-
Notifications
You must be signed in to change notification settings - Fork 10
/
run.pls.sh
executable file
·29 lines (25 loc) · 1.08 KB
/
run.pls.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
26
27
28
29
#!/usr/bin/env bash
OPERATOR_KEY="966105912D35EC0B4767E64C0549E981CAD03DA15154D9D0B76ECBC489C73088"
KEY1="78ae75d1cd5960d87e76a69760cb451a58928eee7890780c352186d23094a115"
KEY2="bfaa65473b85b3c33b2f5ddb511f0f4ef8459213ada2920765aaac25b4fe38c5"
KEY3="067394195895a82e685b000e592f771f7899d77e87cc8c79110e53a2f0b0b8fc"
KEY4="ae03e057a5b117295db86079ba4c8505df6074cdc54eec62f2050e677e5d4e66"
KEY5="eda4515e1bc6c08e8606b51ffb6ffe70b3fe76781ed49872285e484064e3b634"
CHALLENGER_KEY="E030F902B3E8CE2AB48D6B4B2E29888FFC929569015D0151F9F825A9E410C73F"
DATADIR=$HOME/.pls.dev
OPERATOR="0x54bD377b394F6D735f3e5f93875BeaEe6AE33386"
CHALLENGER="0x0451A396002f487031E726A7CDcAB4D27cA44d40"
rm -rf $DATADIR
make geth && \
build/bin/geth \
--datadir $DATADIR \
--miner.etherbase 0x54bD377b394F6D735f3e5f93875BeaEe6AE33386 \
--rootchain.url ws://127.0.0.1:8546 \
--dev \
--rpc \
--rpcapi="db,eth,net,web3,personal,web3" \
--rpcport 8547 \
--dev.key $OPERATOR_KEY,$KEY1,$KEY2,$KEY3,$KEY4,$KEY5,$CHALLENGER_KEY \
--operator $OPERATOR \
--rootchain.challenger $CHALLENGER \
--tx.interval "300ms"