This tool sends funds from a given Polkadot/Kusama account to two rewards destinations defined by the split in the config.
- Copy
sample.config.yaml
tomain.yaml
and update the values - Export a Polkadot.js.org Wallet to json and store it under
config/wallet.json
- Build the script using
yarn install && yarn build
(only needed once or when you change it) - Run the script using
yarn start
- To send funds on Kusama, just change the
end_point
entry towss://kusama-rpc.polkadot.io