A method for logging condition data of a device in a blockchain , wherein the device comprises a device computer system , wherein the device computer system comprises a memory , wherein a private cryptographic key of an asymmetric key pair associated with the device is stored in the memory , wherein the device computer system comprises a communication interface for communicating via a first communication network , wherein the blockchain comprises, in a block, a program module with first program instructions, wherein the program module is associated with the device and an entry associated with the program module with condition data of the device is generated in the blockchain by executing the first program instructions, wherein the program module identifies a public cryptographic key of the asymmetric key pair associated with the device, wherein the method comprises: • receiving the condition data of the device by the device computer system , • creating a first data record for entry into the blockchain , wherein the first data record comprises the condition data of the device and identifies the program module associated with the device, • signing the first data record by the device computer system with the private cryptographic key , • sending the signed first record by the device computer system via the first communication network to a blockchain server of a plurality of blockchain servers of a blockchain network , wherein the blockchain servers are configured to create additional blocks for the blockchain , • receiving the signed first data record by the blockchain server , • executing, by the blockchain server , the first program instructions of the program module identified by the data record, wherein executing the first program instructions comprises verifying the signature of the first data record using the public cryptographic key identified by the program module , and, in the case of a valid signature, adding a first entry comprising the signed first data record and a first timestamp to an additional block for the blockchain , wherein the device comprises at least one sensor for detecting the condition data of the device, and wherein the condition data of the device are received by the at least one sensor , wherein the condition data comprise an identifier associated with a plurality of electronic components of the device, wherein this identifier is a characteristic of the device, which defines a specific compilation of the electronic components of the device and thus the condition of the device. • receiving the condition data of the device by the device computer system , • creating a first data record for entry into the blockchain , wherein the first data record comprises the condition data of the device and identifies the program module associated with the device, • signing the first data record by the device computer system with the private cryptographic key , • sending the signed first record by the device computer system via the first communication network to a blockchain server of a plurality of blockchain servers of a blockchain network , wherein the blockchain servers are configured to create additional blocks for the blockchain , • receiving the signed first data record by the blockchain server , • executing, by the blockchain server , the first program instructions of the program module identified by the data record, wherein executing the first program instructions comprises verifying the signature of the first data record using the public cryptographic key identified by the program module , and, in the case of a valid signature, adding a first entry comprising the signed first data record and a first timestamp to an additional block for the blockchain , <EOS>