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.
npx smart-contract-downloader
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.
This is a Next.js project bootstrapped with create-next-app
.
In the project directory, you can run:
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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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!
MIT LICENSE.md
Pull Requests are welcome.
- Fork it
- Create your feature branch (
git checkout -b new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin new-feature
) - Create new Pull Request