Skip to content

Commit

Permalink
README, .env.example: Add env example
Browse files Browse the repository at this point in the history
Fixes #78
  • Loading branch information
shazow committed Jan 15, 2024
1 parent a43a61c commit 204d3bd
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 204d3bd

Please sign in to comment.