mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
16 lines
409 B
TypeScript
16 lines
409 B
TypeScript
import { ethers } from "hardhat"
|
|
import { ERC20NativeMinter } from "typechain-types"
|
|
|
|
const main = async (): Promise<any> => {
|
|
const token: ERC20NativeMinter = await ethers.deployContract("ERC20NativeMinter")
|
|
await token.waitForDeployment()
|
|
console.log(`Token deployed to: ${token.target}`)
|
|
}
|
|
|
|
main()
|
|
.then(() => process.exit(0))
|
|
.catch(error => {
|
|
console.error(error)
|
|
process.exit(1)
|
|
})
|