-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump ignition version to 0.15.7
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
- Loading branch information
Showing
8 changed files
with
74 additions
and
50 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
24 changes: 7 additions & 17 deletions
24
...zon/ignition/configs/horizon.hardhat.json → ...on/ignition/configs/horizon.hardhat.json5
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
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
This file was deleted.
Oops, something went wrong.
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,13 +1,17 @@ | ||
# Sample Hardhat Project | ||
# 🌅 Subgraph Service 🌅 | ||
|
||
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract. | ||
The Subgraph Service is a data service designed to work with Graph Horizon that supports indexing subgraphs and serving queries to consumers. | ||
|
||
Try running some of the following tasks: | ||
## Deployment | ||
|
||
```shell | ||
npx hardhat help | ||
npx hardhat test | ||
REPORT_GAS=true npx hardhat test | ||
npx hardhat node | ||
npx hardhat run scripts/deploy.ts | ||
We use Hardhat Ignition to deploy the contracts. To build and deploy the Subgraph Service run the following commands: | ||
|
||
```bash | ||
yarn install | ||
yarn build | ||
npx hardhat run scripts/deploy.ts --network hardhat | ||
``` | ||
|
||
You can use any network defined in `hardhat.config.ts` by replacing `hardhat` with the network name. | ||
|
||
Note that this will deploy and configure Graph Horizon contracts as well as the Subgraph Service. |
4 changes: 3 additions & 1 deletion
4
...ion/configs/subgraph-service.hardhat.json → ...on/configs/subgraph-service.hardhat.json5
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
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
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