I'm getting an error "Undefined variable: fromAccount."
What can I put in the variable fromAccount?
Runned in Linux with php. What does the script do exactly? Getting extra batches? Changes the stake amount? Thanks for posting btw!
The label your address is identified with in the wallet. If you just remove it from the script all together it should grab the balance of your entire wallet.
That script splits your pennies into 50mil transactions to optimize stake acquisition, but it's basically useless now.