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
  • How to obtain RSOL
  • Using Docker command
  • Using Rome UI
  • How to withdraw SOL
  • Troubleshooting

Was this helpful?

  1. Rome L2 Setup
  2. Test your L2

Fund your Wallet

How to fund your wallet

Testing transactions on your new L2 requires the gas token (RSOL).

  • Rome L2s use RSOL as the gas token so you need to fund your wallet with RSOL.

  • You can obtain RSOL by depositing SOL as described below.

How to obtain RSOL

Using Docker command

Configure environment

export CHAIN_ID=98989897
export SOLANA_RPC=https://node3.devnet-us-sol-api.devnet.romeprotocol.xyz
export ETH_DEPOSIT_ADDRESS=0xf0e0CA2704D047A7Af27AafAc6D70e995520C2B2
export ETH_DEPOSIT_GWEI=100000000000000000
export PROGRAM_ID=RPDLj7hwcWEpQ4S3fExgsxMruc4BfuUUts69i9BdhKq

Generate Solana keypair

cd rome-setup/docker
solana-keygen new -o keys/source-account-keypair.json --no-bip39-passphrase --force

Fund Solana wallet

solana -ud airdrop 1 keys/source-account-keypair.json

Run Deposit command

docker-compose up -d deposit
docker logs deposit -f

Using Rome UI

  1. Airdrop SOLs to your Solana wallet using solana -ud airdrop 1 YOUR_SOLANA_WALLET.

    1. Add your L2 to the dropdown

    2. Connect your Solana wallet to deposit SOLs

    3. Connect your Metamask wallet to view RSOL balance

How to withdraw SOL

  1. Add your L2 to the dropdown

  2. Connect your Metamask wallet to deposit RSOLs

  3. Connect your Solana wallet to view SOL balance

Troubleshooting

PreviousSetup MetamaskNextCheck Wallet Balance

Last updated 2 days ago

Was this helpful?

Obtain RSOL by depositing SOLs using

To convert RSOL back to SOL, deposit RSOLs using

If you are having problems with deposits or withdrawals, .

https://deposit.devnet.romeprotocol.xyz
https://deposit.devnet.romeprotocol.xyz
contact us on our Discord