# 印度新公链L1-Shardeum     姆级教程+智能合约部署  

By [kool](https://paragraph.com/@kool) · 2023-04-10

---

作者：Lin Dora 推特：[@Taiyanghuaaa](https://twitter.com/Taiyanghuaaa)

项目篇：

**关于印度新公链L1-shardeum，种子轮融资了1820w，投资方也有很多大牌，在今年的3月份，他们启动了估值2.5的融资。**

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

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

教程开始：

**1.在小狐狸钱包中添加Shardeum网络，打开下边的网站，搜索Shardeum，连接钱包，选择Shardeum Liberty 2.X,添加到钱包中**

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

**2.领取测试代币$SHM**

2-1加入官方DC

2-2这三个随便点点，应该就可以进DC了，你的左侧就会出现很多频道列表

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

2-3下滑频道列表，找到faucet-2.1频道，输入/faucet命令，然后address填写你的小狐狸钱包地址，点击发送，等待1分钟左右，你的钱包就会收到测试代币。

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

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

**3.Swapped 测试网交互**

3-1打开Swapped 测试网，连接好钱包

3-2选择用SHMD兑换USDC,还有兑换SWPD,多兑换几次，因为SWAPPED还没有发币，我们都交互下，可以增加以后的空投机会。

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

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

3-3点击左侧的Pool，选择Add,然后选择SHM+USDC添加流动池，在钱包确认

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

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

3-4点击View Liquidity Positions，可以看到我们刚才添加的流动池

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

3-5然后我们点击Remove,移除一半的流动池，交互完成。

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

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

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

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

**4.Spriyo NFT交互**

4-1打开[Spriyo官网](https://www.spriyo.xyz/)，连接钱包

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

4-2点击右上角的Create,再点击Single.

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

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

4-3上传图片，填写信息，点击Create，然后在小狐狸钱包中确认即可。

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

**接下来，我们开始在Shardeum部署智能合约。**

**1.打开网站**

**2.填写代币信息，以及数量，点击Open in Remix**

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

**3.界面会自动跳转到**[**Remix**](https://remix.ethereum.org/?#code=Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC45OwoKaW1wb3J0ICJAb3BlbnplcHBlbGluL2NvbnRyYWN0c0A0LjguMi90b2tlbi9FUkMyMC9FUkMyMC5zb2wiOwoKY29udHJhY3QgRG9yYSBpcyBFUkMyMCB7CiAgICBjb25zdHJ1Y3RvcigpIEVSQzIwKCJEb3JhIiwgIkxpbiIpIHsKICAgICAgICBfbWludChtc2cuc2VuZGVyLCAxODg4ODggKiAxMCAqKiBkZWNpbWFscygpKTsKICAgIH0KfQo&lang=en&optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.18+commit.87f61d96.js)**,我们选择左侧第三个按钮，然后点击Compile contract进行编译，当左侧的第三个按钮出现绿色的对勾，说明编译成功。**

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

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

**4.我们选择左侧第四个部署按钮，在ENVIRONMENT的选项中选择小狐狸钱包，然后在钱包中确认，最后点击Deploy**

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

**5.点击Deploy以后，还需要在小狐狸钱包再确认一次，最后出现如下图所示，就说明部署成功。**

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

今天的教程到这里就结束了，目前Shardeum上的生态不是很多，我会为大家带来更多更好的教程。

撒花完结。。。累死了。。。

---

*Originally published on [kool](https://paragraph.com/@kool/l1-shardeum)*
