-
Notifications
You must be signed in to change notification settings - Fork 35
/
start_ganache.sh
executable file
·31 lines (29 loc) · 1.36 KB
/
start_ganache.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
30
31
#! /bin/bash
# echo $rpc_pid
rpc_pid= ps -A | grep rpc | grep -v grep | head -n 1 | awk '{print $1}'
if [ $rpc_pid ]; then
kill $rpc_pid
fi
ganache-cli \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712660,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712661,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712662,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712663,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712664,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712665,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712666,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712667,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712668,1000000000000000000000000" \
--account="0x7c78c6e2f65d0d84c44ac0f7b53d6e4dd7a82c35f51b251d387c2a69df712669,1000000000000000000000000" \
--unlock 0 \
--unlock 1 \
--unlock 2 \
--unlock 3 \
--unlock 4 \
--unlock 5 \
--unlock 6 \
--unlock 7 \
--unlock 8 \
--unlock 9 \
-i 1000 \
# --debug