mirror of
				https://github.com/Instadapp/dsa-connectors.git
				synced 2024-07-29 22:37:00 +00:00 
			
		
		
		
	added hardhat verify:verify
This commit is contained in:
		
							parent
							
								
									5382f3d17c
								
							
						
					
					
						commit
						80fcdec49c
					
				| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
import { Contract } from "@ethersproject/contracts";
 | 
			
		||||
import { ethers } from "hardhat";
 | 
			
		||||
import hre, { ethers } from "hardhat";
 | 
			
		||||
 | 
			
		||||
import { Greeter__factory } from "../../typechain";
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -9,6 +9,10 @@ async function main(): Promise<void> {
 | 
			
		|||
  await greeter.deployed();
 | 
			
		||||
 | 
			
		||||
  console.log("Greeter deployed to: ", greeter.address);
 | 
			
		||||
 | 
			
		||||
  await hre.run("verify:verify", {
 | 
			
		||||
    address: greeter.address
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
main()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user