Design of E-commerce community Q&A service platform based on smart contract
In the traditional community-based Q&A platform,its Q&A data was not only low in transparency,but also vulnerable to tampering by internal employees or external attackers,resulting in customers not being able to trust the authenticity of information such as the identity of the respondent who had purchased and the ranking of the answers,while at the same time,the lack of incentive mechanism also made customers not motivated to answer other consumers' questions.In order to improve the current situation,a community-based Q&A service platform was proposed,which introducedthe mechanism of random invitation,point incentive and reputation incentive.The platform was consisted of six smart contracts working together to complete user registration,product shelving,and functions such as trading,authorization,questioning,answering and scoring,while the text similarity detection scheme based on Minhash and Jaccard algorithm was used under the chain to improve the diversity of user answers.The smart contract was tested for functionality and performance analysis in an Ethereum private chain environment,and the experimental results proved the correctness of the code and the effectiveness of the scheme.