()
| 68 | |
| 69 | // For backward compatibility when running the script directly |
| 70 | async function main() { |
| 71 | const hre = require("hardhat"); |
| 72 | const deployer = await helpers.getSigner(hre); |
| 73 | const address = await deployer.getAddress(); |
| 74 | console.log("Deploying with account:", address); |
| 75 | console.log("Account balance:", await helpers.accountBalance(hre.ethers, address)); |
| 76 | await deployContract(hre, "DstackKms", [address]); |
| 77 | } |
| 78 | |
| 79 | // Only execute if directly run |
| 80 | if (require.main === module) { |
no test coverage detected