0.1.21 • Published 8 months ago

ethereum-sources-downloader v0.1.21

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Ethereum downloader cli

Adapted code from the great https://github.com/dethcrypto/dethcode to be able to download the code of a smart contract locally

Installation

Install from npm

npm i -g ethereum-sources-downloader

Install from sources

npm i
cd ..
npm i -g ethereum-sources-downloader/

Usage

ethereum-sources-downloader {apiName} {contractAddress} {optional:outDir}

apiName is one of:

  • etherscan
  • ropsten.etherscan
  • rinkeby.etherscan
  • goerli.etherscan
  • kovan.etherscan
  • bscscan
  • testnet.bscscan
  • hecoinfo
  • testnet.hecoinfo
  • ftmscan
  • testnet.ftmscan
  • optimistic.etherscan
  • kovan-optimistic.etherscan
  • polygonscan
  • testnet.polygonscan
  • arbiscan
  • testnet.arbiscan
  • snowtrace
  • testnet.snowtrace
  • cronoscan
  • moonbeam
  • aurora
  • basescan
  • goerli.basescan

    contractAddress in hexadecimal format (i.e 0x1F98431c8aD98523631AE4a59f267346ea31F984)

    outDir specifies optionally where the sources will be downloaded relative to current directory

CLI Tool Demo

Demo GIF illustrating the multiple contracts downloading capability which also preserves the directory structure

npm.io

0.1.20

8 months ago

0.1.21

8 months ago

0.1.18

12 months ago

0.1.19

12 months ago

0.1.11

1 year ago

0.1.12

1 year ago

0.1.13

1 year ago

0.1.14

1 year ago

0.1.15

1 year ago

0.1.16

1 year ago

0.1.17

1 year ago

0.1.10

2 years ago

0.1.8

2 years ago

0.1.9

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago