sweep the balance of all address you own (on testnet)
all the scripts I push up will use accounts.json formatted like this (there would be a template):
{
"accounts": [
{
"address": "0x123",
"privateKey": "0x123",
},
{
"address": "0x456",
"privateKey": "0x456",
}
...
]
}
yarn install // install dependencies(or npm install)
node sweep // run script
when you run the script, you would see the cli like this:
Ξ Receipt Account: 1
Ξ Choose the network (Use arrow keys)
> homestead
rinkeby
ropsten
kovan
goerli
just follow the lead, type in your recipt account (recieve all ETH sweeped), and choose the testnet.