# كيفية إيداع SOL إلى RSOL

### 1. المتطلبات المسبقة

* محفظة سولانا (Phantom، Solflare، Backpack، إلخ)
* محفظة EVM/L2 (MetaMask، Rabby، Coinbase Wallet، إلخ)
* تثبيت واجهة سطر أوامر سولانا:

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

* (اختياري) حساب GitHub → يزيد حدود نقاط الصنبور (airdrop).

***

### 2. الخطوة 1 — تمويل محفظة سولانا الخاصة بك

***

#### مسار الاختبار (Testnet)

* تطبيق الإيداع: <https://swap.testnet.romeprotocol.xyz/>
* صنبور الاختبار (Faucet):[ https://faucet.solana.com](https://faucet.solana.com) → اختر Devnet سولانا

**صنبور سولانا (واجهة ويب)**

1. اذهب إلى[ https://faucet.solana.com](https://faucet.solana.com).
2. اختر Devnet.
3. أدخل عنوان محفظة سولانا الخاص بك.
4. (اختياري) اربط GitHub للحصول على حصص أكبر.
5. اطلب airdrop → تحقق من المحفظة للحصول على SOL على Devnet.\ <br>

**واجهة سطر الأوامر (الطرفية)**

```
# احصل على عنوان المحفظة
solana address --url https://api.devnet.solana.com

# أرسل airdrop بقيمة 2 SOL إلى زوج المفاتيح الافتراضي
solana airdrop 2 --url https://api.devnet.solana.com

# أرسل airdrop بقيمة 2 SOL إلى عنوان محفظة محدد
solana airdrop 2 <WALLET_ADDRESS> --url https://api.devnet.solana.com

# تحقق من الرصيد
solana balance --url https://api.devnet.solana.com
```

***

### 3. الخطوة 2 — الاتصال بتطبيق الإيداع Rome

1. افتح التطبيق الصحيح:
2. واجهة تبادل Testnet: <https://swap.testnet.romeprotocol.xyz/>
3. انقر على اتصال المحفظة → اختر محفظة سولانا الخاصة بك.
4. تأكد من أن المحفظة على الشبكة الصحيحة (Testnet).

***

### 4. الخطوة 3 — وصل محفظة EVM / L2 الخاصة بك

1. في التطبيق، انقر على ربط محفظة EVM.
2. اختر محفظة EVM الخاصة بك (MetaMask، Rabby، Coinbase Wallet، إلخ).
3. وافق على طلب الاتصال.

***

### 5. الخطوة 4 — إيداع SOL → RSOL

1. أدخل كمية SOL للإيداع.
2. وافق على المعاملة في محفظة سولانا الخاصة بك.
3. بعد التأكيد، سيظهر RSOL في محفظة EVM الخاصة بك.
4. أضف توكن RSOL يدويًا إذا لم يظهر تلقائيًا.

***

### 6. استكشاف الأخطاء وإصلاحها

* خطأ في الصنبور / تم الوصول للحد → اربط GitHub أو انتظر قبل المحاولة مرة أخرى.
* فشل airdrop عبر CLI → جرب كميات أصغر (مثل 1 SOL) أو تحقق من نقطة نهاية RPC.
* عدم ظهور RSOL في المحفظة → استورد عنوان عقد توكن RSOL يدويًا.
* مشكلات اتصال المحفظة → حدث التطبيق وتأكد من أنك على الشبكة الصحيحة.<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/ar/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.
