/
start_chain.sh
29 lines (27 loc) · 1019 Bytes
/
start_chain.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
## Start chain
tmux send-keys -t shard00 C-C ENTER ./start_node.sh\ shard0-0 ENTER
sleep 1
tmux send-keys -t shard10 C-C ENTER ./start_node.sh\ shard1-0 ENTER
sleep 1
tmux send-keys -t shard01 C-C ENTER ./start_node.sh\ shard0-1 ENTER
sleep 1
tmux send-keys -t shard11 C-C ENTER ./start_node.sh\ shard1-1 ENTER
sleep 1
tmux send-keys -t beacon0 C-C ENTER ./start_node.sh\ beacon-0 ENTER
sleep 1
tmux send-keys -t beacon1 C-C ENTER ./start_node.sh\ beacon-1 ENTER
sleep 1
tmux send-keys -t beacon2 C-C ENTER ./start_node.sh\ beacon-2 ENTER
sleep 1
tmux send-keys -t beacon3 C-C ENTER ./start_node.sh\ beacon-3 ENTER
sleep 1
tmux send-keys -t shard02 C-C ENTER ./start_node.sh\ shard0-2 ENTER
sleep 1
tmux send-keys -t shard03 C-C ENTER ./start_node.sh\ shard0-3 ENTER
sleep 1
tmux send-keys -t shard12 C-C ENTER ./start_node.sh\ shard1-2 ENTER
sleep 1
tmux send-keys -t shard13 C-C ENTER ./start_node.sh\ shard1-3 ENTER
sleep 1
tmux send-keys -t fullnode C-C ENTER ./start_node.sh\ full_node ENTER