Skip to content

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

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;
 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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