Smart contract template for a BEP721 NFT minter. Written in solidity. Deployable to the Binance Smart Chain and Ethereum Network.
- Go here https://remix.ethereum.org/
- Create a new .sol file and add the code from mint.sol
- Compile using a solidity version > 0.8.0
- Connect your metamask wallet and select the chain you want to deploy to.
- This contract supports blockchain network IDs: ETH [1, 3, 4, 42] and Binance [97, 56] - Select "Deploy and Run Transaction" on Remix
- Set environment to "Injected Web3"
- Select your NFT_Factory contract from the list of contracts
- Deploy to the network and approve transaction in Metamask
- Prime your NFT minter by calling the "startSale" function
- Call the mintContract function with your desired quantity and address
All functions in this contract can be called from a Dapp using JS and Web3