Skip to content

CLI for importing Sourcify verified contract to Etherscan in the simplest and fastest way

Notifications You must be signed in to change notification settings

k1rill-fedoseev/sourcify-to-etherscan

Repository files navigation

sourcify-to-etherscan

CLI for importing Sourcify verified contract to Etherscan in the simplest and fastest way

oclif Version Downloads/week License

Usage

$ npm install -g sourcify-to-etherscan
$ sourcify-to-etherscan COMMAND
running command...
$ sourcify-to-etherscan (-v|--version|version)
sourcify-to-etherscan/0.0.3 darwin-arm64 node-v16.15.0
$ sourcify-to-etherscan --help [COMMAND]
USAGE
  $ sourcify-to-etherscan COMMAND
...

Docker

$ docker run kirillfedoseev/sourcify-to-etherscan:latest COMMAND

Commands

sourcify-to-etherscan help [COMMAND]

display help for sourcify-to-etherscan

USAGE
  $ sourcify-to-etherscan help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sourcify-to-etherscan verify CONTRACT

check contract verification status in Sourcify and Etherscan

USAGE
  $ sourcify-to-etherscan verify CONTRACT

OPTIONS
  -a, --args=args
      abi-encoded constructor arguments

  -h, --help
      show CLI help

  -k, --apikey=apikey
      etherscan api key

  -n, 
  --network=(mainnet|ropsten|rinkeby|goerli|kovan|bsc|bsc_testnet|gnosis|arbitrum|arbitrum_rinkbedy|avalanche|avalanche_fuji|1|
  3|4|5|42|56|97|100|42161|421611|43114|43113)
      [default: mainnet] network name or chain id to use

EXAMPLES
  $ sourcify-to-etherscan verify --apikey <...> --network rinkeby 0x94263a20b1Eea751d6C3B207A7A0ba8fF8Db9E90
  $ sourcify-to-etherscan verify -k <...> -n 4 -a <...> 0x94263a20b1Eea751d6C3B207A7A0ba8fF8Db9E90

See code: src/commands/verify.ts

About

CLI for importing Sourcify verified contract to Etherscan in the simplest and fastest way

Topics

Resources

Stars

Watchers

Forks