# 低成本跨链换xDAI

By [鞭炮0xfirework](https://paragraph.com/@0xfirework) · 2021-11-19

---

操作项目时，需要xDAI，此时如果通过主网DAI去换xDAI会比较费gas。

可通过跨链来得到xDAI，低成本实现目的。

1.首先从交易所提DAI到BSC链，此步骤在此不赘述。

2.打开跨链桥 地址：[https://xpollinate.io/](https://xpollinate.io/)

3.从BSC跨链到xDAI，如图选择BSC上的DAI，跨链到xDAI上。

大约需要0.55DAI作为手续费，注意操作跨链时预留一点币做手续费。

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

4.签名确认，然后等待一段时间，约5分钟。

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

5.点击Claim，领取转换的币。

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

6.钱包确认一下

点击网页的Transaction History，可查看此次交易记录。

点击可以copy 合约地址xDAI，把小狐狸切换在XDAI网络增加代币，就会看到我们转过的xDAI了。

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

**附：如何在小狐狸中增加网络？**

打开[https://chainlist.org/](https://chainlist.org/)

第一步：右上角链接你的钱包

第二步：搜索想添加的网络

第三步：新增到钱包

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

**手动新增网络方法：**

1.打开 Metamask，然后从网络下拉列表中选择“自定义 RPC”。

2.在“自定义 RPC”设置中，添加 xDai 网络详细信息并单击保存：

Network Name: xDai

New RPC URL: [https://rpc.xdaichain.com/](https://rpc.xdaichain.com/)

Chain ID: 0x64

Symbol: xDai

Block Explorer URL: [https://blockscout.com/xdai/mainnet](https://blockscout.com/xdai/mainnet)

参考链接：[https://rabbithole.mirror.xyz/Oxs8NXUGG2Gz4FsNmh509tBj5LEzJNvpt\_IAYOFRVmg](https://rabbithole.mirror.xyz/Oxs8NXUGG2Gz4FsNmh509tBj5LEzJNvpt_IAYOFRVmg)

---

*Originally published on [鞭炮0xfirework](https://paragraph.com/@0xfirework/xdai)*
