A practical guide plus a script (iip59_onchain_migration.py) for delegates whose voter rewards are still paid by the legacy off-chain Hermes service and who want to switch to the protocol-native distribution introduced by IIP-59.
Not an official IoTeX document. The script is unaudited and comes with no warranty. Run
--checkand--dry-runfirst, and read the code before putting a real key into it. Facts below were checked againstiotex-corev2.5.x source and mainnet state in November 2026; verify anything that matters to you.
- Before: the delegate's reward address pointed at a Hermes vault. Hermes (a server holding keys) claimed the rewards daily and paid voters according to the percentages the delegate had published.
- IIP-59 (live on mainnet since the Zanzibar hard fork, block 53,533,081): the protocol itself splits each delegate's block/epoch rewards, accumulates the voter share per block, a