The blockchain trilemma suggests that blockchain cannot achieve scalability, security, and decentralization simultaneously. However, the layer-2 scaling solutions have come to challenge the thought system. It allows the mainchain to take care of security while maintaining scalable networks in its additional layers.