Tasks for managing an Etherscan API Key.
If an Etherscan API key is defined, then tasks like ethContractAbiImport
and ethContractAbiDefaultImport
can download Etherscan verified ABIs, if a user wishes. (These tasks can always accept ABIs via copy and paste.)
Usage:
> etherscanApiKeyDrop
Drops any etherscan API key that may have been set.
Example:
> etherscanApiKeyDrop
Etherscan API key successfully dropped.
[success] Total time: 0 s, completed Apr 9, 2019 11:20:42 AM
Usage:
> etherscanApiKeyPrint
Prints to the console any etherscan API key that may have been set, or a message indicating that none has been set.
Example:
> etherscanApiKeyPrint
The currently set Etherscan API key is ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678
[success] Total time: 0 s, completed Apr 9, 2019 11:20:36 AM
Usage:
> etherscanApiKeySet <etherscan-api-key>
Sets an etherscan API key
Example:
> etherscanApiKeySet QZ7GHAK7EVV442M9YHWI2MU6QMKZPA5RAR
Etherscan API key successfully set.
[success] Total time: 0 s, completed Apr 9, 2019 11:20:59 AM