In traditional Chinese medicine, the growth situation of the surface of nails reflects the physiological condition of the human body. Diagnosis by nail can effectively predict and prevent disease. Human nails have a high degree of uniqueness, and it can be used for biometric recognition. In this work, microscope sensor was used to capture the clear image and segment the lunula and nail plate effectively through image preprocessing. Fingernails' image is managed as the identity authentication. Histogram of oriented gradients and local binary patterns are used to capture the characteristic value. It uses support vector machine and random forest tree for classification. The performance of each feature extraction algorithm was analyzed for the two classifiers and the deep neural network algorithm was used comparatively. Furthermore, the security and privacy of the Internet of Things is still a challenge. This work uses the highly anonymous blockchain technology to effectively protect data privacy and manage each user's data through the blockchain, in which any change or manipulation can be recorded and tracked, and the data security is improved. Therefore, this article presents a nail analysis management system with the use of microscopy sensor and blockchain.