Skip to content

Commit

Permalink
Merge pull request #79 from shazow/env-example
Browse files Browse the repository at this point in the history
README, .env.example: Add env example
  • Loading branch information
shazow committed Jan 15, 2024
2 parents a43a61c + 204d3bd commit e95f8f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Save as .env, fill in keys, gets automatically sourced by `nix develop`
export INFURA_API_KEY="..."
export ETHERSCAN_API_KEY="..."
export PROVIDER="ethers" # or "viem"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ console.log("Resolved to:", address);
## Development

```console
$ cat .env
$ cat .env # Write an .env file with your keys, or `cp .env.example .env`
export INFURA_API_KEY="..."
export ETHERSCAN_API_KEY="..."
$ nix develop # Or use your system's package manager to install node/ts/etc
Expand Down

0 comments on commit e95f8f5

Please sign in to comment.