i would like to follow moralis yt tuto but i dont know why i canât import openzepplin contract
code :
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
import âhttps://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.solâ;
import âhttps://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.solâ;
contract NFT_erc1150 is ERC1155 {
uint256 public constant ARTWORK = 0;
uint256 public constant PHOTO = 1;
constructor() ERC1155("METADATA") {
_mint(msg.sender, ARTWORK, 1, "");
}
function mint(address account, uint256 id, uint256 amount) public onlyOwner {
_mint(account, id, amount, "");
}
function burn(address account, uint256 id, uint256 amount) public {
require(msg.sender == account);
_burn(account, id, amount);
}
}
version of truffle :
Truffle v5.3.11 (core: 5.3.11)
Solidity - 0.8.0 (solc-js)
Node v16.3.0
Web3.js v1.3.6
thank you