Subgraph Initialization from Factory Contract
- INDEXERS
Can I automatically create a subgraph for a newly created smart contract through a factory?
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.