Abstract
This paper investigates the usage of logic and logic programming in the design of smart contracts. Our starting point is the logic-based programming language for smart contracts used in a recently proposed framework of quantum-secured blockchain, called Logicontract (LC). We then extend the logic used in LC by answer set programming (ASP), a modern approach to declarative logic programming. Using ASP enables us to write various interesting smart contracts, such as conditional payment, commitment, multi-party lottery and legal service. A striking feature of our ASP implementation proposal is that it involves post-quantum cryptographic primitives, such as the lattice-based public key encryption and signature. The adoption of the post-quantum cryptographic signature overcomes a specific limitation of LC in which the unconditionally secure signature, despite its strength, offers limited protection for users of the same node.
Subject
General Physics and Astronomy
Reference41 articles.
1. Bitcoin: A Peer-to-Peer Electronic Cash Systemhttps://bitcoin.org/bitcoin.pdf
2. The Idea of Smart Contractshttps://nakamotoinstitute.org/the-idea-of-smart-contracts
3. Vicious circles in contracts and in logic
4. On legal contracts, imperative and declarative smart contracts, and blockchain systems
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献