becrypto/migrations/4_deploy_gold.js
2023-01-11 18:04:28 +08:00

11 lines
389 B
JavaScript

const Coin = artifacts.require('tokens/erc20/BEGold');
// const Coin = artifacts.require('tokens/erc20/BEUSDT');
module.exports = async function (deployer, network, accounts) {
await deployer.deploy(Coin);
const coinInstance = await Coin.deployed();
if(coinInstance) {
// tmpData.writeKeyVal('coin', coinInstance.address);
console.log("BEGold successfully deployed.")
}
};