becrypto/migrations/3_deploy_marketplace.js
2022-01-10 19:10:54 +08:00

10 lines
320 B
JavaScript

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