-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
The script is getting all the frontiers (~14m accounts) then for each it does account_balance where the balance and pending are counted as the « real » balance of the account, then for every of the 14m it does account_history https://github.com/running-coder/nanolooker/blob/66cdaae3ab21daacd2d3ef43a7b7d7884d3d7b31/server/cron/distribution.js#L138 to get the last send / received transaction for the account https://docs.nano.org/commands/rpc-protocol/#account_history and then everything is calculated by month, so if last transaction was in feb, the account is dormant since march https://nanolooker.com/api/distribution it is to note that the script is not bullet proof and it is giving a general idea of the state, for example it takes 1.5h to run so if 10M nano was to change account during that time the data would sligltly be innacurate since it could calculate the same balance twice or miss it if the transfer timing coincide while its checking balances for all accounts