This is the code:

pragma solidity >=0.4.22 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract NFTCollectibel is Ownable, ERC721{

    uint256 public totalSupply=0;
    uint256 constant public MAx_AMOUNT = 10000 

    constructor() ERC721 ("TRACKS", "TR"){
        for(uint i=0; i<50; i++)
    -_safeMint(msg.sender, ++totalSupply);


  • Please include the full error
    – Julissa DC
    Commented Mar 22, 2022 at 20:16

1 Answer 1


You're missing a semicolon when you defined MAx_AMOUNT.

this is the line causing the parsing error:

uint256 constant public MAx_AMOUNT = 10000


uint256 constant public MAx_AMOUNT = 10000;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.