rln-contract/deploy/002_deploy_rln_verifier.ts

17 lines
453 B
TypeScript
Raw Normal View History

import { HardhatRuntimeEnvironment } from "hardhat/types";
import { DeployFunction } from "hardhat-deploy/types";
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const { deployments, getUnnamedAccounts } = hre;
const { deploy } = deployments;
const [deployer] = await getUnnamedAccounts();
2023-05-26 08:01:05 +00:00
await deploy("Verifier", {
from: deployer,
log: true,
});
};
export default func;
2023-05-26 08:01:05 +00:00
func.tags = ["RlnVerifier"];