mirror of
https://github.com/status-im/dagger-contracts.git
synced 2025-01-28 07:15:50 +00:00
10 lines
386 B
JavaScript
10 lines
386 B
JavaScript
const { loadVerificationKey } = require ("../verifier/verifier.js")
|
|
|
|
module.exports = async ({ deployments, getNamedAccounts, network }) => {
|
|
const { deployer } = await getNamedAccounts()
|
|
const verificationKey = loadVerificationKey(network.name)
|
|
await deployments.deploy("Groth16Verifier", { args: [verificationKey], from: deployer })
|
|
}
|
|
|
|
module.exports.tags = ["Groth16Verifier"]
|