In the comments of a recent post I noticed a huge amount of misunderstanding around how to safely deal with the free NFTs that randomly appear in your wallet. Stuff like: This scam also exists but dangerous to claim nfts themselves are harmless. It would be very easy to fall victim to the free NFT scam if you took the above comments at their word. So I'm here to educate you why you should never interact with a smart contract you don't trust. What is an NFT?An NFT is just a smart contract that follows a simple set of rules. A smart contract is a set of functions that contain code that can change state on the crypto networks when users submit transactions. On Ethereum, an NFT is any contract that has the following functions: The code inside each function is written by the smart contract developer, and should implement the functionality required by every NFT. For example, almost all NFTs should be transferable. This could mean selling it on OpenSea, or simply using MetaMask to send it to the wallet of a friend. No matter where the trade is initiated, the To make this happen, the developer should implement the Looks good, what's the problem?In order to execute The problem is, that any function can contain any code. This means that a malicious developer could write a smart contract that looks like this: It's a functional NFT contract. But when you sign the transaction, the malicious code runs too. You thought you were sending an NFT to a friend, but as far as the network is concerned, you've also just given permission to send all your assets to the scammer's wallet. Congratulations, you hacked yourself. There is no safe way to interact with a contract you do not trust.In the words of /u/Da_Notorious_HAM There is ONE exception. Your wallet or marketplace UI may allow you to hide NFTs - this is the only safe way to declutter your wallet, as it's a superficial action rather than something that changes data on-chain. [link] [comments] |
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments