Usage:
cli --program-id <PROGRAM_ID> --chain-id <CHAIN_ID> --url <URL> <COMMAND>
Commands:
reg-rollupregistry a rollup in rome-evm contractcreate-balancecreate balance on the address of the rollup owner; used to synchronize the initial state of rollup with the state of op-gethget-balanceget balanceget-codeget contract codeget-storage-atget storage slotget-transaction-countget transaction countget-rollupsget list of registered rollupshelpPrint this message or the help of the given subcommand(s)
Options:
-p, --program-id <PROGRAM_ID>rome-evm program_id-c, --chain-id <CHAIN_ID>chain_id of rollup-u, --url <URL>URL for Solana's JSON RPC: http://localhost:8899
cli --program-id <PROGRAM_ID> --chain-id <CHAIN_ID> --url <URL> reg-rollup <REGISTRY_AUTHORITY>
<REGISTRY_AUTHORITY>path to registry_authority keypair of the rome-evm contract
cli --program-id <PROGRAM_ID> --chain-id <CHAIN_ID> --url <URL> deposit <ADDRESS> <BALANCE> <KEYPAIR>
<ADDRESS>the contract owner's address to mint a balance<BALANCE>balance in Wei to mint, must be multiple of 10^9<KEYPAIR>path to user's solana wallet keypair; the funds will be debited from this account (lamports = balance/10^9)
cli --program-id <PROGRAM_ID> --chain-id <CHAIN_ID> --url <URL> get-balance <ADDRESS>
<ADDRESS>address to get balance
cli --program-id <PROGRAM_ID> --chain-id <CHAIN_ID> --url <URL> get-code <ADDRESS>
<ADDRESS>contract address
cli --program-id <PROGRAM_ID> --chain-id <CHAIN_ID> --url <URL> get-storage-at <ADDRESS> <SLOT>
<ADDRESS>contract address<SLOT>slot
cli --program-id <PROGRAM_ID> --chain-id <CHAIN_ID> --url <URL> get-code <ADDRESS>
<ADDRESS>contract address
cli --program-id <PROGRAM_ID> --url <URL> get-rollups
<PAYER>Solana payer pubkey
./cli --program-id CaQC27sVhdPyZF7defivoTQ48E8ws4tXvJfXYPRXboaH --chain-id 1001 --url http://localhost:8899 reg-rollup /opt/ci/registry-authority-keypair.json
./cli --program-id CaQC27sVhdPyZF7defivoTQ48E8ws4tXvJfXYPRXboaH --chain-id 1001 --url http://localhost:8899 deposit 0xe235b9caf55b58863Ae955A372e49362b0f93726 1000000000000000000 /opt/ci/test-account-keypair.json
./cli --program-id CaQC27sVhdPyZF7defivoTQ48E8ws4tXvJfXYPRXboaH --chain-id 1001 --url http://localhost:8899 get-balance 0x229E93198d584C397DFc40024d1A3dA10B73aB32
./cli --program-id CaQC27sVhdPyZF7defivoTQ48E8ws4tXvJfXYPRXboaH --chain-id 1001 --url http://localhost:8899 get-code 0x229E93198d584C397DFc40024d1A3dA10B73aB32
./cli --program-id CaQC27sVhdPyZF7defivoTQ48E8ws4tXvJfXYPRXboaH --chain-id 1001 --url http://localhost:8899 get-storage-at 0x229E93198d584C397DFc40024d1A3dA10B73aB32 0
./cli --program-id CaQC27sVhdPyZF7defivoTQ48E8ws4tXvJfXYPRXboaH --url http://localhost:8899 get-rollups