# 如何将 SOL 存入 RSOL

### 1. 前提条件

* Solana 钱包（Phantom、Solflare、Backpack 等）
* EVM/L2 钱包（MetaMask、Rabby、Coinbase Wallet 等）
* 已安装 Solana CLI：

`sh -c "$(curl -sSfL https://release.solana.com/stable/install"` <br>

* （可选）GitHub 帐户 → 可提高水龙头空投额度。

***

### 2. 第 1 步 — 为您的 Solana 钱包充值

***

#### 测试网流程

* 充值 dApp： <https://swap.testnet.romeprotocol.xyz/>
* 水龙头：[ https://faucet.solana.com](https://faucet.solana.com) → 选择 Solana Devnet

**Solana 水龙头（网页界面）**

1. 前往[ https://faucet.solana.com](https://faucet.solana.com).
2. 选择 Devnet。
3. 输入您的 Solana 钱包地址。
4. （可选）连接 GitHub 以获取更大空投。
5. 申请空投 → 在钱包中查看 Devnet SOL。\ <br>

**CLI（终端）**

```
# 获取钱包地址
solana address --url https://api.devnet.solana.com

# 向默认密钥对空投 2 SOL
solana airdrop 2 --url https://api.devnet.solana.com

# 向指定钱包地址空投 2 SOL
solana airdrop 2 <WALLET_ADDRESS> --url https://api.devnet.solana.com

# 检查余额
solana balance --url https://api.devnet.solana.com
```

***

### 3. 第 2 步 — 连接到 Rome Deposit dApp

1. 打开正确的 dApp：
2. 测试网兑换界面： <https://swap.testnet.romeprotocol.xyz/>
3. 点击 连接钱包 → 选择您的 Solana 钱包。
4. 确保钱包处于正确网络（测试网）。

***

### 4. 第 3 步 — 连接您的 EVM / L2 钱包

1. 在 dApp 中，点击 连接 EVM 钱包。
2. 选择您的 EVM 钱包（MetaMask、Rabby、Coinbase Wallet 等）。
3. 批准连接请求。

***

### 5. 第 4 步 — 存入 SOL → 获取 RSOL

1. 输入要存入的 SOL 数量。
2. 在您的 Solana 钱包中批准交易。
3. 确认后，RSOL 将出现在您的 EVM 钱包中。
4. 如果未自动显示，请手动添加 RSOL 代币。

***

### 6. 故障排查

* 水龙头错误/达到限制 → 连接 GitHub 或稍后重试。
* CLI 空投失败 → 尝试较小数量（例如 1 SOL）或验证 RPC 端点。
* 钱包中未显示 RSOL → 手动导入 RSOL 代币合约地址。
* 钱包连接问题 → 刷新 dApp 并确保您在正确的网络上。<br>

***

\ <br>


---

# 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://docs.rome.builders/zh/legacy/troubleshooting-guide/how-to-deposit-sol-to-rsol.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.
