Optimism and Arbitrum dominated the layer-2 scaling space in 2023. They attracted $631 million and $1.67 billion in net deposits, respectively.