aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/migrate.py
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-14 12:36:43 -0700
committerAdam Soltys <[email protected]>2026-06-17 07:47:48 -0700
commit33de17fa10e4fc7f44456cfbb3152fd16c86a567 (patch)
tree7c57aa4e71892ec620bdee8ad51ef7c2b073e63b /scripts/migrate.py
parent51847c5e05ad70e936fd374e01e62e0e4b5e3c72 (diff)
downloadcoinos-server-33de17fa10e4fc7f44456cfbb3152fd16c86a567.tar.gz
coinos-server-33de17fa10e4fc7f44456cfbb3152fd16c86a567.zip
analytics: monthly insight reports + signup instrumentation
Port of master 183a3cb0 + 3db24424. scripts/analytics.ts streams live db (SCAN, never KEYS) and reports a trailing window: MAU/WAU, new users, custody total + top holders, network volume by type, most-active/highest- volume users, bolt12 recipients; --csv flag for month-over-month trends. scripts/analytics-geo.ts reports top countries from the request log. lib/register.ts stamps `created` and stores `country` on new users so reports get signup timing/geography from the db directly. Note: these scripts were written against the master stack; on staging balances live in TigerBeetle, so custody/holder figures may need the balance source adjusted from the Redis balance: keys. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'scripts/migrate.py')
0 files changed, 0 insertions, 0 deletions