I am doing a research project at University. Since the accounts and public_keys for EOS change dynamically. Sites like this https://eostracker.io only display 20 accounts per page and it doesn't display public_keys along with account names. Is there a way to get the latest version of available account names/public_keys on EOS mainnet?
Best solution I can think of is running a mainnet node with
--plugin eosio::mongo_db_plugin to get all accounts in a mongo collection. However, by default, the public keys are not stored in the collection, so you'd have to use
$ cleos get account <account_name> to find all the keys associated with the account.
This is quite time/resources consuming, so I'd also be interested to read about more efficient solutions.
You can use this service which does this periodically for you: https://www.eossnapshots.io/