Prathamesh Musale
98e882bf28
Part of [laconicd testnet validator enrollment](cerc-io/testnet-laconicd-stack#19) Requires cerc-io/laconicd#53 and cerc-io/fixturenet-laconicd-stack#13 Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Reviewed-on: cerc-io/testnet-laconicd-stack#23 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com> |
||
---|---|---|
.. | ||
src | ||
.env.example | ||
.gitignore | ||
.npmrc | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
scripts
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-$(date +"%Y-%m-%d%Y%m%d").csv