Author

Topic: Defi - How do I remove the "Approve to spend" contract (Read 132 times)

legendary
Activity: 3808
Merit: 1723
Thanks everybody that replied. I actually tried googling the topic but came out with nothing. I did it the old fashion way and just sent everything to a new wallet to be safe.

I think the best way to do this is to limit how much the smart contract can spend, because allowing it to spend all the tokens is a security risk. Either way in the future I will check out those links and revoke any contracts that I signed.
legendary
Activity: 2170
Merit: 1789
Today one member shared https://revoke.cash/ but I never used it and I am curious about its safety. I don't want to put myself at risk by curiously trying new websites.
If I remember correctly features like this already exist on Etherscan. You can access the guide at https://info.etherscan.com/tokenapprovals/. So, there is no need to use another third-party website as long as you visit the right Etherscan website.

That being said, as long as the website is open source and you can verify/build it on your own, I think it is fine to use them if you don't find any malicious code. Relying too much on Etherscan is also not a good idea in the long run, but at the same time, trusting some new random websites is not a good idea either.

Hopefully, there is a better solution other than manually removing approval, such as automatic revoke that cost nothing other than a signature to prevent token draining or something similar. Spending a lot of gas to approve and re-approve is such a pain if you use ETH regularly.
sr. member
Activity: 854
Merit: 424
I stand with Ukraine!
You can revoke smart contract access with https://app.unrekt.net/

This guy was right if you want to revoke smart contract access is using that website or this https://allowance.beefy.finance/

If you play with DeFi you can actually limit before approving the smart contract or do any transcation the example is here
Some DeFi projects build their revoke tool for their users but the site I shared is the first one I knew about that feature.

Today one member shared https://revoke.cash/ but I never used it and I am curious about its safety. I don't want to put myself at risk by curiously trying new websites.
copper member
Activity: 2156
Merit: 983
Part of AOBT - English Translator to Indonesia
You can revoke smart contract access with https://app.unrekt.net/

This guy was right if you want to revoke smart contract access is using that website or this https://allowance.beefy.finance/

If you play with DeFi you can actually limit before approving the smart contract or do any transcation the example is here


Click edit permission and



and fill desired amount of token

Although if the cap is filled you need to reapprove the contract before make any transaction and you know approving contract need a fee

and yes make sure the website of DeFi and the smart contract because there is fake site and fake smart contract out there
sr. member
Activity: 854
Merit: 424
I stand with Ukraine!
I am playing around with certain defi's like Uniswap. When I want to swap a token, it asks me to approve a function which allows spending for a certain token such as "USDT". So I approve this and then I can make a swap with another token such as swapping USDT for WBTC.

However for security issues, is it possible to remove this "Approve to spend all my USDT"? Or is it not possible?

Do I just send all my left over USDT to a new address or do I need to make a completely new wallet and send it there?
You can revoke smart contract access with https://app.unrekt.net/
copper member
Activity: 2170
Merit: 1822
Top Crypto Casino
I believe you are using Metamask, Right?

If so, then this article might be helpful - https://support.metamask.io/hc/en-us/articles/6055177143579-How-to-customize-token-approvals-with-a-spending-cap

Do I just send all my left over USDT to a new address or do I need to make a completely new wallet and send it there?
This won't be necessary if you set the spending cap as instructed.
legendary
Activity: 3808
Merit: 1723
I am playing around with certain defi's like Uniswap. When I want to swap a token, it asks me to approve a function which allows spending for a certain token such as "USDT". So I approve this and then I can make a swap with another token such as swapping USDT for WBTC.

However for security issues, is it possible to remove this "Approve to spend all my USDT"? Or is it not possible?

Do I just send all my left over USDT to a new address or do I need to make a completely new wallet and send it there?
Jump to: