Files
evm/contracts/scripts/deployExampleDeployerList.ts
Ceyhun OnurandGitHub 1d1c38e9bc bump js dependencies (#1193)
* bump dependencies

* bump node version in CI

* update build script
2024-05-29 13:15:02 +03:00

16 lines
427 B
TypeScript

import { ethers } from "hardhat"
import { ExampleDeployerList } from "typechain-types"
const main = async (): Promise<any> => {
const contract: ExampleDeployerList = await ethers.deployContract("ExampleDeployerList")
await contract.waitForDeployment()
console.log(`Contract deployed to: ${contract.target}`)
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error)
process.exit(1)
})