minty icon indicating copy to clipboard operation
minty copied to clipboard

Updated IPFS Client Creation

Open 58bits opened this issue 3 years ago • 1 comments

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 avatar Jul 31 '21 19:07 58bits

Note that this PR doesn't resolve https://github.com/yusefnapora/minty/issues/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;
    }

58bits avatar Jul 31 '21 19:07 58bits