In the digital transformation era, preserving library resources has become increasingly vital. This chapter explores the integration of greedy algorithms within fuzzy graphic matroids for efficient library resource preservation, enhanced by index coding and blockchain technology. Fuzzy graphic matroids provide a mathematical structure to model and optimize resource allocation under uncertainty, capturing the relationships and dependencies in library systems. The greedy algorithm selects the most critical edges in the fuzzy graphic matroid, ensuring the independence property is maintained while optimizing the selection process. Index coding minimizes the number of transmissions required for data retrieval. Integrating index coding and blockchain technology ensures efficient resource allocation, enhanced data retrieval, and secure library records. The proposed framework presents a novel and comprehensive solution to the challenges of digital preservation in modern libraries. The practical application and benefits of this approach are demonstrated with an example.