This script takes a list of Polkadot/Kusama addresses from an input text file, converts them to any of both formats, and stores them into an output text file.
git clone [email protected]:andresmechali/addresses-converter.git
cd addresses-converter
yarn install
address1
address2
...
addressN
yarn dev --format kusama
The converted addresses will now be available in output.txt
. This will override the previous content of this file.
yarn dev --input custom-input.txt --output custom-output.txt --format polkadot