Create your NFT Art Gallery
const { ERC721Collectibles } = require("bepro-js");
let erc721Contract = new ERC721Collectibles({
opt : { web3Connection : 'https://kovan.infura.io/v3' }
});
// Deploy
const res = await erc721Contract.deploy({
name: "Art | BEPRO",
symbol: "B.E.P.R.O",
limitedAmount: 100,
erc20Purchase: "0xDAI_ADDRESS", // tokenAddress,
feeAddress: "0xFEE_ADDRESS", // substitute with a given address for the purchase of the pack
});
// Assert Information - if already deployed
await erc721Contract.__assert();
// Set Pack Price
await erc721Contract.setPricePerPack({newPrice : 1000 /* $1000 DAI */});
// Access methods
let contractAddress = erc721Contract.getAddress();Last updated
Was this helpful?