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

Question: How to authenticate Infura API? #2

Open
crazyoptimist opened this issue Jun 28, 2021 · 1 comment
Open

Question: How to authenticate Infura API? #2

crazyoptimist opened this issue Jun 28, 2021 · 1 comment

Comments

@crazyoptimist
Copy link

crazyoptimist commented Jun 28, 2021

Here is our config.json file:

{
  "dbpath": "./db/store.sqlite",
  "infura": "https://mainnet.infura.io/v3/our-project-id",
  "tokens": [
    {
      "symbol": "WPSL",
      "contract": "0xc775c0c30840cb9f51e21061b054ebf1a00acc29",
      "scanFrom": 12244106,
      "interval" : 100
    }
  ]
}

There is no place to put infura project secret(maybe a dumb question), and I get zero results when I query for this info by:
/wpsl/0xc775c0c30840cb9f51e21061b054ebf1a00acc29/to/0x2d67F3906E325EdE331FE8a156ECe7Fc84Dd7Cf9

Please advice if I'm missing something above.
Thanks!

@crazyoptimist
Copy link
Author

crazyoptimist commented Jun 29, 2021

Found out that symbol should be uppercase, and it works now, but still want to get an answer for the above question, about secret.
Thanks

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