[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-693414-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-693414-en":130,"doc-similar-693414":158},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","a-formal-model-for-blockchain-based-consent-management-in-data-sharing","A formal model for blockchain-based consent management in data sharing","","Consent is one of six legal bases for personal data processing in the GDPR. The regulation empowers EU data subjects to control personal data through data minimization and purpose limitation, enforced in software that collects, analyzes, and shares only what is necessary. This work addresses trust and loss of control risks when data cross service boundaries by proposing blockchain-based management of informed consent for data sharing. Smart-contract semantics validate consent authorization and orchestrate request-response interactions, with Event-B used to model dynamics and prove correctness. A mapping to a smart-contract class diagram and a Solidity plus Python REST API prototype, SmartDataTrust, are provided to support developer adoption.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/a-formal-model-for-blockchain-based-consent-management-in-data-sharing/693414/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/a-formal-model-for-blockchain-based-consent-management-in-data-sharing/693414.png","ImageObject",300,407,{"name":42,"@type":43},"Chumphorn","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-20","2026-11-09",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"Why is consent management important under the GDPR for software systems?","Question",{"text":62,"@type":63},"Consent is a core legal basis for personal data processing. The paper explains that without a data subject’s consent, processing can become unlawful, so software must manage authorization to support trust and compliance.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How does the proposed approach use blockchain technology for consent in data sharing?",{"text":67,"@type":63},"It proposes using blockchain to manage informed consent for sharing, aiming to provide trust, transparency, and traceability across software services.",{"name":69,"@type":60,"acceptedAnswer":70},"What formal methods are used to specify and verify the model?",{"text":71,"@type":63},"The semantics of smart contracts are formalized to validate consent authorization, while Event-B is used to describe dynamic behavior and prove correctness.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},693414,1794260485,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":30,"preview_urls":145},2336475401981,"https://ap-avatar.wpscdn.com/avatar/22000c94efd8d5204d?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786935347598174694","Journal of Logical and Algebraic Methods in Programming 134 (2023) 100886  \nContents lists available at ScienceDirect  \nJournal of Logical and Algebraic Methods in Programming  \njournal [homepage:](homepage: www.elsevier.com/locate/jlamp)[ www.elsevier.com/locate/jlamp](homepage: www.elsevier.com/locate/jlamp)  \nA formal model for blockchain-based consent management in data sharing  \nNeda Peyrone a , Duangdao Wichadakul a,b,∗  \na Department of Computer Engineering, Faculty of Engineering, Chulalongkorn University, Bangkok, 10330, Thailand b Center of Excellence in Systems Biology, Faculty of Medicine, Chulalongkorn University, Bangkok, 10330, Thailand  \n\n| a r t i c l e i n f o |  | a b s t r a c t |\n| --- | --- | --- |\n| Article history:\u003Cbr>Received 8 December 2022\u003Cbr>Received in revised form 1 May 2023 Accepted 23 May 2023\u003Cbr>Available online 26 May 2023 |  | Consent is one of six legal bases for personal data processing mentioned in the General Data Protection Regulation (GDPR). The GDPR is a privacy law giving European Union (EU) citizens authority over personal data. It enforces software systems to collect, analyze, and share only necessary information (‘data minimization’) following the speciﬁc purpose (‘consent’). The GDPR deﬁnes consent as permission of individuals (‘data subjects’) to give organizations (‘data controllers’) processing their personal data. Without a data subject’s consent, the data controller processes personal data unlawfully. Therefore, consent management is an essential component of a software system to build data subjects’ trust and engagement. However, sharing data can lead to a potential loss of control over personal data, as data are across boundaries between software services. One of the signiﬁcant risks is caused by a lack of developers’ experience in data protection practices. Hence, in this paper, we propose to use blockchain technology to manage data subjects’ informed consent for data sharing to build trust, transparency, and traceability to share data across software services. We formalized the semantics of smart contracts to extend the blockchain features to validate the consent authorization and manage the request-response interaction between the services. Furthermore, we used the Event-B method to describe the dynamic behavior of the proposed model and prove its correctness. Finally, we provided a mapping from the formal model to a smart contract class diagram and a prototype called SmartDataTrust implemented with solidity and Python REST API that developers can easily utilize.\u003Cbr>© 2023 Elsevier Inc. All rights reserved. |\n| Keywords:\u003Cbr>GDPR\u003Cbr>Data protection Privacy by design Consent management Event-B\u003Cbr>Smart contracts |  |  |\n\n1. Introduction  \nThe GDPR [1] has heavily inﬂuenced businesses globally, which came into force on May 25, 2018. One of the challenges to software systems is how to share data in a way that protects the rights and interests of individuals [2–5]. Therefore, developers need to understand the data protection regime. However, developers ﬁnd these regulations hard to interpret and implement into software engineering practices [6,7]. Furthermore, the lack of implementation guidelines on data protection causes data breaches (i.e., personal data is accidentally lost or compromised). Software systems that fail to meet GDPR requirements face suspension orders and heavy ﬁnes.  \nThe GDPR affects software systems to handle personal data and guarantees the safeguarded data protection rights for EU citizens. It is a regulation in EU law that gives data subjects various rights to control their personal data. The entities  \n* Corresponding author at: Department of Computer Engineering, Faculty of Engineering, Chulalongkorn University, Bangkok, 10330, Thailand. [E-mail addresses:](E-mail addresses: peyrone.n@gmail.com)[ peyrone.n@gmail.com](E-mail addresses: peyrone.n@gmail.com) (N. Peyrone), [duangdao.w@chula.ac.th](duangdao.w@chula.ac.th) (D. Wichadakul).  \n[https://doi.o","cbCaibyDpd3J4glK","https://ap.wps.com/l/cbCaibyDpd3J4glK","pdf",1618039,23,"English","# Introduction\n## Data protection and GDPR consent basics\n## Consent management and privacy by design\n## Data sharing across software services and risks\n## Proposed blockchain-based model overview\n## Formalization and verification approach","[{\"question\":\"Why is consent management important under the GDPR for software systems?\",\"answer\":\"Consent is a core legal basis for personal data processing. The paper explains that without a data subject’s consent, processing can become unlawful, so software must manage authorization to support trust and compliance.\"},{\"question\":\"How does the proposed approach use blockchain technology for consent in data sharing?\",\"answer\":\"It proposes using blockchain to manage informed consent for sharing, aiming to provide trust, transparency, and traceability across software services.\"},{\"question\":\"What formal methods are used to specify and verify the model?\",\"answer\":\"The semantics of smart contracts are formalized to validate consent authorization, while Event-B is used to describe dynamic behavior and prove correctness.\"}]","A formal model for blockchain-based consent management in data sharing | PDF",58,[146,150,154],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/be96f268eba85503d2baa2eced9d7d87.webp",983,1341,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/3a6c4946a4066ffc987e930f81e43968.webp",982,1340,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e0ae9ff9e607c67c3b8ea7821d47c530.webp",981,1338,{"list":159,"token":11},[160,167,173,179,185,192,198,204,210,216],{"doc_id":161,"doc_title":162,"file_type":137,"home_preview_img_url":163,"slug":164,"view_count":165,"category_name":29,"create_tm":166},84202,"Finding and Understanding Miscompilation Bugs in the Solidity Compiler","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809033049/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=4%2Bxd30bfGrB1d9NtCIVH6ujOA5A%3D","finding-and-understanding-miscompilation-bugs-in-the-solidity-compiler",25,1784193910,{"doc_id":168,"doc_title":169,"file_type":137,"home_preview_img_url":170,"slug":171,"view_count":33,"category_name":29,"create_tm":172},721382,"GDPR Pocket Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024099307/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=u6XggE%2BDSJ5CEFvnk0p5XrFbP2I%3D","gdpr-pocket-guide",1795044441,{"doc_id":174,"doc_title":175,"file_type":137,"home_preview_img_url":176,"slug":177,"view_count":33,"category_name":29,"create_tm":178},673513,"A guide to blockchain and data protection - 2018","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990905915/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=OVUvS9sDPHURBeWjNFjU4BGBD6E%3D","a-guide-to-blockchain-and-data-protection-2018",1793647253,{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":96,"category_name":29,"create_tm":184},721388,"Guide to the General Data Protection Regulation (GDPR)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024099351/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=8lMTX%2F0waiBhrLcvMbXL1nS7XCs%3D","guide-to-the-general-data-protection-regulation-gdpr",1795044455,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":29,"create_tm":191},19533,"For You Open Source Magazine October 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229709451270/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=FZ%2Bw8YMgBDSMsG3F2H1%2BM%2Bq8AtU%3D","for-you-open-source-magazine-october-2023",57,1777162655,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":96,"category_name":29,"create_tm":197},673512,"A Practical Guide to Web3, Blockchain, and Smart Contract Law - 3rd Edition - Table of contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990905864/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=adW%2FDmVdvb1RMDwwOuNajU5knzk%3D","a-practical-guide-to-web3-blockchain-and-smart-contract-law-3rd-edition-table-of-contents",1793647245,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":96,"category_name":29,"create_tm":203},703266,"Blockchain 2025 - Singapore: Law & Practice - Definitive global law guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013487311/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=JKkKJzlLA9UNgsRV0OVrB2zXoo8%3D","blockchain-2025-singapore-law-practice-definitive-global-law-guide",1794564349,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":117,"category_name":29,"create_tm":209},121186,"Enhancing Smart Contract Security - A Machine Learning Framework Using Natural Language Processing and Unsupervised Techniques","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835403864/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=gzFDwrPcWID9FxNZNWKcNMkFz5w%3D","enhancing-smart-contract-security-a-machine-learning-framework-using-natural-language-processing-and-unsupervised-techniques",1785734262,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":33,"category_name":29,"create_tm":215},721387,"Guidance for EU General Data Protection Regulations (GDPR) Compliance in Human Research","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024099350/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=sJdmmNdCBFyOejzdTYc2wTn7J7k%3D","guidance-for-eu-general-data-protection-regulations-gdpr-compliance-in-human-research",1795044454,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":29,"create_tm":222},503805,"CASPER - Contrastive Approach for Smart Ponzi Scheme Detecter with More Negative Samples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931874642/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237279&Signature=Um8VZAPdbziF0b%2FjuJT3I2YTmEM%3D","casper-contrastive-approach-for-smart-ponzi-scheme-detecter-with-more-negative-samples",12,1791060519]