· 5 years ago · Dec 12, 2019, 02:42 AM
1griff0@jormungandr:~/nightly$ ./delegate-account.sh c61cb6a5b79df0eb7b0ed3e8e5b9d048fe45bb0d6822b45b7912132af850c773 3101 $(cat secret.key)
2================DELEGATE ACCOUNT=================
3REST_PORT: 3101
4ACCOUNT_SK: ed25519e_sk1kzxjsqx3dw36rap8nm7r2lagf7r5alwsw2ahz3dzyn6h2af8yed0ctsxyf98lry8z95l6t34e555q53fy85dhjfaunlj4cpkeqv4plqp9xpwz
5BLOCK0_HASH: 65a9b15f82619fffd5a7571fdbf973a18480e9acf1d2fddeb606ebb53ecca839
6FEE_CONSTANT: 200000
7FEE_COEFFICIENT: 100000
8FEE_CERTIFICATE: 400000
9==================================================
10 ##1. Create the delegation certificate for the Account address
11 ##2. Create the offline delegation transaction for the Account address
12 ##3. Add input account to the transaction
13 ##4. Add the certificate to the transaction
14 ##5. Finalize the transaction
15DEPRECATED: use 'data-for-witness' instead
16 ##6. Create the withness
17 ##7. Add the witness to the transaction
18 ##8. Show the transaction info
19---
20balance: 0
21fee: 700000
22input: 700000
23inputs:
24 - account: 3f495dc7c51627e9edeeeb76437435bf80fa95cd20c640944fd0eb5e8f3b1c50
25 kind: account
26 value: 700000
27num_inputs: 1
28num_outputs: 0
29num_witnesses: 1
30output: 0
31outputs: []
32sign_data_hash: be571bf475d9d588c37bc984c67c54d283dcd44d755ac68110caa3ea96936cb1
33status: finalizing
34 ##9. Finalize the transaction and send it to the blockchain
354947e639b40488bd58372b2b39608417db164c10533ece72468af6fe9f4c3cf5
36 ##Waiting for new block to be created (timeout = 200 blocks = 400s)
37New block was created - 6c93453084a613ff6707c014f2a76002435a180226174acb4aec670826661a41
38 ##10. Check the account's delegation status
39---
40counter: 4
41delegation:
42 pools:
43 - - 19e3a8e5f2fd42d4be5b99765485766a8cfae35fa3b3b1127616e01839eacd23
44 - 1
45last_rewards:
46 epoch: 0
47 reward: 0
48value: 212342323456