18 lines
514 B
JavaScript
18 lines
514 B
JavaScript
const MarketPlace = artifacts.require("market/BENftMarket");
|
|
const base = require("../scripts/base");
|
|
|
|
module.exports = async function (deployer, network, accounts) {
|
|
await deployer.deploy(MarketPlace);
|
|
const marketInstance = await MarketPlace.deployed();
|
|
if (marketInstance) {
|
|
console.log("MarketPlace successfully deployed.");
|
|
}
|
|
base.updateArray({
|
|
name: "BENFTMarket",
|
|
type: "logic",
|
|
json: "assets/contracts/BENFTMarket.json",
|
|
address: marketInstance.address,
|
|
network,
|
|
});
|
|
};
|