# EVM合并转移（需要电脑）

By [Untitled](https://paragraph.com/@0xab1d69d3b0641959b296646c11d41bb2f024c999) · 2023-12-13

---

1.打开remix

[https://remix.ethereum.org/](https://remix.ethereum.org/)

2.

![](https://storage.googleapis.com/papyrus_images/d5c4219853b8a1058688cd9ad38d0b4db485d6bd7a900db69db309f53a25d2ad.png)

3.将合约源码复制进来

![](https://storage.googleapis.com/papyrus_images/e72049aad9793225adcfb9ee16cb2fa4b0bfa16aee8ee4962feb2f6580bbe6ff.png)

4.选择injected provider5

![](https://storage.googleapis.com/papyrus_images/f9e35928e0b5db13e4c0c44ecc4daf75b8ffbab52b860077508132112db262a1.png)

5.

![](https://storage.googleapis.com/papyrus_images/c86b32cdcc3f75b90a262ea733e2c1a89aed385df1e45313bfacce0a73fd9961.png)

6\. 找到processtransaction函数

![](https://storage.googleapis.com/papyrus_images/5145b91a99fb76e61511dcd4007a80c3b694ba2df8fa5c7f8b2b3351e8f2e568.png)

7.构造参数

\[\[2,3\], \[\["0xAB1D69D3B0641959b296646C11D41BB2F024C999", 2000, ""\]\]\]

![](https://storage.googleapis.com/papyrus_images/ab237b44b8617903057b55b31b105e81d0bc9b76f18ee23d4322aa1a46201548.png)

  
你需要修改的地方  
1\. utxo编号  
2\. 转移地址  
3\. 转移数量必须等于所有utxo数量的总和，创世utxo是1000一张，所以这里我填2000  
  
将参数填进去，签名即可完成转移

8.新的utxo

![](https://storage.googleapis.com/papyrus_images/2a9b4a20d42980f794fd9617fb0391cdf243f22c746c3203de3ce2b663bad745.png)

合并完成之后，会销毁掉之前的utxo，并创造新的一张utxo，这里我销毁了2,3，创建出了210002。在下面这个事件查看

[https://polygonscan.com/tx/0xdcc6e48f9ada3a37e25cb29c5ae63fcacd52ae291cc98b5b14b08899faf21a8d#eventlog](https://polygonscan.com/tx/0xdcc6e48f9ada3a37e25cb29c5ae63fcacd52ae291cc98b5b14b08899faf21a8d#eventlog)

9.由于本人技术太菜，亟需程序员大佬帮助，我本人并不擅长前端，如果有大佬有意向，可以自己开发市场我可以提供技术帮助，泼天的富贵就泼给你了

---

*Originally published on [Untitled](https://paragraph.com/@0xab1d69d3b0641959b296646c11d41bb2f024c999/evm)*
