Skip to content

Commit

Permalink
Add .env information
Browse files Browse the repository at this point in the history
  • Loading branch information
bricestacey committed Dec 9, 2022
1 parent 3c33be2 commit a26539f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ This repository contains the contracts for the Perimeter protocol.
npm install
```

Copy .env.example and update with appropriate values

```sh
cp .env.example .env
```

## Running a node

```sh
Expand Down
12 changes: 6 additions & 6 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ const config: HardhatUserConfig | ExtendedHardhatUserConfig = {
},
goerli: {
chainId: 5,
url: process.env.GOERLI_URL,
url: process.env.GOERLI_URL ?? "",
usdcAddress: "0x07865c6e87b9f70255377e024ace6630c1eaa37f",
accounts: [
process.env.GOERLI_ADMIN || "",
process.env.GOERLI_OPERATOR || "",
process.env.GOERLI_DEPLOYER || "",
process.env.GOERLI_PAUSER || ""
]
process.env.GOERLI_ADMIN!,
process.env.GOERLI_OPERATOR!,
process.env.GOERLI_DEPLOYER!,
process.env.GOERLI_PAUSER!
].filter((x) => x)
}
},
docgen: {
Expand Down

0 comments on commit a26539f

Please sign in to comment.