-
Notifications
You must be signed in to change notification settings - Fork 6
/
sn
executable file
·55 lines (44 loc) · 2.39 KB
/
sn
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
datadir=${dir}/db
# Test 1 seed
# amitMn6C5ofDxGBnZy5Gcmdh7Wcge7zRJMJw2ZpbTxP1PxLQeCawxRNYpbdLiwcSuA9YACZEFxkWNWnFYzJ1Kocd26jPvU4Qbb
# tell jump fibula hounded nestle suitcase elapse comb vials syllabus evolved butter bobsled taken fishing pavements beyond ahead slug slug chrome echo bays bowling fibula
# Test 2 seed
# amitMREjMaV8wvj5RTjuSD5ksbjHnoXMaK89UjT9utZ5W6tE8N3UsZSVdeStYogWw93o88QnN3rMK68GK1KbhERzA5SRqEyrHM
# lodge erected logic giant hookup losing deftly unwind tomorrow richly elbow observant sizes erosion feel tadpoles intended cigar upwards does aerial tobacco bifocals cousin bifocals
function wallet1()
{
rm -f ${dir}/t1.cache
${dir}/builder/build/dev/debug/bin/amity-wallet-cli --stagenet --daemon-address 127.0.0.1:28081 --wallet-file ${dir}/t1 --password ""
}
function wallet2()
{
rm -f ${dir}/t2.cache
${dir}/builder/build/dev/debug/bin/amity-wallet-cli --stagenet --daemon-address 127.0.0.1:38081 --wallet-file ${dir}/t2 --password ""
}
function n1()
{
${dir}/builder/build/release/bin/amityd --stagenet --data-dir ${datadir}/n1 --p2p-bind-port 28080 --rpc-bind-port 28081 --zmq-rpc-bind-port 28082 \
--add-exclusive-node 127.0.0.1:58080 --add-exclusive-node 127.0.0.1:48080 --add-exclusive-node 127.0.0.1:38080 \
--fixed-difficulty 1000 --block-sync-size 10
}
function n2()
{
${dir}/builder/build/release/bin/amityd --stagenet --data-dir ${datadir}/n2 --p2p-bind-port 38080 --rpc-bind-port 38081 --zmq-rpc-bind-port 38082 --rpc-restricted-bind-port 38083 \
--add-exclusive-node 127.0.0.1:58080 --add-exclusive-node 127.0.0.1:48080 --add-exclusive-node 127.0.0.1:28080 \
--fixed-difficulty 1000 --block-sync-size 10
}
function n3()
{
${dir}/builder/build/release/bin/amityd --stagenet --data-dir ${datadir}/n3 --p2p-bind-port 48080 --rpc-bind-port 48081 --zmq-rpc-bind-port 48082 --rpc-restricted-bind-port 48083 \
--add-exclusive-node 127.0.0.1:58080 --add-exclusive-node 127.0.0.1:38080 --add-exclusive-node 127.0.0.1:28080 \
--fixed-difficulty 1000 --block-sync-size 10
}
function n4()
{
${dir}/builder/build/release/bin/amityd --stagenet --data-dir ${datadir}/n4 --p2p-bind-port 58080 --rpc-bind-port 58081 --zmq-rpc-bind-port 58082 --rpc-restricted-bind-port 58083 \
--add-exclusive-node 127.0.0.1:48080 --add-exclusive-node 127.0.0.1:38080 --add-exclusive-node 127.0.0.1:28080 \
--fixed-difficulty 1000 --block-sync-size 10
}
$1