amimaro / smart-contract-downloader

Download smart contract from blockchain explorers

Home Page:https://smart-contract-downloader.amimaro.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smart Contract Downloader

This is a smart contract downloader which uses Etherscan, PolygonScan and BSCScan API to get verified contracts source code.

After finding the desired contract you can download the package as a compressed zip file.

Also feel free to open an issue for any feature request, bugs, etc.

Also try the CLI tool

npx smart-contract-downloader

Adding a new network

Edit networks.ts file to add a new blockchain explorer option.

It is not necessary to fill in all the fields unless you know the API and want to do your own tests.

Otherwise, you can open an issue with the address of the blockchain to be added.

Current networks available

  • Ethereum Mainnet
  • Sepolia Testnet
  • Holesky Testnet
  • Rinkeby Testnet
  • Ropsten Testnet
  • Kovan Testnet
  • Goerli Testnet
  • Polygon Mainnet
  • Polygon Mumbai Testnet
  • Binance Smart Chain Mainnet
  • Binance Smart Chain Testnet
  • Arbitrum One Mainnet
  • Arbitrum Nova Mainnet
  • Arbitrum Goerli Testnet
  • Fantom Mainnet
  • Fantom Testnet

Development - Getting started

This is a Next.js project bootstrapped with create-next-app.

Available Scripts

In the project directory, you can run:

npm dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

License

MIT LICENSE.md

Contributing

Pull Requests are welcome.

  1. Fork it
  2. Create your feature branch (git checkout -b new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin new-feature)
  5. Create new Pull Request

About

Download smart contract from blockchain explorers

https://smart-contract-downloader.amimaro.com

License:MIT License


Languages

Language:TypeScript 97.4%Language:JavaScript 1.8%Language:CSS 0.9%