minty
minty copied to clipboard
Updated IPFS Client Creation
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.
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;
}