I 'm trying to send ERC1155 token to smart contract . I have set up IERC1155Receiver interface and implement onERC1155Received inside smart contract to get selector . But It gives the error.
Error: VM Exception while processing transaction: reverted with reason string 'ERC1155: transfer to non ERC1155Receiver implementer'
Is there any way to resolve this issue?