Skip to content

Commit f9db913

Browse files
committed
README.md: fix startup description
1 parent efdbbda commit f9db913

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,18 @@ docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
159159
```
160160

161161
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+
164165
```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
166174
```
167175

168176
### Database schema migration

0 commit comments

Comments
 (0)