The rapid development of rural revitalisation and mass entrepreneurship has triggered a boom in farmer entrepreneurship, which is an important way to achieve secure prosperity and implement the national rural revitalisation strategy. This project focuses on farmers' entrepreneurship in Anhui Province from the perspective of digital finance. Firstly, it explains that farmers' entrepreneurship in Anhui Province currently faces three major challenges: lack of entrepreneurial capital, imperfect entrepreneurial infrastructure and insufficient entrepreneurial capacity. Secondly, it explains the mechanism of digital finance's influence on farmers' entrepreneurship in terms of external environment, internal environment and their own capacity, and further subdivides it into six effects: economic growth effect, inclusive equality, scientific regulation, technological innovation, credit access, information transfer and social network effect. Finally, the optimal path for digital finance to promote farmers' entrepreneurship is proposed, with a view to providing reference for the development of digital finance and the improvement of entrepreneurship in other regions.