Tags: gitmachtl/scripts
Tags
Update 2025-04 - Calidus Pool Key Query & Signing Updated 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 * You can now simply sign via ed25519 signing method 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
Update 2025-03 - Calidus Pool Key Generation/Registration 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 ! Example: 15_calidusPoolKey.sh new cli myKey ... generates a new Calidus Key for you 15_calidusPoolKey.sh genmeta myKey myPool ... generates the registration metadata JSON file for you 01_sendLovelaces.sh wallet wallet min registration-metadata.json ... submits it on chain - A query functino will follow, because the APIs are currently in beta state
Update 2025-02 - cli10.4.0 and enhanced stake-key queries About this update: 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
Update 2025-01 - Add CC names in action summaries - 00_common.sh now includes a likst of CC-ColdHashes and there council names. This is set for Mainnet and PreProd-Testnet - 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. - 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. 10.3.99, because most likely 10.4.0.0 will introduce a breaking change in the stake-address-info query output
Governance-Update / CLI 10.2.0 / More accurate voting results - Multiple changes to scripts 24a_genVote.sh and 24c_queryVote.sh: * Pool-DefaultVoting 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 - Node 10.1.4 is now the minimum version (Hotfix-Version) - CLI 10.2.0 is now the minimum version (adds needed queries)
governance for mainnet Adding all governance related scripts to the mainnet folder: - 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 v1.18.0 detailed release change will follow
Mainnet Conway - node 9.0.0 # Mainnet Release for Conway-Era and Cardano-Node 9.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 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
node 9.0.0 release for testnet All scripts updated to work with node 9.0.0 and cli 9.0.0.0 Detailed changelog will follow with the mainnet release
New release: Light-Mode, Sub-Handle and Virtual-Handle, Conway-Era Rendered Release-Notes: https://github.com/gitmachtl/scripts/releases/tag/Light-Mode ## New Feature - LIGHT-Mode, running the SPO Scripts without a local node This is an exciting new feature in the SPO Scripts. Before we had two operational modes, Online-Mode and Offline-Mode. Now we have an additional one, the Light-Mode. So whats this Light-Mode? If you switch the scripts into Light-Mode - see below how easy it is to do so - you have the advantage of being online with your machine, but you don't need a running synced cardano-node. You can switch between Networks Mainnet, PreProd and PreView within seconds. This comes is handy if you just don't want to install and run a cardano-node, if you don't have the space for the database or if you just don't have the time to wait for a resync. All transactions are of course generated and signed locally, but the queries and the transmit is done via online APIs like Koios. How do you switch between Online-, Light- and Offline-Mode? Thats simple, you just change a single entry in the 00_common.sh, common.inc or $HOME/.common.inc config-file: image workMode="online": Scripts are working in Online-Mode aka Full-Mode. A locally running and synced cardano-node is needed. workMode="light": Scripts are working in Light-Mode. No cardano-node needed. workMode="offline": Scripts are working in isolation and completely offline. No cardano-node needed. You can do ALL OPERATIONS in Light-Mode now! ?? Currently supported Chains are Mainnet, PreProd and PreView. You can switch between chains in seconds, and if you put a different common.inc file into your folders, you can run them all in parallel too. I also wanna thank Holger from Cardano24, because i am hosting the Online-Version of the Protocol-Parameters JSON files on his distributed Server-Platform uptime.live, thank you! The JSON files are updates every 10 mins to make them available in Light-Mode. If you have an Online/Offline Workflow, you can use the Online machine in Light-Mode, and your Offline machine is still offline of course. ## New Feature - $Sub-Handle & $Virtual-Handle support for $Adahandles ?? Complete support for the upcoming Sub-Handle and Virtual-Handle release. All scripts than can use Adahandles for queries and destinations are upgraded to support these additional formats. As always, the scripts doing a second lookup if the Handles are really on the UTXOs that the APIs report. For the Virtual-Handles the Scripts are doing an extra Koios request to checkout the Inline-Datum content of the UTXO holding the Virtual-Handle. Virtual-Handles store the destination address within the Inline-Datum. Also there has been an Update to show all the different types of Adahandles in the Query, like ADA Handle for the original CIP-25 one, Ada Handle(Own) for the new CIP68 ones. Ada Handle(Ref) and Ada Handle(Virt) for the newest formats. ## Improvements to the Online-Mode (aka Full-Mode) Critical queries now always do a check if the local node is 100% synced with the chain before continuation. ## Improvements to the Offline-Mode In Offline-Mode the header on each Script Call now shows your local machine time. This is really important if you are doing things like an OpCert-Update to generate the right KES period. So now you can do an easy check if the time on your Offline-Machine is correct NativeAsset Token-Registry Information also in Offline-Mode. To get the UTXO data of an address you wanna use in Offline-Mode you are using the command ./01_workOffline.sh add <walletname>. This query - if enabled in the config - now also stores the Token-Registry information about NativeAssets on this address within the offlineTransfer.json file. ## General updates The SPO Scripts are now fully Conway-Era compatible!! 01_claimRewards.sh, 01_queryAddress.sh are now showing if the Stake-Address is delegated to a pool. If so it tries to show additional pool-informations like the Ticker, Description and the current Pool-Status 03a_genStakingPaymentAddr.sh: The generation of the Stake-Address registration certificate has been moved to be done within 03b_regStakingAddrCert.sh. This is a change for conway-era, because we now have to check the StakeAdress-Registration Deposit-Fee also for the deregistration. The Deposit-Fee can change after a registration has been done, so with conway-era the used amount is now stored within the certificate itself. If the StakeAddress is already registered on chain, the Script will tell you that and if also delegated to a Pool, it wil try to show you additional informations. 03c_checkStakingAddrOnChain.sh now also shows the used Deposit-Fee of a registered Stake-Address. If delegated to a pool, it tries to show additional Informations. image 04d_genNodeOpCert.sh now directly ready out the onDisKOpCertCount from the via an own new CBOR-Decode function to provide checking information in Light-Mode. 04e_checkNodeOpCert.sh now ready out the onDiscOpCertCount and the onDiskKESSStart values for checking in Online- and Light-Mode 05a_genStakepoolCert.sh now shows the set poolPledge also in ADA and not only in lovecase. Shows minPoolCost now also in ADA and not only in lovelaces. Shows the poolMargin now in percentage and not as decimal value. 05c_regStakepoolCert.sh now shows the set poolPledge also in ADA and not only in lovecase. Shows minPoolCost now also in ADA and not only in lovelaces. Shows the poolMargin now in percentage and not as decimal value. A pool update/registration/retirement of course now also works in Light-Mode: image If there are external Witnesses (MultiOwnerPool) and the registration is done with an attached Metadata-JSON/CBOR, that information is now also stored to be represented in the external witness file. 05e_checkPoolOnChain.sh now gives you detailed informations about the current pool-status. You can of course also use a pool-id in bech or hex to query this information with this script. 06_regDelegationCert.sh now checks the pool status you wanna send the delegation before continue with the transaction. If a pool is retired or was not registered on the chain(yet), such a transaction would let to an error. This precheck avoids this issue. In addition there is now a check that the Stake-Address is already registered on chain. Also, it now shows information about a current delegation and the planned delegation. The script directly reads out the delegation destination pool-id from the delegation certificate to show this information. 08a_genStakingAddrRetireCert.shnow checks if the Stake-Address is even registered before generating the Retirement-Certificate. Also now important, it checks the Deposit-Fee that was used to register the Stake-Address in first place. Because we need to use the exact Fee again to retire the Stake-Address. There is now also a check if the Stake-Address you wanna retire still holds rewards. If the Stake-Address still hold rewards, it will show you the amount and refuse to generate a Retirement certificate. In that case please first claim all your rewards via 01_claimRewards.sh and after that retire the Stake-Address. 08b_deregStakingAddrCert.shnow again checks the current Stake-Address status on chain and a possible active delegation. Just to make sure you're retireing the right Stake-Address. It also now directly reads out the used Stake-Address Deposit-Fee to calculate the balance return correctly. Many additional updates here and there for better request handling via curl, better error checks, etc ... Please enjoy this huge update and especially the new Light-Mode!!
New features - Mnemonic wallet, Messages, Metadata Generating Base/Staking-Keys with/from Mnemonics has been added to the script: - 03a_genStakingPaymentAddr.sh So you can now generate a set of Base(Payment)- and Staking-Keys derived from 24-Word Mnemonics. If Mnemonics are provided they are used, otherwise new ones are created. This makes it easier to use keys across the CLI and other wallets like Daedalus, Eternl, Typhoon, ... --- Sending transaction messages including the option to encrypt the messages (CIP-0083) has been added to the following scripts: - 03b_regStakingAddrCert.sh - 05c_regStakepoolCert.sh - 05d_poolWitness.sh - 06_regDelegationCert.sh - 07b_deregStakepoolCert.sh - 08b_deregStakingAddrCert.sh --- Attaching transaction metadata as *.json and *.cbor file has been added to the following scripts: - 03b_regStakingAddrCert.sh - 05c_regStakepoolCert.sh - 05d_poolWitness.sh - 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.
PreviousNext