testnet-laconicd-stack/scripts
2024-08-14 20:36:46 +05:30
..
src Fetch all onboarding txs in a single query 2024-08-14 20:31:00 +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 Update instructions 2024-08-14 20:36:46 +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 >= v18.17.x

Instructions

  • Change to scripts dir:

    cd scripts
    
  • 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