Skip to content

dev-protocol/template-repos-ts-sol

Repository files navigation

template-repos-ts-sol

Installation

yarn

Verifying a deployed contracts

For a contract with no constructor arguments

Run hardhat-etherscan

yarn hardhat verify --network <NETWORK_NAME> <CONTRACT_ADDRESS>

For a contract with constructor arguments

  1. Create an arguments declaration file
// cat ./scripts/arguments.js
module.exports = [
	'arguments 1',
	'arguments 2',
	'arguments 3',
	...
]
  1. Run hardhat-etherscan
yarn hardhat verify --network <NETWORK_NAME> <CONTRACT_ADDRESS> --contract <PATH_TO_CONTRACT>:<CONTRACT_NAME> --constructor-args ./scripts/arguments.js

About

Template repository for using TypeScript and Solidity

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy