Airdrop and check balance
Airdrop using https://l2evm.devnet.romeprotocol.xyz/request_airdrop
Alternatively, use cURL to airdrop tokens
curl --location 'https://l2evm.devnet.romeprotocol.xyz/airdrop' --header 'Content-Type: application/json' --data '{"recipientAddr": "0x9B51a9f13FeeF5E28aEEd5e5e8B09AD280C07bCd", "amount": "100"}'
Compare balance on Geth and Solana
Check balance on OP Geth
curl https://l2evm.devnet.romeprotocol.xyz -X POST -H "Content-Type: application/json" \
--data '{"method":"eth_getBalance","params":["0x9B51a9f13FeeF5E28aEEd5e5e8B09AD280C07bCd", "latest"],"id":1,"jsonrpc":"2.0"}'
Check balance on Solana using Light Client
curl http://l2evm.devnet.romeprotocol.xyz:9090 -X POST -H "Content-Type: application/json" \
--data '{"method":"eth_getBalance","params":["0x9B51a9f13FeeF5E28aEEd5e5e8B09AD280C07bCd", "latest"],"id":1,"jsonrpc":"2.0"}'
echo "ibase=16; $(echo 56bc75e2d63100000 | tr '[:lower:]' '[:upper:]')" | bc
Compare transaction on Geth and Solana
Fetch transaction on OP Geth
curl https://l2evm.devnet.romeprotocol.xyz -X POST -H "Content-Type: application/json" \
--data '{"method":"eth_getTransactionByHash","params":["0x5e7681e585e905802462b602930ad71830714a844c480e22cbc53f03cc7c025b"],"id":1,"jsonrpc":"2.0"}'
Fetch transaction on Solana using Light Client
curl http://l2evm.devnet.romeprotocol.xyz:9090 -X POST -H "Content-Type: application/json" \
--data '{"method":"eth_getTransactionByHash","params":["0x5e7681e585e905802462b602930ad71830714a844c480e22cbc53f03cc7c025b"],"id":1,"jsonrpc":"2.0"}'
Run Uniswap Tests
Airdrop to three wallets used for Uniswap tests
curl --location 'https://l2evm.devnet.romeprotocol.xyz/airdrop' --header 'Content-Type: application/json' --data '{"recipientAddr": "0xa3349dE31ECd7fd9413e1256b6472a68c920D186", "amount": "100"}'
curl --location 'https://l2evm.devnet.romeprotocol.xyz/airdrop' --header 'Content-Type: application/json' --data '{"recipientAddr": "0x6970d087e7e78a13ea562296edb05f4bb64d5c2e", "amount": "100"}'
curl --location 'https://l2evm.devnet.romeprotocol.xyz/airdrop' --header 'Content-Type: application/json' --data '{"recipientAddr": "0xaA4d6f4FF831181A2bBfD4d62260DabDeA964fF1", "amount": "100"}'
Test Uniswap with Light Client
docker run --network="docker_net" --name="uniswap" -e NETWORK='proxy' -e CHAIN_ID='915817419' romelabs/uniswap-v2-core:v0.1.0 yarn test
Test Uniswap with OP Geth
docker run --network="docker_net" --name="uniswap" -e NETWORK='op-geth' -e CHAIN_ID='915817419' romelabs/uniswap-v2-core:v0.1.0 yarn test
Run Open Zeppelin Tests
Test Open Zeppelin with Light Client
docker run --network="docker_net" --name="openzeppelin" romelabs/openzeppelin-contracts:v0.1.0 -env NETWORK_NAME='proxy'
Test Open Zeppelin with OP Geth
docker run --network="docker_net" --name="openzeppelin" romelabs/openzeppelin-contracts:v0.1.0 -env NETWORK_NAME='op_geth'