# 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>                        |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chainide.gitbook.io/chainide-chinese/chainide/15.-starknet-ide/1.-starknet-ide-huan-jing-pei-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
