> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tenderly.co/llms.txt
> Use this file to discover all available pages before exploring further.

# 将合约转换为钱包

> 在 Tenderly 中将智能合约转换为 Contract Wallet，以便与 EOA 钱包一起跟踪其交易，并可随时撤销转换。

我们可以从将任何合约添加到项目开始：

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.49.40.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=08d73815cc614977b4c1c52992fdccbc" alt="" width="2384" height="1354" data-path="images/Screenshot 2021-10-14 at 13.49.40.webp" />

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.50.09.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=a188c89e4e8337e861984b694138f611" alt="" width="2384" height="1010" data-path="images/Screenshot 2021-10-14 at 13.50.09.webp" />

在左侧进入 [**Contracts**](/developer-explorer/contracts) 标签页并点击我们添加的合约，我们将看到合约概览，其中包含一个新选项——**Convert to Wallet**：

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.51.26.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=fc4477d61e24f8b75f3de9bba03e5b9d" alt="" width="2384" height="1356" data-path="images/Screenshot 2021-10-14 at 13.51.26.webp" />

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.51.57.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=0ad68f9b411f8821ff51556abded7539" alt="" width="2384" height="1356" data-path="images/Screenshot 2021-10-14 at 13.51.57.webp" />

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.52.24.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=883b7e70e360a5b22a855c8261808fed" alt="" width="2384" height="1356" data-path="images/Screenshot 2021-10-14 at 13.52.24.webp" />

您可以看到我们现在有两种[钱包](/developer-explorer/wallets)类型 - EOA 和 **Contract Wallet**。它们之间的区别在于我们可以随时将合约钱包转换回合约：

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.53.48.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=06e23d4a8ccc546336f00f41dc26801e" alt="" width="2384" height="1356" data-path="images/Screenshot 2021-10-14 at 13.53.48.webp" />

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.54.06.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=d50f2ecd83ab375ca4b911aff91ac868" alt="" width="2384" height="1356" data-path="images/Screenshot 2021-10-14 at 13.54.06.webp" />

您还可以在添加钱包流程中直接将合约转换为钱包：

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.55.09.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=732d88f4a7eff1a5eb2e714b48007ffd" alt="" width="2384" height="1356" data-path="images/Screenshot 2021-10-14 at 13.55.09.webp" />

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/Screenshot%202021-10-14%20at%2013.55.38.webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=7be378b67bbd4a856734ecbde3a16b97" alt="" width="2384" height="1356" data-path="images/Screenshot 2021-10-14 at 13.55.38.webp" />

对于添加合约流程中的合约钱包也适用同样的规则：

<img src="https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/image%20(89)%20(1)%20(1).webp?fit=max&auto=format&n=XsEZlaGXYskrtN68&q=85&s=5dc5bf391308533877a701605e22134f" alt="" width="2384" height="1356" data-path="images/image (89) (1) (1).webp" />
