mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 12:56:20 +00:00
16 lines
374 B
TypeScript
16 lines
374 B
TypeScript
//
|
|
// Copyright 2022 Vulcanize, Inc.
|
|
//
|
|
|
|
import { task } from 'hardhat/config';
|
|
import '@nomiclabs/hardhat-ethers';
|
|
|
|
task('nft-deploy', 'Deploys NFT')
|
|
.setAction(async (args, hre) => {
|
|
await hre.run('compile');
|
|
const NFT = await hre.ethers.getContractFactory('TestNFT');
|
|
const nft = await NFT.deploy();
|
|
|
|
console.log('NFT deployed to:', nft.address);
|
|
});
|