File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { ethers } from "hardhat" ;
2
+
3
+ async function main ( ) {
4
+ const provider = new ethers . providers . JsonRpcProvider (
5
+ `https://eth-goerli.g.alchemy.com/v2/${ process . env . ALCHEMY_API_KEY } ` ,
6
+ ) ;
7
+
8
+ const domainName = "stamp-vc-verifier-test" ;
9
+ const StampVcVerifier = await ethers . getContractFactory ( "StampVcVerifier" ) ;
10
+ const stampVcVerifier = await StampVcVerifier . deploy ( domainName , "0x898d3B3756f04FDb1C9EB5c3fBD66DF8e5332f56" ) ;
11
+
12
+ await stampVcVerifier . deployed ( ) ;
13
+
14
+ console . log ( "StampVerifier Contracts have been deployed" , stampVcVerifier . address ) ;
15
+ }
16
+
17
+ // We recommend this pattern to be able to use async/await everywhere
18
+ // and properly handle errors.
19
+ main ( ) . catch ( error => {
20
+ console . error ( error ) ;
21
+ process . exitCode = 1 ;
22
+ } ) ;
You can’t perform that action at this time.
0 commit comments