Layer 1 vs Layer 2 Blockchains A Technical Comparison