ERC1155Holder Contract

Hi all,
I have a contract which implements the OpenZeppelin ERC1155Holder contract which I have deployed to goerli. I went to try airdropping some tokens to it and I get the error “addresses (highlighted above) are not eligible to receive ERC1155 token”.

I have the contract here if anyone has any advice for that https://goerli.etherscan.io/address/0xcf1e18304aee37a028b5e39066f17b6aa3f5948c#code

If anyone is looking for the answer to this, I needed to add a fallback() and receive() method to be able to airdrop the tokens.

1 Like