Skip to content

sampatel7878/contract-deploy-verify

Repository files navigation

Simple Contract Depoly & Verify Project

This project can be use to deploy contract and also auto verify contract address in respective blockchain network.

Installation

  1. Clone the repository
$ git clone https://github.com/Samir-Yudiz/contract-deploy-verify.git
$ cd contract-deploy-verify
  1. Create .env file.

  2. Add Credential in .env file as mentioned in .env.example

  3. Install node modules

$ npm i

Script

  1. Deploy Contract on localhost

Add another terminal and start local node

$ npx hardhat node

In first terminal

$ npm run compile
$ npm run deploy
  1. Deploy Contract on Polygon Network
$ npm run compile
$ npm run deployMatic

You can also create your own custom script for different networks, refer to package.json file.

contract-deploy-verify

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published