In data sharing schemes, the file owners should obtain rewards by sharing files with others as they put energy in these files. Therefore, we proposed an incentive data sharing scheme in this paper which encourages users to share data and also supports customization. Customization allows the owners to decide the threshold of access, the importance of each attributive classification which determines users' priority level of file modification and file ownership obtaining when the original owner leaves according to the priority level value. To support a convincing customized data sharing scheme, we introduce the knowledge of blockchain and construct a suitable access structure based on weighted attributes. The blockchain is used to ensure the fairness in incentive. Based on weighted attributes, an attribute set is disposed to a numerical value and the owner of the attribute set is able to obtain the file when the value is not less than the threshold, which is different from the normal access control policy. We prove the security from integrity, privacy and the availability of access key. The performance of the proposed scheme is evaluated at the end of this paper.