Skip to content

SPO Scripts 04-10-2023

Compare
Choose a tag to compare
@gitmachtl gitmachtl released this 04 Oct 18:34
· 23 commits to master since this release

New feature - Create Base- and Staking-Keys from Mnemonic words

Script 03a_genStakingPaymentAddr.sh has been updated to also provide the method mnemonics as an option. As shown in the screenshot below, its now possible to generate new Base(Payment)- and Staking-Keys directly from 24-word mnemonics. These mnemonics are compatible with the ones from other wallets like Daedalus, Eternl, Typhon, etc...

If no mnemonics are provided, new ones are automatically generated and stored along the key files in a separate *.payment.mnemonics file.

Also you can set another accountNumber or indexNumber for the derivation path if needed!

image


 

New feature - Sending Transaction-Messages (encrypted or unencrypted), attaching Metadata-Files in JSON/CBOR

Many scripts already supported the direct sending of Transaction-Messages. Along with this update, the option to include Transaction-Metadata via attached a JSON or CBOR file has also been added.

This update now enables this features for all scripts in the Suite that are capable of doing a transaction.

The newly enabled ones are:

  • 03b_regStakingAddrCert.sh
  • 05c_regStakepoolCert.sh
  • 05d_poolWitness.sh (Updated to show the metadata filenames)
  • 06_regDelegationCert.sh
  • 07b_deregStakepoolCert.sh
  • 08b_deregStakingAddrCert.sh

So you can now add a comment or an encrypted message or metadata to every transaction that is possible via the StakepoolOperatorScripts. Which is a great tool to improve documentation, end also enabled other features that requires metadata files being attached to certain transactions. Like adding a proof of Ownership to a Stakepool-Registration, etc...