Skip to content

Releases: gitmachtl/scripts

Update 2025-06 - Governance Updates

09 Jun 18:41
Compare
Choose a tag to compare

Updates

  • Added BulkVoting to script 24a by using the keyword 'all' for the action-id. You can use it like ./24a_genVote.sh myDrep all
    Sending multiple vote files can be done like ./24b_regVote.sh myDrep myWallet $(ls myDrep*.vote)

  • Script 24a now let you only vote on unexpired governance actions

  • Script 24a now shows the GovernanceAction Title while voting if available

  • Script 24a now puts the GovernanceAction Title also into the *.vote file as description

  • Script 24a now checks the content of the provided Anchor-URL/HASH voting metadata to be CIP100 conform

  • Script 24b now shows the Title of the Action for the choosen vote file

  • Script 24c can now handle the governance state 'NO CONFIDENCE' correctly

HotFix Update 2025-06 - Offline rewards claiming

07 Jun 08:45
Compare
Choose a tag to compare

HotFix

  • there was a bug in script 01_claimRewards.sh which caused an issue trying to claim rewards in offline mode. fixed with commit f237614

Update 2025-05 - cli10.9.0.0 and guardrails-script integration

16 May 14:55
Compare
Choose a tag to compare

Updates

  • a lot of changes to be compatible with cli 10.9.0.0
  • added offline calculation for guardrails plutus script execution costs
  • enabling of the governance action submit for treasury withdrawal and parameter change actions. which both require the precalculation of the execution costs
  • introduction of collateral utxo handling for script 25b_regAction.sh
  • renaming of CIP105 drep ids from regular to legacy
  • min. cli version is now 10.9.0.0
  • min. node version is now 10.3.1

Update 2025-04 - Calidus Pool Key Query & Signing

26 Mar 10:39
Compare
Choose a tag to compare

Calidus Pool-Key Update

image

UPDATE TO SCRIPT - 15_calidusPoolKey.sh

  • The newly introduced script 15 has now two new functions:

    • You can now QUERY your pool-id or your calidus id and calidus key
    • You can now simply SIGN a given text-message with your calidus key
Examples:
15_calidusPoolKey.sh query all
... to get all current calidus key registrations

15_calidusPoolKey.sh query mypool
15_calidusPoolKey.sh query pool1w83ux7vrwafrsuz044knxl9xxtr38q5jj2l3p28fl3g26faqqwg
... to get results for your selected pool

15_calidusPoolKey.sh query mycalidus
15_calidusPoolKey.sh query calidus15xcc3mphdwu8amrx9m6v9v4552pugr2gcsj4m8arjmx3zwc8yf8ng
... to get results for your selected calidus key

15_calidusPoolKey.sh sign myKey "hello world"
... to sign the message-text "hello world" with your calidus key

image
image

Update 2025-03 - Calidus Pool Key Generation/Registration

10 Mar 19:20
Compare
Choose a tag to compare

Calidus Pool-Key Edition

image

New SCRIPT - 15_calidusPoolKey.sh

  • A new script was added to the SPO Scripts collection, this new one covers the creation and registration of the new Calidus Pool-Key

  • The registration works for both, a cli-based pool-key and also a hw-wallet pool-key !

  • A query function will follow, because the APIs are currently in beta state

Example:

1) Generate yourself a Calidus KeyPair
$ 15_calidusPoolKey.sh new cli myKey

2) Generate the registration-metadata.json file
$ 15_calidusPoolKey.sh genmeta myKey myPool

3) Submit the metadata file in a transaction on chain
$ 01_sendLovelaces.sh wallet wallet min registration-metadata.json

image

image

Update 2025-02 - cli10.4.0.0 and enhanced stake-key queries

11 Feb 14:33
Compare
Choose a tag to compare

Whats new?

cardano-cli 10.4.0.0 introduced a breaking change in the stake-address-info query. this update addresses this update and also brings more query details and enhanced security for stakekey deregistration.

  • 00_common.sh // was updated to query govActionDeposits via koios in light mode. also the govAction query was refined to only return active proposals

  • 01_claimRewards.sh // shows more information about the stake-address: if there are rewards, if there is a pool delegation, if there is a drep delegation, if the stakeaddress is used in a governance action deposit. in conway era (protocolversion10) there is now a check that rewards can only be claimed if the address is delegated to a drep

  • 01_queryAddress.sh & 03c_checkStakingAddrOnChain.sh // shows more information about the stake-address: if there are rewards, if there is a pool delegation, if there is a drep delegation, if the stakeaddress is used in a governance action deposit. in case it is used in gov actions, a list of the actions will be listed

  • 08a_genStakingAddrRetireCert.sh // has now the same enhanced outputs about the stakeaddress as 01_queryAddress.sh. in order to protect funds, there is a double-check included if the stakeaddress is used as the deposit refund address in an ongoing governance action. if this is the case, the script will prevent the user from generating a stake-address-retirement certificate.

  • new minimum version of cardano-cli is now 10.4.0.0

  • new minimum version of cardano-signer is now 1.22.0 (needed for CIP8/30 witnesses in governance metadata)

  • cardano-signer binary was updated to v1.22.1

Screenshots

01_queryAddress.sh with enhanced details
image

08a_genStakingAddrRetireCert.sh from preventing the user to retire a stake-address while its used in governance action deposits
image

Update-2025-01 - Show CC names in action summaries

27 Jan 21:03
Compare
Choose a tag to compare

