becrypto/migrations/6_deploy_chip.js
2022-04-16 08:23:15 +08:00

10 lines
301 B
JavaScript

const Chip = artifacts.require('BEChip');
const config = require("../config/config");
module.exports = async function (deployer, network, accounts) {
await deployer.deploy(Chip);
const chipInstance = await Chip.deployed();
if(chipInstance) {
console.log("Chip successfully deployed.")
}
}