mkdir ./keys
touch ./keys/staking_exproler.json
node ./db_utils/db.js
developer:
npm run start:watch
production:
npm run build
npm run prod
npm run serve
npm run db-reset -- -n [ostn|pstn|stn] (-y)
-n: required. network indicator. Allowed values: ostn, pstn, stn
-y: optional. If present, auto-confirms db delete process. Used for auto-recovery during hard reset.
npm run deploy -- [dev|prod] (-y)
1st arg: required. project target. Allowed values: dev, prod
-y: optional. If present, auto-confirms db delete process. Used for auto-recovery during hard reset.
- Go to mock-data/networks.js and edit the table.
- node db.js to update the networks table in firebase
- staking-explorer2-268108
npm run deploy -- prod (-y)
will deploy the current project.