Skip to content

Commit ec281ca

Browse files
authored
Add deploy espresso tee verifier mock (#42)
1 parent a359293 commit ec281ca

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import '@nomiclabs/hardhat-ethers'
2+
import { ethers } from 'hardhat'
3+
import { deployContract } from './deploymentUtils'
4+
5+
async function main() {
6+
const [deployer] = await ethers.getSigners()
7+
8+
const esperssoTEEVerifier = await deployContract(
9+
'EspressoTEEVerifierMock',
10+
deployer,
11+
[],
12+
true
13+
)
14+
console.log(
15+
'EspressoTEEVerifierMock deployed at address:',
16+
esperssoTEEVerifier.address
17+
)
18+
}
19+
20+
main()
21+
.then(() => process.exit(0))
22+
.catch((error: Error) => {
23+
console.error(error)
24+
process.exit(1)
25+
})

0 commit comments

Comments
 (0)