All the stuff that we need
Replaying Legacy Transaction
-
Create a "legacy" transaction
clt createTx $Layer $Nonce $Value--> RLP -
Send the legacy transaction to L3 blockchain
sendSingedTransactionL3.sh $RLP--> Hash -
Extract the legacy transaction from blockchain
getTheTransactionByHashL3.sh $Hash--> JSON -
Reformat the transaction from JSON to RLP
clt rlpEncode $JSON--> RLP -
Replay the transaction (send to L2)
sendSingedTransactionL2.sh $RLP--> Hash