Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##5. Send the signed Stake Pool certificate to the blockchain
- ===============Send Certificate=================
- CERTIFICATE_PATH: stake_pool.cert
- REST_PORT: 3101
- ACCOUNT_SK: ed25519e_xxxx
- BLOCK0_HASH: 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29
- FEE_CONSTANT: 1000
- FEE_COEFFICIENT: 50
- FEE_CERTIFICATE: 10000
- ==================================================
- ##1. Create the offline transaction file
- ##2. Add the Account to the transaction
- ##3. Add the certificate to the transaction
- ##4. Finalize the transaction
- ##5. Make the witness
- ##6. Add the witness to the transaction
- ##7. Show the transaction info
- Transaction 211d8e397b6f9cad5a08e9a5ac2e12d03e1703c6586d549eaaaa4e29d20744e2 (finalizing)
- Input: 11050
- Output: 0
- Fees: 11050
- Balance: 0
- - a9833b44377235d2ac9d636e43560ea9671ec549dc33b24146700d66c76a1093 11050
- ##8. Finalize the transaction and send it to the blockchain
- failed to make a REST request
- |-> node rejected request because of invalid parameters
- |-> http://127.0.0.1:3101/api/v0/message: Client Error: 400 Bad Request
- ##6. Retrieve your stake pool id (NodeId)
- 50b1a094666dc5a601e7bad882e0f55eaa2feca994f9073378311e8c5b71918b
- The Node ID is: 50b1a094666dc5a601e7bad882e0f55eaa2feca994f9073378311e8c5b71918b
- ##7. Creating the node_secret.yaml file
- ls -ltr
- total 38336
- -rw-rw-r-- 1 griff1 griff1 1142 Nov 15 01:19 node-config.yaml
- -rw-rw-r-- 1 griff1 griff1 122 Nov 15 01:19 secret.key
- -rw-rw-r-- 1 griff1 griff1 70 Nov 15 01:19 public.key
- -rw-rw-r-- 1 griff1 griff1 63 Nov 15 01:20 account.txt
- -rw------- 1 griff1 griff1 1149 Nov 15 01:39 node-config.yaml.save
- drwxrwxr-x 2 griff1 griff1 4096 Nov 15 01:42 storage
- -rwxrwxr-x 1 griff1 griff1 3187 Nov 15 01:58 createStakePool.sh
- -rwxrwxr-x 1 griff1 griff1 5373 Nov 15 01:59 send-certificate.sh
- -rw-rw-r-- 1 griff1 griff1 345 Nov 15 02:04 staging.15317.transaction
- -rw-rw-r-- 1 griff1 griff1 121 Nov 15 02:04 witness.secret.15317
- -rw-rw-r-- 1 griff1 griff1 264 Nov 15 20:19 stake_pool.cert
- -rw-rw-r-- 1 griff1 griff1 121 Nov 15 20:19 witness.secret.20258
- -rw-rw-r-- 1 griff1 griff1 119 Nov 15 20:19 witness.out.20258
- -rw-rw-r-- 1 griff1 griff1 803 Nov 15 20:19 staging.20258.transaction
- -rw-rw-r-- 1 griff1 griff1 65 Nov 15 20:19 stake_pool.id
- -rw-rw-r-- 1 griff1 griff1 2147 Nov 15 20:19 node_secret.yaml
- -rw------- 1 griff1 griff1 39166919 Nov 15 20:21 nohup.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement