github-actions
released this
11 Mar 07:57
·
15 commits
to master
since this release
Patch Changes
-
4b64b0f: eth-sdk now properly supports fetching ABI from multiple Etherscan-like blockchain explorers at the same
time.Previously,
config.etherscanKey
option was used for all APIs, what worked in some cases, but broke with Polygonscan.You can now provide your Etherscan API keys like this:
{ "etherscanKeys": { // API key for https://etherscan.io "mainnet": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", // API key for https://polygonscan.com "polygon": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB" } }
If not specified, eth-sdk will use its own API keys.
⚠
config.etherscanKey
option is now deprecated in favor ofetherscanKey
s
option.This is a hotfix solution as a future version of eth-sdk will radically simplify config schema.
-
4b64b0f: The network name is now shown properly when fetching ABI from Etherscan fails