· 6 years ago · Nov 15, 2019, 07:32 PM
1##5. Send the signed Stake Pool certificate to the blockchain
2===============Send Certificate=================
3CERTIFICATE_PATH: stake_pool.cert
4REST_PORT: 3101
5ACCOUNT_SK: ed25519e_xxxx
6BLOCK0_HASH: 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29
7FEE_CONSTANT: 1000
8FEE_COEFFICIENT: 50
9FEE_CERTIFICATE: 10000
10==================================================
11 ##1. Create the offline transaction file
12 ##2. Add the Account to the transaction
13 ##3. Add the certificate to the transaction
14 ##4. Finalize the transaction
15 ##5. Make the witness
16 ##6. Add the witness to the transaction
17 ##7. Show the transaction info
18Transaction 211d8e397b6f9cad5a08e9a5ac2e12d03e1703c6586d549eaaaa4e29d20744e2 (finalizing)
19 Input: 11050
20 Output: 0
21 Fees: 11050
22 Balance: 0
23 - a9833b44377235d2ac9d636e43560ea9671ec549dc33b24146700d66c76a1093 11050
24 ##8. Finalize the transaction and send it to the blockchain
25failed to make a REST request
26 |-> node rejected request because of invalid parameters
27 |-> http://127.0.0.1:3101/api/v0/message: Client Error: 400 Bad Request
28 ##6. Retrieve your stake pool id (NodeId)
2950b1a094666dc5a601e7bad882e0f55eaa2feca994f9073378311e8c5b71918b
30The Node ID is: 50b1a094666dc5a601e7bad882e0f55eaa2feca994f9073378311e8c5b71918b
31 ##7. Creating the node_secret.yaml file
32
33ls -ltr
34total 38336
35-rw-rw-r-- 1 griff1 griff1 1142 Nov 15 01:19 node-config.yaml
36-rw-rw-r-- 1 griff1 griff1 122 Nov 15 01:19 secret.key
37-rw-rw-r-- 1 griff1 griff1 70 Nov 15 01:19 public.key
38-rw-rw-r-- 1 griff1 griff1 63 Nov 15 01:20 account.txt
39-rw------- 1 griff1 griff1 1149 Nov 15 01:39 node-config.yaml.save
40drwxrwxr-x 2 griff1 griff1 4096 Nov 15 01:42 storage
41-rwxrwxr-x 1 griff1 griff1 3187 Nov 15 01:58 createStakePool.sh
42-rwxrwxr-x 1 griff1 griff1 5373 Nov 15 01:59 send-certificate.sh
43-rw-rw-r-- 1 griff1 griff1 345 Nov 15 02:04 staging.15317.transaction
44-rw-rw-r-- 1 griff1 griff1 121 Nov 15 02:04 witness.secret.15317
45 -rw-rw-r-- 1 griff1 griff1 264 Nov 15 20:19 stake_pool.cert
46-rw-rw-r-- 1 griff1 griff1 121 Nov 15 20:19 witness.secret.20258
47-rw-rw-r-- 1 griff1 griff1 119 Nov 15 20:19 witness.out.20258
48-rw-rw-r-- 1 griff1 griff1 803 Nov 15 20:19 staging.20258.transaction
49-rw-rw-r-- 1 griff1 griff1 65 Nov 15 20:19 stake_pool.id
50-rw-rw-r-- 1 griff1 griff1 2147 Nov 15 20:19 node_secret.yaml
51-rw------- 1 griff1 griff1 39166919 Nov 15 20:21 nohup.out