如何撤销授权How to revoke approvals
前面讲过,授权=允许某合约动用你钱包里某代币的额度。撤销授权(Revoke),就是主动把这份权限收回,让该合约不再能动你的币。哪怕当初授的是无限额度,撤销后它的权限就归零了,相当于把敞开的后门重新锁上。As covered earlier, an approval = letting a contract spend a certain allowance of one token in your wallet. Revoking an approval means actively taking that permission back so the contract can no longer touch your tokens. Even if you originally granted an unlimited allowance, revoking resets its permission to zero — like re-locking a back door that was left wide open.
什么时候该撤销?When should you revoke?
- 某个协议用完了、以后不再用You're done with a protocol and won't use it again
- 发现自己给出过陌生的、不记得的授权You find approvals you don't recognize or remember granting
- 当初图省事授了「无限」,想收窄风险You granted "unlimited" for convenience and now want to narrow the risk
- 某项目被曝出漏洞或跑路,赶紧撤掉对它的授权A project is exposed to have a vulnerability or has rug-pulled — revoke your approval to it right away
撤销的一般流程:先用钱包体检工具或授权管理页查看你地址下的授权清单——上面会列出你授权过的代币、对应的合约、额度;找到要收回的那一项,点撤销,钱包会弹出一笔交易请你确认;签名并支付少量gas后,这笔授权即被收回。注意撤销本身是一笔链上交易,需要一点gas费。The general process: first use a wallet checkup tool or an approval manager page to view the list of approvals under your address — it shows the tokens you've approved, the corresponding contracts, and the allowances. Find the one you want to take back, click revoke, and your wallet pops up a transaction to confirm; once you sign and pay a little gas, that approval is revoked. Note that revoking is itself an on-chain transaction and costs a bit of gas.
关于工具:像revoke.cash这类公开的授权管理网站可以帮你查看和撤销授权,属于第三方公开工具,请自行核实、自担风险,本站不作背书。使用时同样守住老规矩:只从可信来源进入、核对网址、绝不输入助记词、看清每一笔签名内容。撤销授权是好习惯,但操作过程本身也要防钓鱼。About tools: public approval-manager sites like revoke.cash can help you view and revoke approvals. They are third-party public tools — verify them yourself and use at your own risk; this site does not endorse them. Stick to the same old rules when using them: only enter from a trusted source, check the URL, never enter your seed phrase, and read the content of every signature. Revoking approvals is a good habit, but the process itself still needs phishing protection.
📝 本节测验📝 Quiz
1. 撤销授权(Revoke)的作用是?1. What does revoking an approval do?
2. 关于撤销授权的花费,正确的是?2. Regarding the cost of revoking an approval, which is correct?
3. 下面哪种情况最该尽快撤销授权?3. In which case should you revoke an approval most urgently?
4. 使用revoke.cash等第三方授权管理工具时,应抱什么态度?4. What attitude should you take toward third-party approval managers like revoke.cash?
5. 为什么建议定期清理旧授权?5. Why is it recommended to clean up old approvals regularly?
❓ 常见问题❓ FAQ
撤销授权会不会把我的币也一起转走或弄丢?Will revoking an approval move or lose my tokens too?
不会。撤销只收回「可被动用的权限」,你的代币本金一直在自己钱包里不动。它改变的只是别人能不能碰你的币,付出的仅是一点点gas费。No. Revoking only takes back the "permission to spend"; your token principal stays untouched in your own wallet. All it changes is whether others can touch your tokens, and all it costs is a tiny bit of gas.
我授权过很多合约,必须全部撤销吗?I've approved many contracts — do I have to revoke them all?
不必一刀切。正在使用的协议保留即可,重点撤销那些用不到的、陌生的、无限额度的,以及问题项目的授权。按需保留、定期清理,兼顾方便与安全。No need for a blanket approach. Keep the protocols you're actively using, and focus on revoking approvals that are unused, unfamiliar, unlimited, or tied to problematic projects. Keep what you need and clean up regularly — balancing convenience and safety.
撤销之后,以后还想用这个协议怎么办?After revoking, what if I want to use the protocol again later?
再次使用时重新授权一次即可,和第一次一样。为安全起见,重新授权时可以只授本次所需额度,而不是又选无限,用完再撤,形成良性循环。Just approve again next time, the same as the first time. For safety, when re-approving you can grant only the allowance needed this time rather than picking unlimited again, then revoke when you're done — forming a healthy cycle.