# إجراء تحويل بسيط

أرسل 2 wei من أحد محافظك مثل 0xf0e0CA2704D047A7Af27AafAc6D70e995520C2B2 إلى محفظة أخرى مثل 0xa3349dE31ECd7fd9413e1256b6472a68c920D186.

{% code overflow="wrap" %}

```bash
npm install ethers
```

{% endcode %}

{% code overflow="wrap" %}

```sh
node -e "const { ethers } = require('ethers'); (async () => { const pk = '241bfd22ba3307c78618a5a4c04f9adbd5c87d633df8d81cfb7c442004157aba'; const to = '0xa3349dE31ECd7fd9413e1256b6472a68c920D186'; const provider = new ethers.JsonRpcProvider('http://localhost:8545'); const wallet = new ethers.Wallet(pk, provider); const tx = await wallet.sendTransaction({ to, value: ethers.parseEther('0.00000001') }); console.log(tx.hash); })()"
```

{% endcode %}

قارن تفاصيل المعاملة بين Geth و Solana كما هو موضح أدناه.

## قارن المعاملة على Geth و Solana

استرجع المعاملة على OP Geth (**استبدل بـ هاش معاملتك أدناه**)

{% code overflow="wrap" %}

```bash
cast tx 0x0cac148ca9010016c2f5cc6edbc87d1fca31bcdeb85a1e606f0ef95d6d30f491 -r http://localhost:8545
```

{% endcode %}

استرجع المعاملة على Solana باستخدام العميل الخفيف (**استبدل بـ هاش معاملتك أدناه**)

{% code overflow="wrap" %}

```bash
cast tx 0x0cac148ca9010016c2f5cc6edbc87d1fca31bcdeb85a1e606f0ef95d6d30f491 -r http://localhost:9090
```

{% endcode %}

يجب أن تحتوي هذه المعاملات على جميع الحقول نفسها، على سبيل المثال:

```
blockHash            0xe01b6e98ec758244cafb4adadf95ad38c01da1bb7a5bf1a401cd71e276d6a804
blockNumber          2
from                 0xf0e0CA2704D047A7Af27AafAc6D70e995520C2B2
transactionIndex     0
effectiveGasPrice    1000000000

gas                  1560520
gasPrice             1000000000
hash                 0x0cac148ca9010016c2f5cc6edbc87d1fca31bcdeb85a1e606f0ef95d6d30f491
input                0x
nonce                1
r                    0x4fa8feced392855b090044ad2577482100253151d59c55da14aec3d58400f9b4
s                    0x5130a462ea53992a3e03ad5c51494cb694d01d14afcc3a05bdc14346c7505c79
to                   0xa3349dE31ECd7fd9413e1256b6472a68c920D186
type                 0
v                    1
value                10000000000
```


---

# 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/rome-l2-setup/test-your-l2/do-simple-transfer.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.
