Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
/etherscan-srcPublic archive

⏬🚀 Fetch the most up-to-date sources of verified Smart Contracts (including proxy implementations) from Etherscan in seconds!

License

NotificationsYou must be signed in to change notification settings

Rubilmax/etherscan-src

Repository files navigation

npm packageBuild StatusDownloadsIssuesCommitizen FriendlySemantic Release

⏬🚀 Fetch the most up-to-date sources of verified Smart Contracts (including proxy implementations) from Etherscan in seconds!

Usage

CLI

  • Fetch the sources of a contract from an address and save it tosources/ContractName/:
npx etherscan-src 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
  • Note that if a standard proxy is detected, the proxy's implementation sources will be fetched instead:
npx etherscan-src 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9
  • You can optionally provide atarget directory path, an EtherscanapiKey (to bypass the default query rate limit), or specify anetwork on which to query the Smart Contract's source code (byname or chainId, decimal or hexadecimal):
npx etherscan-src --target sources/uniswap/ \    --apiKey ... \    --network polygon \    0xb33EaAd8d922B1083446DC23f610c2567fB5180f

Install

npm install etherscan-src
yarn add etherscan-src

About

⏬🚀 Fetch the most up-to-date sources of verified Smart Contracts (including proxy implementations) from Etherscan in seconds!

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp