· 5 years ago · Dec 12, 2019, 05:48 AM
1griff@jormungandr:~/nightly$ ./send-lovelaces.sh ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj 1006892123456 3101 $(cat secret.key)
2================Send Money=================
3DESTINATION_ADDRESS: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
4DESTINATION_AMOUNT: 1006892123456
5REST_PORT: 3101
6SOURCE_SK: ed25519e_sk1fqv9h32jm4g47ly9vwf62dln25hy3fcpf777pqjgk5jcl6v7r324d5dwv9x8vay43tz8ux7rlxkq8ru8772y3murjqw4mwe7y4u6m8clnp7e2
7BLOCK0_HASH: 65a9b15f82619fffd5a7571fdbf973a18480e9acf1d2fddeb606ebb53ecca839
8FEE_CONSTANT: 200000
9FEE_COEFFICIENT: 100000
10==================================================
11## Sending 1006892123456 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: 1006892523456
25inputs:
26 - account: 9d7247449fb68eb182833b7c01e79d2c1d1c6d4ea5faba4a5e20eec712ae1f33
27 kind: account
28 value: 1006892523456
29num_inputs: 1
30num_outputs: 1
31num_witnesses: 1
32output: 1006892123456
33outputs:
34 - address: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
35 value: 1006892123456
36sign_data_hash: 6f2b71499fdcb7fa55881f22e4a351b8a77fa00b7a207aa33fe40c6b8066d886
37status: finalizing
38 ##7. Finalize the transaction and send it
39ad8a7433bf9aff6e57287a883e726cc06a3fbffa068b232e80b299f4a99787e1
40 ##8. Remove the temporary files
41 ##Waiting for new block to be created (timeout = 200 blocks = 400s)
42New block was created - 7e354bc614610abf3b929b27b2077a4831f70e8cc9b3e81b63821f7b5274786a
43 ##9. Check the account's balance
44---
45counter: 4
46delegation:
47 pools:
48 - - 19e3a8e5f2fd42d4be5b99765485766a8cfae35fa3b3b1127616e01839eacd23
49 - 1
50last_rewards:
51 epoch: 0
52 reward: 0
53value: 212342323456
54griff@jormungandr:~/nightly$ bal
55---
56counter: 21
57delegation:
58 pools:
59 - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
60 - 1
61last_rewards:
62 epoch: 0
63 reward: 0
64value: 100689280260