A computer-implemented method for managing housing scores of residents using a smart contract in a blockchain network, a housing score of a resident indicating the resident's rights in renting or purchasing a residence, the method comprising: receiving, by a node of the blockchain network, a smart contract, wherein the smart contract is generated by a deploying server associated with a governing body, the deploying server generating and submitting a transaction of the smart contract to the blockchain network; verifying the transaction of the smart contract using one or more nodes of the blockchain network; deploying the smart contract in the blockchain network using a unique smart contract address from which the smart contract can be recalled; registering an account associated with the node, the account having a specified role defined in the smart contract; wherein the smart contract defines a plurality of operations for managing housing scores of residents, and the plurality of operations comprise: a score inquiry operation, a score addition operation, a score deduction operation, a score redemption operation, and a score transfer operation; determining whether the node is associated with a role that is authorized to execute one or more of the plurality of operations for managing a housing score of a specified resident; and, executing, by the node, one of the plurality of operations defined in the smart contract for managing the housing score of the specified resident when the node is authorized to execute the one or more of the plurality of operations, and indicating an error when the node is not authorized to execute the one or more of the plurality of operations; determining, by the node, if a current housing score of the specified resident triggers a reporting event; and in response to determining that the current housing score of the specified resident triggers the reporting event, reporting, by the node to the specified resident, the current housing score of the specified resident. receiving, by a node of the blockchain network, a smart contract, wherein the smart contract is generated by a deploying server associated with a governing body, the deploying server generating and submitting a transaction of the smart contract to the blockchain network; verifying the transaction of the smart contract using one or more nodes of the blockchain network; deploying the smart contract in the blockchain network using a unique smart contract address from which the smart contract can be recalled; registering an account associated with the node, the account having a specified role defined in the smart contract; wherein the smart contract defines a plurality of operations for managing housing scores of residents, and the plurality of operations comprise: a score inquiry operation, a score addition operation, a score deduction operation, a score redemption operation, and a score transfer operation; a score inquiry operation, a score addition operation, a score deduction operation, a score redemption operation, and a score transfer operation; determining whether the node is associated with a role that is authorized to execute one or more of the plurality of operations for managing a housing score of a specified resident; and, executing, by the node, one of the plurality of operations defined in the smart contract for managing the housing score of the specified resident when the node is authorized to execute the one or more of the plurality of operations, and indicating an error when the node is not authorized to execute the one or more of the plurality of operations; executing, by the node, one of the plurality of operations defined in the smart contract for managing the housing score of the specified resident when the node is authorized to execute the one or more of the plurality of operations, and indicating an error when the node is not authorized to execute the one or more of the plurality of operations; determining, by the node, if a current housing score of the specified resident triggers a reporting event; and in response to determining that the current housing score of the specified resident triggers the reporting event, reporting, by the node to the specified resident, the current housing score of the specified resident.