Rome Docs
  • Getting Started
  • Overview of Rome
    • Rome Scales Bitcoin
      • How Rome Scales Bitcoin
    • Rome Scales Ethereum
      • How Rome Scales Ethereum
    • Rome Scales Rollups
      • How Rome Scales Rollups
    • Rome Provides Interop with Cosmos
      • How Rome Provides Interop with Cosmos
  • Rome L2 Setup
    • Setup your L2
      • Choose your Chain ID
      • Download Rome Repos
      • Register your L2
      • Initialize your L2
      • Setup OP Geth Node
      • Run Block Explorer
      • Run on Remote Server
        • Setup Remote Server
        • Setup Certificate
    • Test your L2
      • Setup Metamask
      • Fund your Wallet
      • Check Wallet Balance
      • Do Simple Transfer
      • Run Uniswap (Optional)
  • Rome Interop
    • Rome SDK
    • Rome SDK Setup
      • Prepare Environment
      • Set Configuration
      • Run Rhea Example
      • Run Remus Example
      • Run Romulus Example
    • Remus: Cross-Rollup Atomicity
    • Romulus: Cross-Chain Atomicity
  • Rome EVM
    • How to use Rome EVM
    • RPC Information
    • Tutorial to deploy a smart contract on Rome EVM
  • Nexus: Rome's Based Sequencer
    • How Nexus Works
    • Transaction Flow
  • Shared Sequencer
    • Atomicity
    • Rome Transactions
    • Rhea
    • Hercules
    • Data Availability
    • Settlement
Powered by GitBook
On this page
  • Fund wallets for Uniswap
  • Test Uniswap

Was this helpful?

  1. Rome L2 Setup
  2. Test your L2

Run Uniswap (Optional)

Deploy and test Uniswap contracts

Optionally, you can deploy and run Uniswap on your L2. You will need sufficient balance to run this.

Fund wallets for Uniswap

Transfer RSOL to these wallets:

  • 0xa3349dE31ECd7fd9413e1256b6472a68c920D186

  • 0x6970d087e7e78a13ea562296edb05f4bb64d5c2e

  • 0xaA4d6f4FF831181A2bBfD4d62260DabDeA964fF1

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); })()"

Test Uniswap

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

Last updated 2 days ago

Was this helpful?