Hi,
I am trying to develop an ERC1155 smart contract using the OpenZepplin contract wizard.
I use the wizard to create the ERC1155 in Solidity and then open it in Remix.
When I get try to compile it I get the following error message below.
DeclarationError: Identifier already declared.
--> contract-e054e3a16b.sol:6:1:
|
6 | contract ERC1155 is ERC1155 { constructor() ERC1155("https://arweave.net/dBKXm8CDmbxHdrXY7lPmqljCcjHw050q0_dg788jmBo")
| ^ (Relevant source part starts here and spans across multiple lines).
Note: The previous declaration is here:
--> contract-e054e3a16b.sol:4:1:
|
4 | import "@openzeppelin/contracts@4.8.1/token/ERC1155/ERC1155.sol";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Any help with this would be greatly appreciated. I have successfully used the Wizard for ERC20 and ERC721 in the same way.
Thanks
Rob