13 lines
447 B
JavaScript
13 lines
447 B
JavaScript
const Box = artifacts.require("tokens/erc721/BEPresaleBox");
|
|
const config = require("../config/config");
|
|
|
|
module.exports = async function (deployer, network, accounts) {
|
|
await deployer.deploy(Box);
|
|
const boxInstance = await Box.deployed();
|
|
if (boxInstance) {
|
|
console.log("BEPresaleBox successfully deployed.");
|
|
}
|
|
await boxInstance.updateBaseURI(config.token.baseTokenURI);
|
|
await boxInstance.setMintFactory(config.admins.admin);
|
|
};
|