Hi @420_tiesto,
Welcome to the community
The compiler is warning that you have an unused function parameter. Meaning you don’t use prntPrice
in your function, so you could remove the parameter.
constructor(
address owner, /// Initial owner (Seller)
string memory _nftName,
string memory _nftSymbol,
string memory _tokenURI, /// [Note]: TokenURI is URL include ipfs hash
uint prntPrice
)
public
ERC721Full(_nftName, _nftSymbol)
{
mint(owner, _tokenURI);
}
You may want to look at:
- Create an NFT and deploy to a public testnet, using Truffle
- OpenZeppelin Contracts 4.0 Beta (for the gas optimizations)
As an aside you can Format code in the forum