becrypto/migrations/4_deploy_hero.js

10 lines
317 B
JavaScript

const Hero = artifacts.require('tokens/erc721/BEHero');
const config = require("../config/config");
module.exports = async function (deployer, network, accounts) {
await deployer.deploy(Hero);
const heroInstance = await Hero.deployed();
if(heroInstance) {
console.log("BEHero successfully deployed.")
}
}