Sitemap
Southtyrol Pool - SUDTI

Southtyrol Pool - SUDTI

Cardano staking Pool from Southtyrol

Automatic Payment Script

2 min readNov 22, 2023
Press enter or click to view image in full size

The Southtyol Pool created a automatic payment script for the special reward payments. We want in this article great a easy description to understand what the script is exactly doing.

  1. Epoch Check: The script begins by determining the current epoch on the Cardano blockchain

2. Condition for Payment Execution:The script checks if the last processed epoch is different from the current epoch.

Get Southtyrol Pool - SUDTI’s stories in your inbox

Join Medium for free to get updates from this writer.

If there is a change in the epoch, the script proceeds to check if the stake pool. minted any blocks in the last epoch.

Press enter or click to view image in full size

3. Payment Trigger :If the stake pool minted blocks in the last epoch, the script assumes that rewards are to be distributed and proceeds with the payment process.

The script then re-checks the stake address delegation status to confirm the recipients and amounts. So if a delegator change pool it will get no rewards anymore.

4. Transaction Build and Submission: constructs a transaction, signs it, and submits it to the Cardano network.

5. Timing: The script will only initiate a payment if a new epoch is detected and if the pool minted blocks in the previous epoch.

--

--

Southtyrol Pool - SUDTI
Southtyrol Pool - SUDTI

Written by Southtyrol Pool - SUDTI

0 followers

Cardano staking Pool from Southtyrol