Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for install #1

Open
sambacha opened this issue Aug 18, 2021 · 1 comment
Open

Documentation for install #1

sambacha opened this issue Aug 18, 2021 · 1 comment

Comments

@sambacha
Copy link
Owner

sambacha commented Aug 18, 2021

  1. Sign up for mongodb's managed service Atlas.

  2. Create a cluster with at least 50gb memory (30 if ur just experimenting).

  3. Copy the .env file and enter your information under ATLAS

  4. Aquire the necessary amount of RPC API keys. Yes even pokt, however you might he able to get away sticking a different provider. This is more to spread out your chances of getting rate limited (lol)

  5. Buy premium Etherscan API. You will get rate limited otherwise and you might find it useful idk.

6a. configure RPCs under the .env file

6b. npm run init-db

In a separate shell instance (or tmux or nohup) start these processes:

  1. init-common

  2. init-mempool

  3. init-txs

  4. Visit Blocknative.com and then realize they have exactly this fucking mempool explore with much richer and pretty GUI and not shitty mongodb.

  5. Cry havoc and let slip the bots of war.

@sambacha
Copy link
Owner Author

the link above filters

{ "status": "pending" } // pending state otherwise its not in the mempool
{ "baseFeePerGas": "<50", "_not": true } // baseFeePerGas no tx's under 50 plz
{ "type": { "gt": 0 } } // greater than 0, meaning non-legacy tx'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant