10 lines
324 B
JavaScript
10 lines
324 B
JavaScript
const Hero = artifacts.require('CryptoHero');
|
|
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.")
|
|
}
|
|
}; |