@dethcrypto/eth-sdk@0.3.1
·
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.etherscanKeyoption 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.etherscanKeyoption is now deprecated in favor ofetherscanKeysoption.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