user_metrics/scripts/CosmosAddressGen
2023-05-30 13:36:53 -04:00
..
node_modules moving comsos address gen to it's own folder, and adding a readme 2023-05-30 13:30:18 -04:00
addresses.json moving comsos address gen to it's own folder, and adding a readme 2023-05-30 13:30:18 -04:00
cosmos_to_convert.csv moving comsos address gen to it's own folder, and adding a readme 2023-05-30 13:30:18 -04:00
generateIBCAddress.js supporting any type of address as input 2023-05-30 13:36:53 -04:00
package-lock.json moving comsos address gen to it's own folder, and adding a readme 2023-05-30 13:30:18 -04:00
package.json moving comsos address gen to it's own folder, and adding a readme 2023-05-30 13:30:18 -04:00
README.md moving comsos address gen to it's own folder, and adding a readme 2023-05-30 13:30:18 -04:00
test.csv moving comsos address gen to it's own folder, and adding a readme 2023-05-30 13:30:18 -04:00

Cosmos Address Generator

Setup

npm install

Usage

  1. Open generateIBCAddress.js and locate:
/*
 *
 * Set Filename here!
 * 
 */
const fileName = "test.csv";

(It's at the top of the file)

  1. update the variable fileName to be the name of your CSV file.

  2. Ensure the CSV file does not have " around each address, and each address is on a new line. Following CSV format, the first line of the file will be skipped so make sure there is a header line.

  3. Run node generateIBCAddress.js

  4. The output will be addresses.json