stakelink / substrate-payctl

Simple command line application to control the payouts of Substrate validators (Polkadot and Kusama among others).
MIT License
33 stars 8 forks source link

Support chains without batch extrinsic #23

Closed ptagl closed 4 months ago

ptagl commented 4 months ago

The previous version of the code only supported chains with the Batch extrinsic available to perform all the payouts with a single call.

This commit adds support also for chains without the Batch feature (Utility pallet).

Batching is used only if available, single extrinsics are created otherwise, one for each payout (validator|era).