mirror of
https://github.com/getwax/eth-global-lisbon-hackathon.git
synced 2026-01-09 15:57:55 -05:00
14 lines
412 B
TypeScript
14 lines
412 B
TypeScript
import { HardhatRuntimeEnvironment } from 'hardhat/types';
|
|
import { DeployFunction } from 'hardhat-deploy/types';
|
|
|
|
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
const accounts = await hre.getUnnamedAccounts();
|
|
await hre.deployments.deploy('Greeter', {
|
|
from: accounts[0],
|
|
deterministicDeployment: true,
|
|
args: ['Test'],
|
|
log: true,
|
|
});
|
|
};
|
|
export default func;
|