diff --git a/04-Deploying-Smart-Contracts-Using-IDEs/Menim _1 b/04-Deploying-Smart-Contracts-Using-IDEs/Menim _1 new file mode 100644 index 00000000..76330855 --- /dev/null +++ b/04-Deploying-Smart-Contracts-Using-IDEs/Menim _1 @@ -0,0 +1,18 @@ + +async function main() { + const [deployer] = await ethers.getSigners(); + + console.log("Deploying contracts with the account:", deployer.address); + + const Token = await ethers.getContractFactory("BEP20Token"); + const token = await Token.deploy(); + + console.log("Token address:", token.address); +} + +main() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + });