· 6 years ago · Dec 12, 2019, 06:12 AM
1griff@jormungandr:~/nightly$ ./send-money.sh ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj 100689123456 3101 $(cat secret.key)
2================Send Money=================
3DESTINATION_ADDRESS: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
4DESTINATION_AMOUNT: 100689123456
5REST_PORT: 3101
6SOURCE_SK: ed25519e_sk1fqv9h32jm4g47ly9vwf62dln25hy3fcpf777pqjgk5jcl6v7r324d5dwv9x8vay43tz8ux7rlxkq8ru8772y3murjqw4mwe7y4u6m8clnp7e2
7BLOCK0_HASH: 65a9b15f82619fffd5a7571fdbf973a18480e9acf1d2fddeb606ebb53ecca839
8FEE_CONSTANT: 200000
9FEE_COEFFICIENT: 100000
10==================================================
11## Sending 100689123456 to ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
12discrimination: testing
13account: ed25519_pk18ay4m379zcn7nm0wadmyxap4h7q049wdyrryp9z06r44aremr3gqm0yw90
14 ##1. Create the offline transaction file
15 ##2. Add input details
16 ##3. Add output details
17 ##4. Finalize the transactions
18 ##5. Create the witness
19 ##6. Add the witness to the transaction
20 ##7. Show the transaction info
21---
22balance: 0
23fee: 400000
24input: 100689523456
25inputs:
26 - account: 9d7247449fb68eb182833b7c01e79d2c1d1c6d4ea5faba4a5e20eec712ae1f33
27 kind: account
28 value: 100689523456
29num_inputs: 1
30num_outputs: 1
31num_witnesses: 1
32output: 100689123456
33outputs:
34 - address: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
35 value: 100689123456
36sign_data_hash: 1ce131123f01d98a91828df8650c69629e3bc2047b71549df2325e4d317a2d40
37status: finalizing
38 ##7. Finalize the transaction and send it
39a1bd9a4255c55695d02f92bc6deca7f4c60d13fd92ab1c54993189fe296e44a5
40 ##8. Remove the temporary files
41 ##Waiting for new block to be created (timeout = 200 blocks = 400s)
42New block was created - f96508db3f607fbdec679a6b651aab437e2d14f911f631e67b03d655d6a45288
43 ##9. Check the account's balance
44---
45counter: 5
46delegation:
47 pools:
48 - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
49 - 1
50last_rewards:
51 epoch: 0
52 reward: 0
53value: 212341623456
54griff@jormungandr:~/nightly$ bal
55---
56counter: 21
57delegation:
58 pools:
59 - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
60 - 1
61last_rewards:
62 epoch: 0
63 reward: 0
64value: 100689280260
65
66****************************and run it again***************************
67
68griff@jormungandr:~/nightly$ ./send-money.sh ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj 100689123456 3101 $(cat secret.key)
69================Send Money=================
70DESTINATION_ADDRESS: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
71DESTINATION_AMOUNT: 100689123456
72REST_PORT: 3101
73SOURCE_SK: ed25519e_sk1fqv9h32jm4g47ly9vwf62dln25hy3fcpf777pqjgk5jcl6v7r324d5dwv9x8vay43tz8ux7rlxkq8ru8772y3murjqw4mwe7y4u6m8clnp7e2
74BLOCK0_HASH: 65a9b15f82619fffd5a7571fdbf973a18480e9acf1d2fddeb606ebb53ecca839
75FEE_CONSTANT: 200000
76FEE_COEFFICIENT: 100000
77==================================================
78## Sending 100689123456 to ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
79discrimination: testing
80account: ed25519_pk18ay4m379zcn7nm0wadmyxap4h7q049wdyrryp9z06r44aremr3gqm0yw90
81 ##1. Create the offline transaction file
82 ##2. Add input details
83 ##3. Add output details
84 ##4. Finalize the transactions
85 ##5. Create the witness
86 ##6. Add the witness to the transaction
87 ##7. Show the transaction info
88---
89balance: 0
90fee: 400000
91input: 100689523456
92inputs:
93 - account: 9d7247449fb68eb182833b7c01e79d2c1d1c6d4ea5faba4a5e20eec712ae1f33
94 kind: account
95 value: 100689523456
96num_inputs: 1
97num_outputs: 1
98num_witnesses: 1
99output: 100689123456
100outputs:
101 - address: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
102 value: 100689123456
103sign_data_hash: 1ce131123f01d98a91828df8650c69629e3bc2047b71549df2325e4d317a2d40
104status: finalizing
105 ##7. Finalize the transaction and send it
106a1bd9a4255c55695d02f92bc6deca7f4c60d13fd92ab1c54993189fe296e44a5
107 ##8. Remove the temporary files
108 ##Waiting for new block to be created (timeout = 200 blocks = 400s)
109New block was created - 3ba05f4e8e990948d48f6e3d6a36ff0cda921419dd8db2e7c23ece1ff4b2b8d4
110 ##9. Check the account's balance
111---
112counter: 5
113delegation:
114 pools:
115 - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
116 - 1
117last_rewards:
118 epoch: 0
119 reward: 0
120value: 212341623456
121griff@jormungandr:~/nightly$ bal
122---
123counter: 21
124delegation:
125 pools:
126 - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
127 - 1
128last_rewards:
129 epoch: 0
130 reward: 0
131value: 100689280260