You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wKLC_Vesting_Contracts/scripts/deploy_vesting.js

21 lines
588 B

2 years ago
async function main() {
const [deployer] = await ethers.getSigners();
console.log("Deploying contracts with the account:", deployer.address);
console.log("Account balance:", (await deployer.getBalance()).toString());
const TokenVesting = await ethers.getContractFactory("TokenVesting");
const tokenVesting = await TokenVesting.deploy(
Token = "0x069255299Bb729399f3CECaBdc73d15d3D10a2A3"
);
console.log("TokenVesting address:", tokenVesting.address);
}
main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error);
process.exit(1);
});