Skip to content

Module 1 - Setup your Metamask and Fund your wallet

Add network to MetaMask

  • Network Name: Caesar
  • Chain ID: 98989897
  • Currency symbol: RSOL

RPC URL

http://localhost:8545

Block explorer URL

http://localhost:1000

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.

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

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

Fund Solana wallet

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

Run Deposit command

Terminal window
docker-compose up -d deposit
docker logs deposit -f
  1. Airdrop SOLs to your Solana wallet using solana -ud airdrop 1 YOUR_SOLANA_WALLET.

  2. Obtain RSOL by depositing SOLs using https://deposit.devnet.romeprotocol.xyz

    a. Add your L2 to the dropdown

    b. Connect your Solana wallet to deposit SOLs

    c. Connect your Metamask wallet to view RSOL balance

To convert RSOL back to SOL, deposit RSOLs using https://deposit.devnet.romeprotocol.xyz

  1. Add your L2 to the dropdown

  2. Connect your Metamask wallet to deposit RSOLs

  3. Connect your Solana wallet to view SOL balance