testnet-laconicd-stack/scripts
2024-08-14 20:10:36 +05:30
..
src Move NodeJS script files to sub directory 2024-08-14 20:10:36 +05:30
.env.example Move NodeJS script files to sub directory 2024-08-14 20:10:36 +05:30
.gitignore Move NodeJS script files to sub directory 2024-08-14 20:10:36 +05:30
.npmrc Move NodeJS script files to sub directory 2024-08-14 20:10:36 +05:30
package.json Move NodeJS script files to sub directory 2024-08-14 20:10:36 +05:30
README.md Move NodeJS script files to sub directory 2024-08-14 20:10:36 +05:30
tsconfig.json Move NodeJS script files to sub directory 2024-08-14 20:10:36 +05:30
yarn.lock Move NodeJS script files to sub directory 2024-08-14 20:10:36 +05:30

cli

Prerequisites

  • NodeJS - v20.16.0

Instructions

  • Install dependencies and build:

    yarn && yarn build
    
  • Create required env configuration:

    # Update the values as required
    # By default, live laconicd testnet (laconicd.laconic.com) endpoint is configured
    cp .env.example .env
    
  • Map subscribers to onboarded participants:

    yarn map-subscribers-to-participants --subscribers-csv <subscribers-csv-file> --output <output-csv-file>
    
    # Example:
    # yarn map-subscribers-to-participants --subscribers-csv subscribers.csv --output result.csv