const Hero = artifacts.require('BEHero'); module.exports = async function (deployer) { await deployer.deploy(Hero, "BEHero", "JC"); const instance = await Hero.deployed(); if(instance) { console.log("BEHero successfully deployed.") } };