Add ADDRESS_FILE env docs

This commit is contained in:
Alex Coseru 2021-05-12 12:49:29 +03:00 committed by GitHub
parent 18854de767
commit 81c5ad782e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,6 +126,11 @@ cd ocean-subgraph
npm i
```
Let the components know where to pickup the smartcontract addresses:
```
export ADDRESS_FILE="${HOME}/.ocean/ocean-contracts/artifacts/address.json"
```
Generate the subgraph
```bash
npm run bargesetup