> For the complete documentation index, see [llms.txt](https://help.tpwallet.io/cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tpwallet.io/cn/wallet-operation/protocol/eip7702-upgrade.md).

# EIP-7702 升级教程

使用 TokenPocket 轻松升级 EIP - 7702

### <mark style="color:blue;">升级入口：</mark> <a href="#upgrade-entry" id="upgrade-entry"></a>

打开 TokenPocket 点击详情菜单，在\[钱包详情]中点击高级模式，选择\[智能钱包管理]。

<figure><img src="https://3236963393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZCSGxZxDUFXGuknjRHbB%2Fuploads%2F27OfYzP9zBEzvOoMdIb5%2F1.png?alt=media&amp;token=982ae955-3758-4a22-91c0-54ff9df98589" alt=""><figcaption></figcaption></figure>

### <mark style="color:blue;">升级钱包：</mark> <a href="#upgrade-wallet" id="upgrade-wallet"></a>

在\[智能钱包管理]中可以查看关于 EIP - 7702 的简介，了解后点击\[升级]，弹出的签名界面中核对好相关信息，点击\[确认]上链后即可升级为智能钱包。

<figure><img src="https://3236963393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZCSGxZxDUFXGuknjRHbB%2Fuploads%2Fi5X7eC0cBuDzEuO4CH2f%2F2.png?alt=media&amp;token=4476c503-041e-4704-ae60-41dbcc699a0e" alt=""><figcaption></figcaption></figure>

### <mark style="color:blue;">恢复钱包：</mark> <a href="#recover-wallet" id="recover-wallet"></a>

同样在\[智能钱包管理]界面中，点击\[重置]在弹出的签名界面中执行签名后，就可以恢复成默认的EOA钱包。

<figure><img src="https://3236963393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZCSGxZxDUFXGuknjRHbB%2Fuploads%2FLOWSN3o16qFxr11eyY6A%2F3.png?alt=media&amp;token=857d7e30-acd1-48a6-8970-f048ad5d89af" alt=""><figcaption></figcaption></figure>

### <mark style="color:blue;">怎么安全使用 EIP-7702？</mark> <a href="#how-to-use-eip-7702-safely" id="how-to-use-eip-7702-safely"></a>

想用 EIP-7702 的新功能？记住这几点：

1. **用正规钱包**：选 [TokenPocket](https://www.tp.xyz) 这样靠谱的工具。
2. **谨慎签名**：来路不明的第三方链接要谨慎访问和签名执行。
3. **检查合约**：升级前确认合约安全，最好参考官方文档或社区推荐。
4. **备份密钥**：密钥的离线保存和合理使用依然很重要。
