# @shardeum很多人不知道的互交方式。部署合约

By [lhao](https://paragraph.com/@lhao9949) · 2022-11-20

---

Shardeum 是一个新的基于 EVM 的 L1，筹集了 1820 万美元

开发人员承诺大约 100k TPS 的吞吐量和低廉的交易成本，即 0.01 美元。

很多测试大家已经做麻了。这次来个不一样的

很简单，小白也可以。我们将部署两个合约。一个 ERC20 代币和 NFT - ERC721 合约。

首先我们先部署代币合约

1.打开这个网站

[https://docs.openzeppelin.com/contracts/4.x/wizard](https://docs.openzeppelin.com/contracts/4.x/wizard)

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

1.  Premint输入代币数量
    
2.  打开右上角open in Remix
    
    等代加载完成出现下图。点击编译
    

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

编译后，转到选项卡 DEPLOY & RUN TRANSACTIONS（屏幕截图上的数字 1），选择 ENVIRONMENT - Injected Provider Metamask（您必须切换 Shardeum 网络）。

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

按部署！

跳出小狐狸签名

确认交易后，打开下面网址输入自己地址查看是否有使用 Contract 方法的交易。如果有，那么您已正确完成所有操作查看是否有使用 Contract 方法的交易。如果有，那么您已正确完成所有操作

[https://explorer-liberty10.shardeum.org/](https://explorer-liberty10.shardeum.org/)

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

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

合约交互。找到转帐，在第一行写下你的地址和你想自己转帐的金额（1000000000000000000000 是 1000 个代币）。确认交易并在资源管理器中查看

累了，有时间在写nft教程

---

*Originally published on [lhao](https://paragraph.com/@lhao9949/shardeum)*
