The Graph.
Log in

Subgraph Initialization from Factory Contract

Discussion
  • INDEXERS

Can I automatically create a subgraph for a newly created smart contract through a factory?

Add comment

Answers1

The command at the bottom of that page contains the command. To index the implementation of a proxy, you should initialize your subgraph (graph init) along with that flag (--from-contract) and make the address your implementation address.

Add comment

Do you know the answer?

Please log in and share it.

Log in