Skip to main content

Process Channels: A New Layer for Process Enactment Based on Blockchain State Channels

  • Conference paper
  • First Online:
Business Process Management (BPM 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14159))

Included in the following conference series:

Abstract

For the enactment of inter-organizational processes, blockchain can guarantee the enforcement of process models and the integrity of execution traces. However, existing solutions come with downsides regarding throughput scalability, latency, and suboptimal tradeoffs between confidentiality and transparency. To address these issues, we propose to change the foundation of blockchain-based process enactment: from on-chain smart contracts to state channels, an overlay network on top of a blockchain. State channels allow conducting most transactions off-chain while mostly retaining the core security properties offered by blockchain. Our proposal, process channels, is a model-driven approach to enacting processes on state channels, with the aim to retain the desired blockchain properties while reducing the on-chain footprint as much as possible. We here focus on the principled approach of state channels as a platform, to enable manifold future optimizations in various directions, like latency and confidentiality. We implement our approach prototypical and evaluate it both qualitatively (w.r.t. assumptions and guarantees) and quantitatively (w.r.t. correctness and gas cost). In short, while the initial deployment effort is higher with state channels, it typically pays off after a few process instances—considerably reducing cost. And as long as the new assumptions hold, so do the guarantees.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    We generally assume a party “looks after themselves”, and follows a strategy with the highest payoff.

  2. 2.

    Hyperledger Fabric uses the terminology of channels for their subnet functionality [11]. The similarity to state channels is weak; like subnets, fabric channels partition the on-chain ledger. State channels construct off-chain channels and use the security guarantees of the on-chain ledger as settlement and dispute resolution layer.

  3. 3.

    A choreography task can be one-way or two-way: i.e., it optionally includes a response. We assume that a choreography task is one-way; two-way tasks can be regarded as syntactic sugar and adding support for those is no conceptual challenge.

  4. 4.

    This procedure can be made easier by forcing deployment from an agreed upon channel factory contract [2, Chapter 7.4.4].

  5. 5.

    To prevent the replay of transitions across cases, instances, or blockchains, unique identifiers must also be included, e.g., case ID, instance ID, and chain ID.

  6. 6.

    To reduce the amount of messages, confirmations can be prepended to a transition proposal. That is, once an initiator has collected all signatures for \(step_{i}\)., it only sends the confirmation to the next initiator. The next initiator prepends the confirmations to the next transition proposal \(step_{i+1}\).

  7. 7.

    See Node.js, https://nodejs.org/en, accessed 2023-03-17.

  8. 8.

    See Docker Compose, https://docs.docker.com/compose, accessed 2023-03-17.

  9. 9.

    See Ganache, https://trufflesuite.com/ganache, accessed 2023-03-17.

  10. 10.

    Leafhopper is available at https://github.com/fstiehle/leafhopper. The repository includes instructions and scripts to automate the replication of our evaluation. Chorpiler is available at https://github.com/fstiehle/chorpiler.

  11. 11.

    We removed any coincidentally created conforming traces. In total we replayed 1812 non-conforming traces to the incident mgmt. and 1933 to the supply chain case.

  12. 12.

    Normally, the local trigger would also verify the request and only forward valid requests. We disabled this functionality to allow us to simulate a faulty component.

  13. 13.

    While our baseline is based on [3], it incurs increased gas cost (compare with Table 2), as it additionally implements role enforcement (c.f. Sect. 4.3).

  14. 14.

    IACCM: Are you in an adversarial industry? Insights for contract negotiators and managers. 2014. https://wp.me/pa5oX-RH, accessed 2023-03-28.

  15. 15.

    Due to the different feature sets being supported, these approaches incur different gas costs; cost should not be understood as the only yardstick to compare approaches by. Since our approach in this paper is quite different from full on-chain approaches, we find this comparison worthwhile reporting.

