Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Updated IPFS Client Creation #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

58bits
Copy link

@58bits 58bits commented Jul 31, 2021

Great project. I've just updated to the latest dependency major versions, and there is a change in ipfs-http-client that requires the use of its create method to create a new ipfs client. Hope this helps.

@58bits 58bits changed the title Updated deps to lates, updated ipfs client to use create Updated IPFS Client Creation Jul 31, 2021
@58bits
Copy link
Author

58bits commented Jul 31, 2021

Note that this PR doesn't resolve #11 - which as described, could be updated as follows:

    string private _baseTokenURI;

    // Constructor
    constructor(string memory name, string memory symbol, string memory baseTokenURI) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant