-
Notifications
You must be signed in to change notification settings - Fork 92
/
multifactoidtrans.sh
executable file
·69 lines (54 loc) · 1.87 KB
/
multifactoidtrans.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env bash
fct1=$(factom-cli -s=$factomd importaddress Fs2DNirmGDtnAZGXqca3XHkukTNMxoMGFFQxJA3bAjJnKzzsZBMH)
fct2=$(factom-cli -s=$factomd importaddress Fs1XY1RcH3b9ezVqCA3WDxAQhnVFnWs5AgcKUU9YqJeradPsimcA)
fct3=$(factom-cli -s=$factomd importaddress Fs2ddd3Wh37sWYNFuGgNjdCPxBMpLYZjLKGXE859SyTfiGGPX9JU)
fct4=$(factom-cli -s=$factomd importaddress Fs26rt5wF8AE8YnfsRbvDG9YXdX2XnG77x99fMFLeTsxehnPNZTK)
fct5=$(factom-cli -s=$factomd importaddress Fs2nDerk8yp2GdAjsrukKWHatuCqH36rupxKaYnKZFXigKbW9VEm)
fct6=$(factom-cli -s=$factomd importaddress Fs1aXUnnPGu1Q2ddP2kz5CwD4fCVpnrDJDzMtuDDwcgfrMN1yoeS)
nfct=$(factom-cli newfctaddress)
echo 1 $fct1
echo 2 $fct2
echo 3 $fct3
echo 4 $fct4
echo 5 $fct5
echo 6 $fct6
big=FA2jK2HcLnRdS94dEcU27rF3meoJfpUcZPSinpb7AwQvPRY6RL1Q
#transfer funds to each of the entry credit address
for ((i=0; i < 50000; i++)); do
echo $i
for ((j=0; j < 10; j++)); do
factom-cli rmtx t1 2>/dev/null
factom-cli newtx -q t1
factom-cli addtxinput -q t1 $big .001
factom-cli addtxoutput -q t1 $fct2 .001
factom-cli addtxfee -q t1 $big
factom-cli signtx -q t1
factom-cli sendtx -q t1
factom-cli newtx -q t1
factom-cli addtxinput -q t1 $big .001
factom-cli addtxoutput -q t1 $fct3 .001
factom-cli addtxfee -q t1 $big
factom-cli signtx -q t1
factom-cli sendtx -q t1
factom-cli newtx -q t1
factom-cli addtxinput -q t1 $big .001
factom-cli addtxoutput -q t1 $fct4 .001
factom-cli addtxfee -q t1 $big
factom-cli signtx -q t1
factom-cli sendtx -q t1
factom-cli newtx -q t1
factom-cli addtxinput -q t1 $big .001
factom-cli addtxoutput -q t1 $fct5 .001
factom-cli addtxfee -q t1 $big
factom-cli signtx -q t1
factom-cli sendtx -q t1
factom-cli newtx -q t1
factom-cli addtxinput -q t1 $big .001
factom-cli addtxoutput -q t1 $fct6 .001
factom-cli addtxfee -q t1 $big
factom-cli signtx -q t1
factom-cli sendtx -q t1
sleep .8
done
factom-cli listaddresses
done