Gryph_The_Grey

send-money

Dec 12th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 KB | None | 0 0
  1. griff@jormungandr:~/nightly$ ./send-money.sh ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj 100689123456 3101 $(cat secret.key)
  2. ================Send Money=================
  3. DESTINATION_ADDRESS: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
  4. DESTINATION_AMOUNT: 100689123456
  5. REST_PORT: 3101
  6. SOURCE_SK: ed25519e_sk1fqv9h32jm4g47ly9vwf62dln25hy3fcpf777pqjgk5jcl6v7r324d5dwv9x8vay43tz8ux7rlxkq8ru8772y3murjqw4mwe7y4u6m8clnp7e2
  7. BLOCK0_HASH: 65a9b15f82619fffd5a7571fdbf973a18480e9acf1d2fddeb606ebb53ecca839
  8. FEE_CONSTANT: 200000
  9. FEE_COEFFICIENT: 100000
  10. ==================================================
  11. ## Sending 100689123456 to ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
  12. discrimination: testing
  13. account: 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. ---
  22. balance: 0
  23. fee: 400000
  24. input: 100689523456
  25. inputs:
  26. - account: 9d7247449fb68eb182833b7c01e79d2c1d1c6d4ea5faba4a5e20eec712ae1f33
  27. kind: account
  28. value: 100689523456
  29. num_inputs: 1
  30. num_outputs: 1
  31. num_witnesses: 1
  32. output: 100689123456
  33. outputs:
  34. - address: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
  35. value: 100689123456
  36. sign_data_hash: 1ce131123f01d98a91828df8650c69629e3bc2047b71549df2325e4d317a2d40
  37. status: finalizing
  38. ##7. Finalize the transaction and send it
  39. a1bd9a4255c55695d02f92bc6deca7f4c60d13fd92ab1c54993189fe296e44a5
  40. ##8. Remove the temporary files
  41. ##Waiting for new block to be created (timeout = 200 blocks = 400s)
  42. New block was created - f96508db3f607fbdec679a6b651aab437e2d14f911f631e67b03d655d6a45288
  43. ##9. Check the account's balance
  44. ---
  45. counter: 5
  46. delegation:
  47. pools:
  48. - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
  49. - 1
  50. last_rewards:
  51. epoch: 0
  52. reward: 0
  53. value: 212341623456
  54. griff@jormungandr:~/nightly$ bal
  55. ---
  56. counter: 21
  57. delegation:
  58. pools:
  59. - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
  60. - 1
  61. last_rewards:
  62. epoch: 0
  63. reward: 0
  64. value: 100689280260
  65.  
  66. ****************************and run it again***************************
  67.  
  68. griff@jormungandr:~/nightly$ ./send-money.sh ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj 100689123456 3101 $(cat secret.key)
  69. ================Send Money=================
  70. DESTINATION_ADDRESS: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
  71. DESTINATION_AMOUNT: 100689123456
  72. REST_PORT: 3101
  73. SOURCE_SK: ed25519e_sk1fqv9h32jm4g47ly9vwf62dln25hy3fcpf777pqjgk5jcl6v7r324d5dwv9x8vay43tz8ux7rlxkq8ru8772y3murjqw4mwe7y4u6m8clnp7e2
  74. BLOCK0_HASH: 65a9b15f82619fffd5a7571fdbf973a18480e9acf1d2fddeb606ebb53ecca839
  75. FEE_CONSTANT: 200000
  76. FEE_COEFFICIENT: 100000
  77. ==================================================
  78. ## Sending 100689123456 to ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
  79. discrimination: testing
  80. account: 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. ---
  89. balance: 0
  90. fee: 400000
  91. input: 100689523456
  92. inputs:
  93. - account: 9d7247449fb68eb182833b7c01e79d2c1d1c6d4ea5faba4a5e20eec712ae1f33
  94. kind: account
  95. value: 100689523456
  96. num_inputs: 1
  97. num_outputs: 1
  98. num_witnesses: 1
  99. output: 100689123456
  100. outputs:
  101. - address: ca1s5l5jhw8c5tz060dam4hvsm5xklcp754e5svvsy5flgwkh508vw9qk8t5rj
  102. value: 100689123456
  103. sign_data_hash: 1ce131123f01d98a91828df8650c69629e3bc2047b71549df2325e4d317a2d40
  104. status: finalizing
  105. ##7. Finalize the transaction and send it
  106. a1bd9a4255c55695d02f92bc6deca7f4c60d13fd92ab1c54993189fe296e44a5
  107. ##8. Remove the temporary files
  108. ##Waiting for new block to be created (timeout = 200 blocks = 400s)
  109. New block was created - 3ba05f4e8e990948d48f6e3d6a36ff0cda921419dd8db2e7c23ece1ff4b2b8d4
  110. ##9. Check the account's balance
  111. ---
  112. counter: 5
  113. delegation:
  114. pools:
  115. - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
  116. - 1
  117. last_rewards:
  118. epoch: 0
  119. reward: 0
  120. value: 212341623456
  121. griff@jormungandr:~/nightly$ bal
  122. ---
  123. counter: 21
  124. delegation:
  125. pools:
  126. - - c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773
  127. - 1
  128. last_rewards:
  129. epoch: 0
  130. reward: 0
  131. value: 100689280260
Add Comment
Please, Sign In to add comment