File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -159,10 +159,18 @@ docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
159
159
```
160
160
161
161
To run Anton, you need at least one defined contract interface.
162
- There are some known interfaces in the [ abi/known] ( /abi/known ) directory.
163
- You can add them through this command:
162
+ You can find some known interfaces in the [ abi/known] ( /abi/known ) directory.
163
+ These can be added during the initial startup of the indexer:
164
+
164
165
``` shell
165
- docker compose exec rescan sh -c " anton contract addInterfaces /var/anton/known/*.json"
166
+ # If you are running the indexer without Docker,
167
+ # you need to specify the directory containing the known contracts:
168
+ anton indexer --contract-dir /root/anton/abi/known
169
+
170
+ # If you are running it using Docker,
171
+ # there is no need to specify the contracts directory,
172
+ # as they are already included in the container:
173
+ docker compose up -d indexer
166
174
```
167
175
168
176
### Database schema migration
You can’t perform that action at this time.
0 commit comments