becrypto/migrations/4_deploy_hero.js
2022-11-22 17:35:40 +08:00

11 lines
321 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.");
}
};