Search the Community
Showing results for tags 'tokens'.
How to Revoke Ethereum or Binance Smart Chain Smart Contract Spending Allowances Many people are unaware that when you interact with defi applications/dapps you usually end up allowing the smart contract to have unlimited allowance of spending those tokens on specific smart contract. This is a dangerous practice and is extremely unsafe. This guide will work for both Ethereum and Binance Smart Chain To protect yourself better, simply find the token address of the specific token you want to deny spending of, in this example I will use the token BAKE https://bscscan.com/token/0xE02dF9e3e622DeBdD69fb838bB799E3F168902c5 - BAKE BEP20 Token Contract You want to take that token address and go to the actual Contract Page of the Token: https://bscscan.com/address/0xE02dF9e3e622DeBdD69fb838bB799E3F168902c5#writeContract Once you are on this page under the "Write Contract" option, click the "Connect to Web3" to connect your Metamask wallet to Bscscan/Etherscan. You will then input the address of a smart contract you want to deny/revoke this token spending from, e.g. a LP contract or staking contract, etc. You set the amount to 0 Simply hit "Write" and Metamask should popup asking to complete the transaction. Done. You have now disallowed/set the spending amount to 0 of that token to a specific smart contract. You can rest assured knowing some random smart contract you allowed last summer can't spend your fortune of aped tokens.