MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / main

Function main

kms/auth-eth/scripts/deploy.ts:70–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68
69// For backward compatibility when running the script directly
70async 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
80if (require.main === module) {

Callers 1

deploy.tsFile · 0.70

Calls 1

deployContractFunction · 0.85

Tested by

no test coverage detected