Data exchange is hampered by the fact that warehouse data are distributed among warehouses. To propose a secure bidirectional blockchain-based data-sharing system that collects warehouse data and controls data sharing through bidirectional transformation. This study is proposed for establishing an efficient bi-directional data warehouse storage for script less blockchains with an infinite lifespan. The sensor provides the data used in the warehouse and data are encrypted using the T-AES algorithm. In this approach, bidirectional blockchain is used to store encrypted sensor data, and GALOEEM routing protocol is used to transfer the data between nodes. The GALOEEM protocol ensures the integrity and authenticity of the data transfer by providing secure routing and end-to-end encryption. The bidirectional blockchain used in this approach is different from the traditional linear blockchain as it allows data traversal in both directions from top to bottom and bottom to top. Then the encrypted data are passed through the proposed Genetic Algorithm based ant Lion Optimization Energy Efficient Multipath routing protocol (GALOEEM) which extends the node lifetime. The performance of the proposed approach was evaluated based on various performance measures such as energy consumption, delay, and throughput. The results show that the existing approaches in terms of energy consumption while maintaining a similar delay and throughput. The use of bidirectional blockchain and GALOEEM protocol ensures secure and reliable data transfer while reducing the energy consumption of the network. This study recommends an efficient bidirectional data warehouse storage system using script less blockchains with an infinite lifespan The GALOEEM Routing Protocol builds symmetrical clusters based on a cluster's core characteristics, enhancing the lifetime and stability of the network. The experimental findings also clearly show that GALOEEM Routing Protocol outperforms competing algorithms in all important aspects. Finally, the encrypted data are stored in a Bidirectional Blockchain mechanism. The data is verified using a bidirectional blockchain. The immutability of blockchain guarantees warehouse data integrity.