Skip to content

Commit

Permalink
Configurable Etherscan ApiKey (#25)
Browse files Browse the repository at this point in the history
* make etherscan apikey configurable

* prep 0.2.4

* update deps
  • Loading branch information
tintinweb committed Oct 11, 2022
1 parent a475259 commit f38d023
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 83 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
All notable changes will be documented in this file.

## v0.2.4
- new: configure an etherscan.io apiKey `.config set etherscanApiKey <newApiKey>` (default: `YourApiKeyToken` demo key) #25 #24

## v0.2.3
- update: dependencies

Expand Down
6 changes: 4 additions & 2 deletions bin/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ cheers 🙌
commandParts[2],
commandParts[3],
commandParts.length >= 4 ? commandParts[4] : undefined,
shell.settings.installedSolidityVersion
shell.settings.installedSolidityVersion,
shell.settings.etherscanApiKey
).then(interfaceSource => {
console.log(interfaceSource);
return cb(handleRepl(interfaceSource, cb)); // recursively call
Expand All @@ -344,7 +345,8 @@ cheers 🙌
commandParts[2],
commandParts[3],
commandParts.length >= 4 ? commandParts[4] : undefined,
shell.settings.installedSolidityVersion
shell.settings.installedSolidityVersion,
shell.settings.etherscanApiKey
).then(interfaceSource => {
console.log(interfaceSource);
return cb(handleRepl(interfaceSource, cb)); // recursively call
Expand Down
155 changes: 79 additions & 76 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f38d023

Please sign in to comment.