# 1.3U交互Zksync和LayerZero
 

By [andyxy23](https://paragraph.com/@andyxy23) · 2023-06-07

---

LayerZero 和 Zksync 都还没发币，本文主要介绍在Zksync mint NFT 然后通过LayerZero 跨链到Matic

看下图 只需要1.3U 就可以完成 Zksync 2个txn + 交互 LayerZero，低价一鱼多吃！

![1.22U](https://storage.googleapis.com/papyrus_images/46690001855a8a9b3f5fd739ab9378d9415d3f4080327f2f5c0678d2f6e03fcb.png)

1.22U

* * *

1）打开以下合约
--------

[https://explorer.zksync.io/address/0x31DCD96f29BD32F3a1856247846E9d2f95C2b639#contract](https://explorer.zksync.io/address/0x31DCD96f29BD32F3a1856247846E9d2f95C2b639#contract)

2）连接钱包后，点击mint
--------------

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

mint

3）根据txn hash 查询log 得到 NFT ID
----------------------------

![get nft id](https://storage.googleapis.com/papyrus_images/a84cc8388a96cf5e445223e13c6c593fe00eb966a637e815d1e9634aa772bc17.png)

get nft id

4）跨链NFT
-------

![cross chain](https://storage.googleapis.com/papyrus_images/3f7689bbc2e40962b36a5255511dd01d752ba6b6807c64f4467810f183e8e188.png)

cross chain

这里gas可以设置5xxx开头，亲测可以降低gas成功

![gas2](https://storage.googleapis.com/papyrus_images/6f7e3fab03fe5059cf639016348143647925f29847729d598cd4dc917dc0c02b.png)

gas2

4）去matic 查询是否NFT是否到位
--------------------

点击以下地址，输入你的钱包地址查看ERC721，发现之前的

129287 NFT 已经跨链成功

[https://polygonscan.com/](https://polygonscan.com/)

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

---

*Originally published on [andyxy23](https://paragraph.com/@andyxy23/1-3u-zksync-layerzero)*
