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

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