Skip to content

INDEXER_AGENT_NETWORK_SUBGRAPH_ENDPOINT #45

Open

Description

@ThomasBlock

Thank you for this project. Setting up a node is very easy.

just one undocumented change: in the .env file we need now to enter a custom
INDEXER_AGENT_NETWORK_SUBGRAPH_ENDPOINT

As described here
https://github.com/graphprotocol/indexer/blob/main/docs/networks/arbitrum-one.md

this needs an api key from
https://thegraph.com/studio/apikeys/

Activity

  1. payne0420 commented on Oct 25, 2024

    @payne0420
    Member

    Hi @ThomasBlock, yeah, I'm yet to update the mainnet repo to be on par with the Testnet repo, aiming for this weekend 🫡
    Gonna close this issue after I'm done with all the changes.

  2. ThomasBlock commented on Oct 26, 2024

    @ThomasBlock
    ContributorAuthor

    great. one more warning to my solution:
    maybe its because i used a dummy operator seed phrase.. but the agent fired 100.000 api calls in the first day. this would be quite expensive. so the quick fix for me is
    docker-compose -f compose-indexer.yml stop indexer-agent

    and only start it when neccessay.

  3. payne0420 commented on Oct 26, 2024

    @payne0420
    Member

    It's totally normal. You won't be able to use the free tier with the agent/service connected to the network subgraph and ebo. Your $200 cost per month seems a good ballpark, but could be higher.
    One way around this would be to disable the indexer-agent every time you are done reallocating.

  4. ThomasBlock commented on Oct 26, 2024

    @ThomasBlock
    ContributorAuthor

    okay.. but automatic reallocations can be handy sometimes.. is there a way to reduce the requests, like check only every 6 hours?

  5. payne0420 commented on Oct 26, 2024

    @payne0420
    Member

    As far as I'm aware, there's no way to rate limit it.

  6. ThomasBlock commented on Oct 29, 2024

    @ThomasBlock
    ContributorAuthor

    Querys cant be completed, the following is also missing in the .env
    INDEXER_SERVICE_NETWORK_SUBGRAPH_ENDPOINT="$INDEXER_AGENT_NETWORK_SUBGRAPH_ENDPOINT"

  7. payne0420 commented on Oct 29, 2024

    @payne0420
    Member

    Like I said, the mainnet repo is not updated yet. I'm working on it.
    It will come with super cool updates.
    The testnet repo is almost ready.

  8. ThomasBlock commented on Oct 29, 2024

    @ThomasBlock
    ContributorAuthor

    no worries, this is not a request, i just write down documentation before i forget it.
    certainly looking foreward to cool updates :) i will be the first to test it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions