> For the complete documentation index, see [llms.txt](https://chainide.gitbook.io/chainide-chinese/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chainide.gitbook.io/chainide-chinese/chainide/15.-starknet-ide/1.-starknet-ide-huan-jing-pei-zhi.md).

# 1. Starknet IDE 环境配置

## 1. 新建 Starknet 项目

首先进入  [ChainIDE](https://chainide.com/)  的入口页面，点击 Code Smarter。

<figure><img src="/files/kt5oKAFL6zVW1iWNGr9Q" alt=""><figcaption></figcaption></figure>

这里会选择你的登录方式，有 Github 和 Guest 两种。教程中选择 GIthub 登录，因为后面 Sandbox 的使用必须是采用 GIthub 登录的用户才能使用。

<figure><img src="/files/gRiPmIAgmkz1nt2a4kqD" alt=""><figcaption></figcaption></figure>

点击 New Project 按钮。

<figure><img src="/files/5XJF3uouSH1IPZ5tEOcs" alt=""><figcaption></figcaption></figure>

出现一个弹窗，在弹窗的左侧选择 Starknet，再点击一个项目模板创建项目。

<figure><img src="/files/eyltN2AA2ZyzLsA2AH01" alt=""><figcaption></figcaption></figure>

## 2. 配置钱包

Starknet IDE 提供了对 Argent X 和 Braavos 两种钱包的支持。

### I. Argent X

> Argent X 官方下载网址: [https://www.argent.xyz/argent-x](https://www.argent.xyz/argent-x/)

### II. Braavos

> Braavos 官方下载网址：[https://braavos.app](https://braavos.app/)

## 3. 获取测试代币

水龙头是获取测试代币的地方，请使用它们确保您的钱包拥有足够的代币来支付部署和交易费用。

可以在以下链接中领取测试代币:

| Network          | LINK                                                                      |
| ---------------- | ------------------------------------------------------------------------- |
| Starknet Sepolia | [https://starknet-faucet.vercel.app](https://starknet-faucet.vercel.app/) |
| Starknet Sepolia | <https://blastapi.io/faucets/starknet-sepolia-eth>                        |
| Starknet Sepolia | <https://www.alchemy.com/faucets/starknet-sepolia>                        |
