contracts-imtbl/deploy/1_deploy_nftclaimer.ts
CounterFire2023 59b6fc8f34 init
2024-05-29 13:22:36 +08:00

23 lines
626 B
TypeScript

import { HardhatRuntimeEnvironment } from "hardhat/types";
import { DeployFunction } from "hardhat-deploy/types";
import { ethers } from "hardhat";
const deployNFTClaim: DeployFunction =
async function (hre: HardhatRuntimeEnvironment) {
const provider = ethers.provider;
const from = await (await provider.getSigner()).getAddress();
console.log(from);
const ret = await hre.deployments.deploy("NFTClaimStage2", {
from,
args: [],
log: true,
});
console.log("==NFTClaimStage2 addr=", ret.address);
};
deployNFTClaim.tags = ["NFTClaimStage2"];
export default deployNFTClaim;