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
  • Nexus: Rome's Based Sequencer
    • How Nexus Works
    • Transaction Flow
  • 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
  • L2 EVM Setup
    • Prepare Config
    • Download Repos
    • Register your L2
    • Initialize your L2
    • Setup OP Geth Node
    • Run Block Explorer
    • Airdrop & Metamask
    • Check L2 State
    • Simple Transfers
    • Uniswap
    • Run on Remote Server
      • Setup AWS Server
      • Setup Certificate
  • Rome EVM
    • How to use Rome EVM
    • RPC Information
    • Tutorial to deploy a smart contract on Rome EVM
  • Shared Sequencer
    • Atomicity
    • Rome Transactions
    • Rhea
    • Hercules
    • Data Availability
    • Settlement
Powered by GitBook
On this page
  • Install Cast
  • Compare balance on Geth and Solana
  • Compare transaction on Geth and Solana

Was this helpful?

  1. L2 EVM Setup

Check L2 State

Compare L2 state including balances and transaction details on Geth and Solana

PreviousAirdrop & MetamaskNextSimple Transfers

Last updated 5 months ago

Was this helpful?

Install Cast

Compare balance on Geth and Solana

Check balance on OP Geth

cast balance 0xa3349dE31ECd7fd9413e1256b6472a68c920D186  -r http://localhost:8545

Check balance on Solana using Light Client

cast balance 0xa3349dE31ECd7fd9413e1256b6472a68c920D186  -r http://localhost:9090

These balances should be the same.

Compare transaction on Geth and Solana

Fetch transaction on OP Geth

cast tx 0xec1b6c78c45648ca69e7af932d342691a6ce402a6059f624a2c9817ad4dcc9ab -r http://localhost:8545

Fetch transaction on Solana using Light Client

cast tx 0xec1b6c78c45648ca69e7af932d342691a6ce402a6059f624a2c9817ad4dcc9ab -r http://localhost:9090

These transactions should have the same fields except block hash and block number which are expected to be different.

https://book.getfoundry.sh/getting-started/installation