Skip to content

Commit

Permalink
readme and abi mappings updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiacodes committed Sep 14, 2021
1 parent 59df3e8 commit 2120928
Show file tree
Hide file tree
Showing 6 changed files with 7,449 additions and 317 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
## Subgraph Setup

To get started install the dependencies and compile the contracts:

```
npm ci && npm run compile
```

Then, you'll need to generate and build the source files:

```
graph codegen && graph build
```

You need to install Graph CLI with either npm or yarn.

> Note: You need version 0.21.0 or above
Expand Down
9 changes: 5 additions & 4 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { config as dotenvConfig } from "dotenv";
import { resolve } from "path";
dotenvConfig({ path: resolve(__dirname, "../.env") });
dotenvConfig({ path: resolve(__dirname, ".env") });

import "@nomiclabs/hardhat-waffle";
import "hardhat-typechain";
Expand Down Expand Up @@ -44,9 +44,10 @@ const config = {
},
// https://hardhat.org/config/#path-configuration
paths: {
tests: "./tests",
cache: "./tests/cache",
artifacts: "./tests/artifacts",
tests: "./test",
sources: "./build/contracts",
cache: "./build/cache",
artifacts: "./build/artifacts",
},
};

Expand Down
Loading

0 comments on commit 2120928

Please sign in to comment.