becrypto/migrations/3_deploy_gold.js
2022-04-16 08:23:15 +08:00

10 lines
318 B
JavaScript

const Coin = artifacts.require('BEGold');
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.")
}
};