Skip to main content

2020 | OriginalPaper | Buchkapitel

Secure Smart Contract Generation Based on Petri Nets

verfasst von : Nejc Zupan, Prabhakaran Kasinathan, Jorge Cuellar, Markus Sauer

Erschienen in: Blockchain Technology for Industry 4.0

Verlag: Springer Singapore

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Existing blockchain and smart contract development ecosystems do not support to design, develop, and verify secure smart contracts before deploying them. Recent attacks (see DAO hack [5]) on insecure smart contracts have caused a lot of financial loss—to avoid such issues in the future, we need better methods for creating secure smart contracts before deploying them in a blockchain. In this chapter, we present a method and a prototype tool to generate secure smart contracts based on Petri Nets. Our method allows to design and generate a secure smart contract template that can be deployed on a supported blockchain platform (e.g. Ethereum) with very little additional effort. One of the main advantages that our method brings into the smart contract development ecosystem is introducing a formal way to visually model, simulate, and verify business logic/workflows prior to the smart contract code generation. Modeling the smart contracts via Petri Nets helps the developers to minimize the logical errors—by verifying certain Petri Net properties such as deadlocks—during the modeling stage itself. Furthermore, our approach presents a technology-independent way to import and export the modeled use-case logic which can be translated into different smart contract language later.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Anhänge
Nur mit Berechtigung zugänglich
Literatur
3.
Zurück zum Zitat Choudhury O, Rudolph N, Sylla I, Fairoza N, Das (2018) A Auto-generation of smart contracts from domain-specific ontologies and semantic rules. In: IEEE Blockchain Conference, vol 2018 Choudhury O, Rudolph N, Sylla I, Fairoza N, Das (2018) A Auto-generation of smart contracts from domain-specific ontologies and semantic rules. In: IEEE Blockchain Conference, vol 2018
7.
11.
Zurück zum Zitat Freytag T, Sänger M (2014) Woped-an educational tool for workflow nets. In: BPM (Demos), p 31 Freytag T, Sänger M (2014) Woped-an educational tool for workflow nets. In: BPM (Demos), p 31
12.
Zurück zum Zitat García-Bañuelos L, Ponomarev A, Dumas M, Weber I (2017) Optimized execution of business processes on blockchain. In: Business process management—15th international conference, BPM 2017, Barcelona, Spain, 10–15 September 2017, Proceedings, pp 130–146. https://doi.org/10.1007/978-3-319-65000-5_8 García-Bañuelos L, Ponomarev A, Dumas M, Weber I (2017) Optimized execution of business processes on blockchain. In: Business process management—15th international conference, BPM 2017, Barcelona, Spain, 10–15 September 2017, Proceedings, pp 130–146. https://​doi.​org/​10.​1007/​978-3-319-65000-5_​8
16.
17.
Zurück zum Zitat Kasinathan P, Cuéllar J (2018) Workflow-aware security of integrated mobility services. In: Computer security—23rd European symposium on research in computer security, ESORICS 2018, Barcelona, Spain, 3–7 September 2018, Proceedings, Part II, pp 3–19. https://doi.org/10.1007/978-3-319-98989-1_1 Kasinathan P, Cuéllar J (2018) Workflow-aware security of integrated mobility services. In: Computer security—23rd European symposium on research in computer security, ESORICS 2018, Barcelona, Spain, 3–7 September 2018, Proceedings, Part II, pp 3–19. https://​doi.​org/​10.​1007/​978-3-319-98989-1_​1
22.
Zurück zum Zitat Mavridou A, Laszka A (2017) Designing secure ethereum smart contracts: a finite state machine based approach Mavridou A, Laszka A (2017) Designing secure ethereum smart contracts: a finite state machine based approach
23.
Zurück zum Zitat Mavridou A, Laszka A (2018) Tool demonstration: Fsolidm for designing secure ethereum smart contracts. In: Principles of security and trust—7th international conference, POST 2018, held as part of the European joint conferences on theory and practice of software, ETAPS 2018, Thessaloniki, Greece, 14–20 April 2018, Proceedings. pp 270–277. https://doi.org/10.1007/978-3-319-89722-6_11 Mavridou A, Laszka A (2018) Tool demonstration: Fsolidm for designing secure ethereum smart contracts. In: Principles of security and trust—7th international conference, POST 2018, held as part of the European joint conferences on theory and practice of software, ETAPS 2018, Thessaloniki, Greece, 14–20 April 2018, Proceedings. pp 270–277. https://​doi.​org/​10.​1007/​978-3-319-89722-6_​11
26.
Zurück zum Zitat Mortensen KH (2000) Automatic code generation method based on coloured petri net models applied on an access control system. In: Nielsen M, Simpson D (eds) Application and theory of petri nets 2000. Springer, Berlin, pp 367–386CrossRef Mortensen KH (2000) Automatic code generation method based on coloured petri net models applied on an access control system. In: Nielsen M, Simpson D (eds) Application and theory of petri nets 2000. Springer, Berlin, pp 367–386CrossRef
29.
Zurück zum Zitat Nakamura H, Miyamoto K, Kudo M (2018) Inter-organizational business processes managed by blockchain. In: Hacid H, Cellary W, Wang H, Paik HY, Zhou R (eds) Web Information Systems Engineering - WISE 2018. Springer International Publishing, Cham, pp 3–17CrossRef Nakamura H, Miyamoto K, Kudo M (2018) Inter-organizational business processes managed by blockchain. In: Hacid H, Cellary W, Wang H, Paik HY, Zhou R (eds) Web Information Systems Engineering - WISE 2018. Springer International Publishing, Cham, pp 3–17CrossRef
30.
Zurück zum Zitat Narayanan A, Bonneau J, Felten E, Miller A, Goldfeder S (2016) Bitcoin and cryptocurrency technologies: a comprehensive introduction. Princeton University Press, Princeton Narayanan A, Bonneau J, Felten E, Miller A, Goldfeder S (2016) Bitcoin and cryptocurrency technologies: a comprehensive introduction. Princeton University Press, Princeton
34.
Zurück zum Zitat Swan M (2015) Blockchain: blueprint for a new economy. O’Reilly Media, Inc Swan M (2015) Blockchain: blueprint for a new economy. O’Reilly Media, Inc
36.
Zurück zum Zitat Tateishi T, Yoshihama S, Sato N, Saito S (2019) Automatic smart contract generation using controlled natural language and template. IBM J Res Dev 1–1 Tateishi T, Yoshihama S, Sato N, Saito S (2019) Automatic smart contract generation using controlled natural language and template. IBM J Res Dev 1–1
40.
Zurück zum Zitat van der Aalst WM, Ter Hofstede AH (2005) Yawl: yet another workflow language. Inf Syst 30(4):245–275 van der Aalst WM, Ter Hofstede AH (2005) Yawl: yet another workflow language. Inf Syst 30(4):245–275
Metadaten
Titel
Secure Smart Contract Generation Based on Petri Nets
verfasst von
Nejc Zupan
Prabhakaran Kasinathan
Jorge Cuellar
Markus Sauer
Copyright-Jahr
2020
Verlag
Springer Singapore
DOI
https://doi.org/10.1007/978-981-15-1137-0_4