Skip to content

Commit f38d023

Browse files
authored
Configurable Etherscan ApiKey (#25)
* make etherscan apikey configurable * prep 0.2.4 * update deps
1 parent a475259 commit f38d023

File tree

6 files changed

+92
-83
lines changed

6 files changed

+92
-83
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Change Log
22
All notable changes will be documented in this file.
33

4+
## v0.2.4
5+
- new: configure an etherscan.io apiKey `.config set etherscanApiKey <newApiKey>` (default: `YourApiKeyToken` demo key) #25 #24
6+
47
## v0.2.3
58
- update: dependencies
69

bin/main.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,8 @@ cheers 🙌
332332
commandParts[2],
333333
commandParts[3],
334334
commandParts.length >= 4 ? commandParts[4] : undefined,
335-
shell.settings.installedSolidityVersion
335+
shell.settings.installedSolidityVersion,
336+
shell.settings.etherscanApiKey
336337
).then(interfaceSource => {
337338
console.log(interfaceSource);
338339
return cb(handleRepl(interfaceSource, cb)); // recursively call
@@ -344,7 +345,8 @@ cheers 🙌
344345
commandParts[2],
345346
commandParts[3],
346347
commandParts.length >= 4 ? commandParts[4] : undefined,
347-
shell.settings.installedSolidityVersion
348+
shell.settings.installedSolidityVersion,
349+
shell.settings.etherscanApiKey
348350
).then(interfaceSource => {
349351
console.log(interfaceSource);
350352
return cb(handleRepl(interfaceSource, cb)); // recursively call

package-lock.json

Lines changed: 79 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)