References

  1. Stiehle, F., Weber, I.: Blockchain for business process enactment: a taxonomy and systematic literature review. In: Marrella, A., et al. (eds.) BPM 2022, vol. 459, pp. 5–20. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-16168-1_1

    Chapter  Google Scholar 

  2. Xu, X., Weber, I., Staples, M.: Architecture for Blockchain Applications. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-03035-3

    Book  Google Scholar 

  3. García-Bañuelos, L., Ponomarev, A., Dumas, M., Weber, I.: Optimized execution of business processes on blockchain. In: Carmona, J., Engels, G., Kumar, A. (eds.) BPM 2017. LNCS, vol. 10445, pp. 130–146. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-65000-5_8

    Chapter  Google Scholar 

  4. López-Pintado, O., Dumas, M., García-Bañuelos, L., Weber, I.: Interpreted execution of business process models on blockchain. In: EDOC, pp. 206–215. IEEE (2019)

    Google Scholar 

  5. Loukil, F., Boukadi, K., Abed, M., Ghedira-Guegan, C.: Decentralized collaborative business process execution using blockchain. WWW 24(5), 1645–1663 (2021). https://doi.org/10.1007/s11280-021-00901-7

    Article  Google Scholar 

  6. Gudgeon, L., Moreno-Sanchez, P., Roos, S., McCorry, P., Gervais, A.: SoK: layer-two blockchain protocols. In: Bonneau, J., Heninger, N. (eds.) FC 2020. LNCS, vol. 12059, pp. 201–226. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-51280-4_12

    Chapter  Google Scholar 

  7. Buterin, V.: A Next-Generation Smart Contract and Decentralized Application Platform (2014). https://ethereum.org/en/whitepaper. Accessed 29 Mar 2023

  8. Poon, J., Dryja, T.: The bitcoin lightning network: scalable off-chain instant payments (2016). https://lightning.network/lightning-network-paper.pdf. Accessed 29 Mar 2023

  9. Miller, A., Bentov, I., Bakshi, S., Kumaresan, R., McCorry, P.: Sprites and state channels: payment networks that go faster than lightning. In: Goldberg, I., Moore, T. (eds.) FC 2019. LNCS, vol. 11598, pp. 508–526. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-32101-7_30

    Chapter  Google Scholar 

  10. McCorry, P., Bakshi, S., Bentov, I., Meiklejohn, S., Miller, A.: Pisa: arbitration outsourcing for state channels. In: AFT 2019, pp. 16–30. ACM (2019)

    Google Scholar 

  11. Androulaki, E., Barger, A., Bortnikov, et al.: Hyperledger fabric: a distributed operating system for permissioned blockchains. In: EuroSys, pp. 1–15 (2018)

    Google Scholar 

  12. Dziembowski, S., Faust, S., Hostáková, K.: General state channel networks. In: ACM SIGSAC CCS, pp. 949–966 (2018)

    Google Scholar 

  13. Dziembowski, S., Eckey, L., Faust, S., Hesse, J., Hostáková, K.: Multi-party virtual state channels. In: Ishai, Y., Rijmen, V. (eds.) EUROCRYPT 2019. LNCS, vol. 11476, pp. 625–656. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-17653-2_21

    Chapter  Google Scholar 

  14. McCorry, P., Buckland, C., Bakshi, S., Wüst, K., Miller, A.: You sank my battleship! a case study to evaluate state channels as a scaling solution for cryptocurrencies. In: Bracciali, A., Clark, J., Pintore, F., Rønne, P.B., Sala, M. (eds.) FC 2019. LNCS, vol. 11599, pp. 35–49. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-43725-1_4

    Chapter  Google Scholar 

  15. Di Ciccio, C., et al.: Blockchain support for collaborative business processes. Informatik Spektrum 42(3), 182–190 (2019)

    Article  Google Scholar 

  16. Negka, L.D., Spathoulas, G.P.: Blockchain state channels: a state of the art. IEEE Access 9, 160277–160298 (2021)

    Article  Google Scholar 

  17. Weske, M.: Business Process Management: Concepts, Languages, Architectures, 3rd edn. Springer, Heidelberg (2019). https://doi.org/10.1007/978-3-642-28616-2

    Book  Google Scholar 

  18. Decker, G., Weske, M.: Local enforceability in interaction petri nets. In: Alonso, G., Dadam, P., Rosemann, M. (eds.) BPM 2007. LNCS, vol. 4714, pp. 305–319. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-75183-0_22

    Chapter  Google Scholar 

  19. Weber, I., Xu, X., Riveret, R., Governatori, G., Ponomarev, A., Mendling, J.: Untrusted business process monitoring and execution using blockchain. In: La Rosa, M., Loos, P., Pastor, O. (eds.) BPM 2016. LNCS, vol. 9850, pp. 329–347. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-45348-4_19

    Chapter  Google Scholar 

  20. Fdhila, W., Rinderle-Ma, S., Knuplesch, D., Reichert, M.: Change and compliance in collaborative processes. In: IEEE SCC, pp. 162–169 (2015)

    Google Scholar 

  21. OMG: BPMN 2.0 by Example, Version 1.0 (2010). https://www.omg.org/cgi-bin/doc?dtc/10-06-02. Accessed 29 Mar 2023

  22. López-Pintado, O., García-Bañuelos, L., Dumas, M., Weber, I., Ponomarev, A.: Caterpillar: a business process execution engine on the Ethereum blockchain. Softw. Pract. Exp. 49(7), 1162–1193 (2019)

    Google Scholar 

  23. Corradini, F., Marcelletti, A., Morichetta, A., Polini, A., Re, B., Tiezzi, F.: Engineering trustable and auditable choreography-based systems using blockchain. ACM TMIS 13(3), 1–53 (2022)

    Article  Google Scholar 

  24. Corradini, F., et al.: Model-driven engineering for multi-party business processes on multiple blockchains. Blockchain Res. Appl. 2(3), 100018 (2021)

    Article  Google Scholar 

  25. Prybila, C., Schulte, S., Hochreiner, C., Weber, I.: Runtime verification for business processes utilizing the Bitcoin blockchain. FGCS 107, 816–831 (2020)

    Article  Google Scholar 

  26. Zhang, Y., Long, Y., Liu, Z., Liu, Z., Gu, D.: Z-channel: scalable and efficient scheme in zerocash. Comput. Secur. 86, 112–131 (2019)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fabian Stiehle .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Stiehle, F., Weber, I. (2023). Process Channels: A New Layer for Process Enactment Based on Blockchain State Channels. In: Di Francescomarino, C., Burattin, A., Janiesch, C., Sadiq, S. (eds) Business Process Management. BPM 2023. Lecture Notes in Computer Science, vol 14159. Springer, Cham. https://doi.org/10.1007/978-3-031-41620-0_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-41620-0_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-41619-4

  • Online ISBN: 978-3-031-41620-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics