You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/pages/en/quick-start.mdx
+11-11
Original file line number
Diff line number
Diff line change
@@ -66,20 +66,20 @@ You can find commands for your specific subgraph on the subgraph page in [Subgra
66
66
67
67
When you initialize your subgraph, the CLI will ask you for the following information:
68
68
69
-
- Protocol: Choose the protocol your subgraph will be indexing data from.
70
-
- Subgraph slug: Create a name for your subgraph. Your subgraph slug is an identifier for your subgraph.
71
-
- Directory to create the subgraph in: Choose your local directory.
72
-
- Ethereum network (optional): You may need to specify which EVM-compatible network your subgraph will be indexing data from.
73
-
- Contract address: Locate the smart contract address you’d like to query data from.
74
-
- ABI: If the ABI is not auto-populated, you will need to input it manually as a JSON file.
75
-
- Start Block: You should input the start block to optimize subgraph indexing of blockchain data. Locate the start block by finding the block where your contract was deployed.
76
-
- Contract Name: Input the name of your contract.
77
-
- Index contract events as entities: It is suggested that you set this to true, as it will automatically add mappings to your subgraph for every emitted event.
78
-
- Add another contract (optional): You can add another contract.
69
+
-**Protocol**: Choose the protocol your subgraph will be indexing data from.
70
+
-**Subgraph slug**: Create a name for your subgraph. Your subgraph slug is an identifier for your subgraph.
71
+
-**Directory**: Choose a directory to create your subgraph in.
72
+
-**Ethereum network** (optional): You may need to specify which EVM-compatible network your subgraph will be indexing data from.
73
+
-**Contract address**: Locate the smart contract address you’d like to query data from.
74
+
-**ABI**: If the ABI is not auto-populated, you will need to input it manually as a JSON file.
75
+
-**Start Block**: You should input the start block to optimize subgraph indexing of blockchain data. Locate the start block by finding the block where your contract was deployed.
76
+
-**Contract Name**: Input the name of your contract.
77
+
-**Index contract events as entities**: It is suggested that you set this to true, as it will automatically add mappings to your subgraph for every emitted event.
78
+
-**Add another contract** (optional): You can add another contract.
79
79
80
80
See the following screenshot for an example for what to expect when initializing your subgraph:
0 commit comments