Whats new?

  • 00_common.sh includes now a list of CC-ColdHashes and there council names. This is included for Mainnet and PreProd-Testnet. The list is used to generate the CC-HotHashes list and there council names from the latest registration infos.

  • 24a_genVote.sh and 24c_queryVote.sh are now showing the names of CC members that have voted with there CC-Hot-Keys. The names appear in the YES, NO, ABSTAIN columns right below the counts.

image

  • The CC total voting power calculation has been optimized to actually count authorized and active CC members

  • ❗ cardano-cli version is currently limited to max. version 10.3.99, because most likely 10.4.0.0 will introduce a breaking change in the stake-address-info query output

SPO Scripts - Plomin Hardfork

15 Jan 09:36
Compare
Choose a tag to compare

SPO Scripts for Governance on Cardano MainNet

🔥 All scripts have been updated to work with node 10.1.4 and cli 10.2.0.0 🔥

Last changes:

  • More detailed output for the current voting results in both scripts (see attached image)

  • Pool-Default-Voting behavior via the Pool-Rewards-Account delegation is now taken into account for calculating correct voting results

  • Calculating AutoAbstain for inactive dRep-VotingPower is now taken into account for calculating correct voting results

  • Script 24c now also checks the content of the Action-AnchorURL

  • The script are now showing an "expired" notice if your KoiosAPI-Key is expired, which would cause query errors.

  • Node 10.1.4 is now the minimum version (Hotfix-Version)

  • CLI 10.2.0 is now the minimum version (adds needed queries)

  • Cardano-Signer binary updated to version 1.21.0

SPO Scripts - Governance for MainNet

01 Sep 12:37
Compare
Choose a tag to compare

SPO Scripts for Governance on Cardano MainNet

🔥 All scripts have been updated to work with node 9.1.0 and cli 9.3.0.0 🔥

A detailed release-log will follow, but here are some of the added scripts:

  • 21a_genDRepKeys.sh
  • 21b_regDRepCert.sh
  • 21c_checkDRepOnChain.sh
  • 21d_retDRepCert.sh
  • 22a_genVoteDelegCert.sh
  • 22b_regVoteDelegCert.sh
  • 23a_genComColdKeys.sh
  • 23b_genComHotKeys.sh
  • 23c_regComAuthCert.sh
  • 23d_checkComOnChain.sh
  • 23e_retComColdKeys.sh
  • 24a_genVote.sh
  • 24b_regVote.sh
  • 24c_queryVote.sh
  • 25a_genAction.sh
  • 25b_regAction.sh

Cardano-signer is now v1.18.0 to support Governance-Metadata verification on the fly

SPO Scripts for Node 9.0.0 (Mainnet)

14 Jul 08:42
Compare
Choose a tag to compare

SPO Scripts for node 9.0.0 & cli 9.0.0.0 on Mainnet

🔥 All scripts have been updated to work with node 9.0.0 and cli 9.0.0.0 🔥

❗ NOTICE-1: For Ledger HW-Wallet users, at the time of the commit, the Cardano-App 7.1.x for Ledger release was still pending. However, you can load it anyway via Ledger-Live by going into the Settings -> Experimental Features -> My Ledger Provider = 3. This will give you the opportunity to load Cardano-App 7.1.0.

❗ NOTICE-2: This commit is only a subset of updated scripts for conway era. The governance scripts (starting with 2*.sh) will be published into the mainnet folder once the light-mode is also working with koios support.

Some of the changes:

  • Min. Node- and CLI-Version is now 9.0.0

  • The requirement for 'curl' is removed in offline-mode

  • The currentEpoch offline calculation was corrected to support unusual byron-era epoch/slot lengths

  • The currentSlot/Tip offline calculation was corrected to support unusual byron-era epoch/slot lengths

  • Parameter Support added for .coinsPerUTxOByte

  • Added offline support for governance

  • 01_clainRewards.sh updated fee calculation

  • 01_protectKey.sh can encrypt/decrypt DRep and CC-Hot/CC-Cold keys

  • 01_queryAddress.sh now shows a DRep delegation for stake accounts

  • 01_sendAssets.sh updated fee calculation

  • 01_sendLovelaves.sh updated fee calculation

  • 01_workOffline.sh now supports DRep entries and takes care of last action IDs and the constitution values

  • 03b_regStakingAddrCert.sh now also signs the tx with the staking.skey, thats a new requirement for conway-era

  • 03c_checkStakingAddrOnChain.sh now also shows a DRep delegation

  • 04e_checkNodeOpCert.sh added errorcheck for onDiekKESStart

  • 05c_regStakepoolCert.sh enhanced error message if there is no xxx.pool.json file present

  • 05c_regStakepoolCert.sh updated fee calculation

  • 06_regDelegationCert.sh updated fee calculation

  • 07b_deregStakepoolCert.sh updated fee calculation

  • 08b_deregStakingAddrCert.sh udpated fee calculation

  • 09a_catalystVoteF10.sh was removed, the normal 09a_catalystVote.sh can be used

  • 11a_mintAsset.sh updated fee calculation

  • 11b_burnAsset.sh updated fee calculation

  • 12b_checkAssetMetaServer.sh better error handling if there was no data found on the metadata server

  • 13a_spoPoll.sh and 13b_sendSpoPoll.sh was removed, will be done via governance info-actions in the future

  • cardano-signer version bumped to v1.16.1

  • README.md updated with the new minimum versions