From Regulation to Execution: Generating GDPR-Compliant Smart Contracts for Cross-Border Data Transfer
Linkai Zhu, Xiaolian Zhu, Lu Liu, Bin Yin, X.Y. Li · 2025
Privacy policy about sharing data in different countries make it hard to create smart contracts on blockchain that follow the rules. This research suggests a new way to automatically turn legal rules into smart contracts. The method uses a special language for law to change regulations into Solidity code. We make a tool that changes legal rules into code with conditions, time limits, and permissions. We find a mechanism to check the logic of the rules. And integrate a system that puts everything together into a full smart contract with checks and alerts. This system will check if the contract works right and follows the privacy policy in GDPR.