Skip to content

NFT Reveal shows the entire collection base uri defeating the purpose of hiding the uri for each token #39

@izner32

Description

@izner32

Basically the title,

string public baseUri; // if this is public people would be able to see the entire collection so I suggest turning this into private

// create a function that shows the base URI once the revealed has been set to true 
function showBaseUri() public view returns(string memory){
    if(revealed == false){ 
      return "";
    }
    return baseURI;
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions