contracts-imtbl/deploy/0_deploy_test.ts
CounterFire2023 67a25b6850 add sth
2024-11-26 10:55:42 +08:00

21 lines
679 B
TypeScript

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