You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use any network defined in `hardhat.config.ts` by replacing `hardhat` with the network name.
17
+
You can use any network defined in `hardhat.config.ts` by replacing `hardhat` with the network name.
18
+
19
+
Note that this will deploy a standalone version of Graph Horizon contracts, meaning the Subgraph Service or any other data service will not be deployed. If you want to deploy the Subgraph Service please refer to the [Subgraph Service README](../subgraph-service/README.md) for deploy instructions.
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.
3
+
The Subgraph Service is a data service designed to work with Graph Horizon that supports indexing subgraphs and serving queries to consumers.
4
4
5
-
Try running some of the following tasks:
5
+
## Deployment
6
6
7
-
```shell
8
-
npx hardhat help
9
-
npx hardhat test
10
-
REPORT_GAS=true npx hardhat test
11
-
npx hardhat node
12
-
npx hardhat run scripts/deploy.ts
7
+
We use Hardhat Ignition to deploy the contracts. To build and deploy the Subgraph Service run the following commands:
8
+
9
+
```bash
10
+
yarn install
11
+
yarn build
12
+
npx hardhat run scripts/deploy.ts --network hardhat
13
13
```
14
+
15
+
You can use any network defined in `hardhat.config.ts` by replacing `hardhat` with the network name.
16
+
17
+
Note that this will deploy and configure Graph Horizon contracts as well as the Subgraph Service.
0 commit comments