-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from loreum-org/chore/deploy-sepolia
Chore: Deploy Sepolia chamber subgraph
- Loading branch information
Showing
3 changed files
with
110 additions
and
600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
Oops, something went wrong.