A computer-implemented method for controlling access to a property based on smart contract execution, the method comprising: receiving, by an electronic lock (322, 412), credential data for a first entity requesting access to a property (320, 401), wherein the electronic lock locks and unlocks an access point to the property; in response to receiving the credential data, requesting, by the electronic lock, execution of a smart contract associated with the property by a blockchain network, wherein the smart contract includes instructions to check a current status of a relationship between the first entity (301A, 401A) and a second entity (301B, 401B) associated with the property based on the credential data; receiving, by the electronic lock, an execution result of the smart contract from the blockchain network; determining, by the electronic lock, that the credential data for the first entity is valid and authorizes the first entity to access the property based at least in part on the execution result; receiving, by a reputation system, a threshold score specified by the second entity; evaluating a first reputation score of the first entity, by the reputation system associated with the blockchain network, before the first entity enters the property, and if the first reputation score is below the threshold score, instructing, by the reputation system, the electronic lock to deny the first entity access to the property, even if the credential data is valid; in response to determining that the first entity is authorized by valid credential data to access the property, enabling, by the electronic lock, the first entity to access to the property, unless instructed by the reputation system to deny access to the property; storing, in a blockchain maintained by the blockchain network, transactions that correspond to the first entity and the second entity and relate to the property, the transactions relating to actions under a rental agreement between the first entity and the second entity, the smart contract mirroring the terms of the rental agreement; and updating the first reputation score of the first entity and a reputation score of the second entity based on the transactions, wherein the transactions are accessed from the blockchain by the reputation system. receiving, by an electronic lock (322, 412), credential data for a first entity requesting access to a property (320, 401), wherein the electronic lock locks and unlocks an access point to the property; in response to receiving the credential data, requesting, by the electronic lock, execution of a smart contract associated with the property by a blockchain network, wherein the smart contract includes instructions to check a current status of a relationship between the first entity (301A, 401A) and a second entity (301B, 401B) associated with the property based on the credential data; receiving, by the electronic lock, an execution result of the smart contract from the blockchain network; determining, by the electronic lock, that the credential data for the first entity is valid and authorizes the first entity to access the property based at least in part on the execution result; receiving, by a reputation system, a threshold score specified by the second entity; evaluating a first reputation score of the first entity, by the reputation system associated with the blockchain network, before the first entity enters the property, and if the first reputation score is below the threshold score, instructing, by the reputation system, the electronic lock to deny the first entity access to the property, even if the credential data is valid; in response to determining that the first entity is authorized by valid credential data to access the property, enabling, by the electronic lock, the first entity to access to the property, unless instructed by the reputation system to deny access to the property; storing, in a blockchain maintained by the blockchain network, transactions that correspond to the first entity and the second entity and relate to the property, the transactions relating to actions under a rental agreement between the first entity and the second entity, the smart contract mirroring the terms of the rental agreement; and updating the first reputation score of the first entity and a reputation score of the second entity based on the transactions, wherein the transactions are accessed from the blockchain by the reputation system.