@compound-finance/etherscan

Typescript package for importing or verifying Etherscan contracts.

Usage no npm install needed!

<script type="module">
  import compoundFinanceEtherscan from 'https://cdn.skypack.dev/@compound-finance/etherscan';
</script>

README

Etherscan

Typescript package for importing or verifying Etherscan contracts.

Getting Started

yarn add @compound-finance/etherscan
# npm install --save @compound-finance/etherscan

Verify

verifyContract(contractJson: ContractJson, network: string, apiKey: string, address: string, constructorData: string, verbose: boolean)

Import