Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Deploy Sepolia chamber subgraph #28

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 7 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,15 @@
## Loreum Subgraphs

You will need to have a local docker engine running.

1. Open three terminals:

*terminal 1*

Start the docker stack.
```shell
# for intel machines
yarn intel
# for macs
yarn mac
```
NOTE: You should see blocks ticking on local evm

*terminal 2*

Compile and deploy the contracts in loreum-org/loreum-nft
```shell
yarn compile
yarn deploy:local
yarn cycle
```

*terminal 3*

Compile and deploy the subgraph
```shell
cd subgraphs/loreum-nft
yarn install
yarn build
yarn codegen
yarn build:local
yarn test
yarn create:local
yarn deploy:local
yarn format
yarn lint
```

NOTE: If your evm isn't ticking or functionality is off, you may need to prune your docker images:
`docker system prune --volumes`
| Release | Subgraph | URL |
| --------- | ------------------------- | ---------------------------------------------------------------------------|
| vX.X.X | loreum-registry-sepolia | https://api.studio.thegraph.com/query/67520/loreum-registry-sepolia/v0.0.2 |
Loading
Loading