Skip to content

Commit

Permalink
Merge pull request #28 from loreum-org/chore/deploy-sepolia
Browse files Browse the repository at this point in the history
Chore: Deploy Sepolia chamber subgraph
  • Loading branch information
xhad authored Apr 1, 2024
2 parents e07a9b5 + 6275001 commit f4011ba
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 600 deletions.
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

0 comments on commit f4011ba

Please sign in to comment.