# تشغيل Uniswap (اختياري)

اختياريًا، يمكنك نشر وتشغيل Uniswap على L2 الخاص بك. ستحتاج إلى رصيد كافٍ لتشغيل ذلك.

## تمويل المحافظ لـ Uniswap

نَقِل RSOL إلى هذه المحافظ:

* 0xa3349dE31ECd7fd9413e1256b6472a68c920D186
* 0x6970d087e7e78a13ea562296edb05f4bb64d5c2e
* 0xaA4d6f4FF831181A2bBfD4d62260DabDeA964fF1

{% code overflow="wrap" %}

```
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.1') }); console.log(tx.hash); })()"

node -e "const { ethers } = require('ethers'); (async () => { const pk = '241bfd22ba3307c78618a5a4c04f9adbd5c87d633df8d81cfb7c442004157aba'; const to = '0x6970d087e7e78a13ea562296edb05f4bb64d5c2e'; 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.1') }); console.log(tx.hash); })()"

node -e "const { ethers } = require('ethers'); (async () => { const pk = '241bfd22ba3307c78618a5a4c04f9adbd5c87d633df8d81cfb7c442004157aba'; const to = '0xaA4d6f4FF831181A2bBfD4d62260DabDeA964fF1'; 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.1') }); console.log(tx.hash); })()"
```

{% endcode %}

## اختبار Uniswap

{% code overflow="wrap" %}

```bash
docker run --network="docker_net" --name="uniswap" -e NETWORK='op-geth' -e CHAIN_ID='98989897' romeprotocol/uniswap-v2-core:latest yarn test
```

{% endcode %}


---

# 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/run-uniswap-optional.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.
