# Alchemy Road to Web3 活动前序:准备工作

By [Licrazy](https://paragraph.com/@doger) · 2022-08-25

---

**本教程主要致力于解决许多小伙伴在本地搭建环境所遇到的各种问题，所以教程主要是通过网页端工具进行代码编译,减少由于本地环境不兼容导致的许多小白问题。**

**教程的编写主要是在@hymnxxk#6345上的优化而成。**

主要是通过将github代码库与replit连接，并在replit网页上打开代码库进行代码编译，完成任务。

每周任务准备的通用步骤：

**1、设置好科学上网工具（很关键）**

**2、注册**[**https://github.com/**](https://github.com/) **（已有的跳过），并登录。**

**3、注册**[**https://replit.com/**](https://replit.com/) **（已有的跳过，可以用github直接登陆），登录自己的replit，并与和github账号连接同步，操作如下：**

（1）点击“create”按钮，然后选择“import from github”

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

（2）继续点击“Connect GitHub to import your private repos.”

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

（3）若前面保持了github的登录，则直接点如下图红框处，否则会进入github登录界面重新登录，然后再次回到上一步操作。

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

（4）等一小段时间，会回到下图页面，再次点击红框处（显示已与前不同）

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

（5）弹出新网页，会到下图页面，先选图中“only select repositories”，再选“All repositories”，才会让“Save”按钮变亮，然后点击“save”。

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

（6）再次回到replit，点击“create”，“import from github”，下图2可以看到自己github上面自己创建的各种代码库，表示replit已与github链接上，为每周任务做好准备。

**_（注：图中的代码库为我已经做完任务的仓库，我们每次做任务之前都需要在github上面创建代码仓库，然后从这一步导入到replit，这是所有任务开始的基础，一定要看明白）_**

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

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

**4、注册**[**https://www.alchemy.com/**](https://www.alchemy.com/) **并创建Api**

（1）我们直接通过Gmail账号登陆,无需注册。

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

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

（2）创建API

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

**5、导出metamask私钥**

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

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

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

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

---

*Originally published on [Licrazy](https://paragraph.com/@doger/alchemy-road-to-web3)*
