SPO Scripts 06-05-2023
Update for the SPO Poll
Two new scripts have been added to the testnet folder on the repo.
- Script 13a_spoPoll.sh:
Simply run this script with a given txHash for the question transaction in your SPO Scripts env. This pulls the metadata via koios, presents the question, collects your answer and generates a cbor-file for transmission. The script does NOT REQUIRE to update to a newer cardano-cli version, your current 1.35.7 is ok. Because all the cbor generation, question handling is done within the script itself, no cardano-cli call.
- Script 13b_sendSpoPoll.sh:
This is an updated version of the normal 01_sendLovelaces.sh script, it simply allows you to specify your poolFile as the 4th parameter. So you can sign the transaction with the cbor-file attached also with your mypool.node.skey file. You can also do the payment with a HW-Wallet if you want.
Please do some testing, so tool providers have some data to work with. For the current test simply setup your env for PreProd chain and run script 13a like:
./13a_spoPoll.sh d8c1b1d871a27d74fbddfa16d28ce38288411a75c5d3561bb74066bcd54689e2
A test-poll dashboard for the PreProd-Chain is available here:
https://adastat.net/polls/62c6be72bdf0b5b16e37e4f55cf87e46bd1281ee358b25b8006358bf25e71798