rln-interep-contract/deploy/001_deploy_poseidon_hasher.ts

17 lines
462 B
TypeScript
Raw Normal View History

2022-11-25 11:38:38 +05:30
import { HardhatRuntimeEnvironment } from "hardhat/types";
import { DeployFunction } from "hardhat-deploy/types";
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
2022-11-25 11:38:38 +05:30
const { deployments, getUnnamedAccounts } = hre;
const { deploy } = deployments;
const [deployer] = await getUnnamedAccounts();
await deploy("PoseidonHasher", {
from: deployer,
log: true,
});
};
export default func;
2022-11-25 11:38:38 +05:30
func.tags = ["PoseidonHasher"];