mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-02 21:33:08 +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"]
|