Add mintToAddress from .env

This commit is contained in:
Drew 2022-06-28 23:10:11 +00:00
parent 705d70f264
commit ae69dd1bc8
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
require("dotenv").config({ path: ".env" });
i;
const WormUSD = artifacts.require("WormUSD");
module.exports = async function (deployer, network) {
const mintAddress = "0x3278E0aE2bc9EC8754b67928e0F5ff8f99CE5934";
const mintAddress = process.env.mintToAddress;
await deployer.deploy(WormUSD, mintAddress);
};