1

I would like a way to block spam NFTs and ERC-20 tokens from being put in my (gnosis) Safe wallet by anons. Only wallet owners should be allowed to send NFTs to the wallet.

Is this possible currently? Is it possible to implement in a smart contract wallet?

1 Answer 1

1

Unfortunately, it is impossible to reject transactions from unknown wallets or block spam NFTs and tokens on any wallet (Gnosis Safe wallet, contracts, EOA, etc).

This is because the information about who can or cannot transfer a token or NFT is stored in the contract of the token or NFT, and not on the wallet itself.

Contracts define who is allowed to transfer the token, and this information is stored in the contract's storage.

If the token (or NFT) contract has no restrictions on who can transfer the token or NFT, then anyone who holds the token or NFT can transfer it to any wallet, including a Gnosis Safe wallet.

In short, the ability to restrict access to a wallet depends on the features available in the token or NFT contracts.

1
  • Thank you. As I expected. Commented Apr 1, 2023 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.