diff --git a/contracts/migrations/tokens/2_deploy_contracts.js b/contracts/migrations/tokens/2_deploy_contracts.js index 87048a7..e3bc8d4 100644 --- a/contracts/migrations/tokens/2_deploy_contracts.js +++ b/contracts/migrations/tokens/2_deploy_contracts.js @@ -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); };