For Chinese version please see README-zh.
BFMeta on-chain data analytics & monitoring suite with Angular/Ionic frontend and Koa backend; supports data import, metrics visualization, alerts, and multi-platform packaging.
- Configure
config/baseConfig.json: set super admin,mongoDb.user,mail; adjust ports; placeprivatekey.pemandcertificate.peminssl/when enabling HTTPS. - Start:
- Windows: double-click
godeyes.exe - Linux: run
./godeyesSuccess whenserver start!appears without errors.
- Windows: double-click
- Dev mode:
npm run start(frontend + backend) or runnpm run start:server/start:clientseparately. - Production build:
npm run prod:win/prod:linux; append:zipto create distributables. - Chain data import:
chainData/is auto-created after first run.- Export node data via
mongodump, zip the BSON/JSON folder, name itbnid_chainName_magic.zip(e.g.,c_bfchain_LE4EE.zip). - Place the zip into
chainData/; it will be deleted after import—keep your own backup.
- Keep front/back separation: business logic in Koa services; frontend components stay presentation/interaction focused (SRP/KISS).
- TS strict; avoid
any/@ts-ignore; share utilities inserver/commonor shared services to stay DRY. - Update frontend calls and bilingual copy when adding APIs/events; document important config in README or
confcomments. - Run
npm run build:serverandnpm run build:client; before committing, perform at least one minimalnpm run prodverification.