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

# EIP-7702 升级教程

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

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

<figure><img src="/files/rCBoAGPtAJDwap1ZMnWr" alt=""><figcaption></figcaption></figure>

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

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

<figure><img src="/files/AmUi4IciJZBN77UFK2J2" alt=""><figcaption></figcaption></figure>

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

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

<figure><img src="/files/fv4tbIppNO0KHxnO1Epu" 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. **备份密钥**：密钥的离线保存和合理使用依然很重要。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.tokenpocket.pro/cn/wallet-operation/protocol/eip7702-upgrade.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
