Abstract
| Original language | English |
|---|---|
| Article number | 2 |
| Journal | Eurasip J. Inf. Secur. |
| Volume | 2019 |
| Issue number | 1 |
| DOIs | |
| Publication status | Published - 2019 |
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 7 Affordable and Clean Energy
Keywords
- Blockchain
- Implementation
- Practical insights
- Private chain
- Photovoltaic cells
- Energy domain
- Financial transactions
- Photovoltaic power plant
- Real-world
- User interaction
Fingerprint
Dive into the research topics of 'Implementing a blockchain from scratch: why, how, and what we learned'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver
}
In: Eurasip J. Inf. Secur., Vol. 2019, No. 1, 2, 2019.
Research output: Contribution to journal › Article › peer-review
TY - JOUR
T1 - Implementing a blockchain from scratch: why, how, and what we learned
AU - Knirsch, F.
AU - Unterweger, A.
AU - Engel, D.
N1 - Cited By :67 Export Date: 14 December 2023 Correspondence Address: Unterweger, A.; Salzburg University of Applied Sciences, Urstein Süd 1, Austria; email: [email protected] Funding details: Österreichische Forschungsförderungsgesellschaft, FFG, 865082 Funding details: Salzburger Landesregierung Funding text 1: The financial support by the Federal State of Salzburg is gratefully acknowledged. Funding by the Austrian Research Promotion Agency (FFG) under project number 865082 (ProChain) is gratefully acknowledged. Additional funding as well as input and feedback by our company partners Salzburg AG (Georg Baumgartner), Salzburg Netz GmbH (Christoph Groiß) and Verbund AG (Werner Eder, Michael Schramel, Peter Poier, and Clemens Theuermann-Bernhardt) is gratefully acknowledged. The authors would like to thank the reviewers for their valuable comments which helped to significantly improve this paper. References: Nakamoto, S., (2008) Bitcoin: A Peer-To-Peer Electronic Cash System, , https://bitcoin.org/bitcoin.pdf, Technical report; Tschorsch, F., Scheuermann, B., Bitcoin and beyond: a technical survey on decentralized digital currencies (2016) IEEE Commun. Surv. Tutor., 18 (3), pp. 2084-2123; Christidis, K., Devetsikiotis, M., Blockchains and smart contracts for the Internet of Things (2016) IEEE Access, 4, pp. 2292-2303; Knirsch, F., Unterweger, A., Eibl, G., Engel, D., Privacy-Preserving Smart Grid Tariff Decisions with Blockchain-Based Smart Contracts (2017) Sustainable Cloud and Energy Services: Principles and Practices. Chap. 4, pp. 85-116. , Rivera W., (ed), Springer, Cham; Knirsch, F., Unterweger, A., Engel, D., Privacy-preserving blockchain-based electric vehicle charging with dynamic tariff decisions (2018) J. Comput. Sci. Res. Dev. (CSRD)., 33 (1), pp. 71-79; Munsing, E., Mather, J., Moura, S., Blockchains for decentralized optimization of energy resources in microgrid networks (2017) 2017 IEEE Conference on Control Technology and Applications (CCTA), pp. 2164-2171. , IEEE, Mauna Lani; Mengelkamp, E., Notheisen, B., Beer, C., Dauer, D., Weinhardt, C., A blockchain-based smart grid: towards sustainable local energy markets (2018) Comput. Sci. Res. Dev., 33 (1), pp. 207-214; Greenspan, G., (2015) MultiChain Private Blockchain - White Paper, , http://www.multichain.com/download/MultiChain-White-Paper.pdf, Technical report, Coin Sciences Ltd; Wood, G., (2017) Ethereum: A Secure Decentralised Generalised Transaction Ledger, , https://ethereum.github.io/yellowpaper/paper.pdf, Technical report, Ethereum; Croman, K., Decker, C., Eyal, I., Gencer, A.E., Juels, A., Kosba, A., Miller, A., Wattenhofer, R., On Scaling Decentralized Blockchains (2016) International Conference on Financial Cryptography and Data Security, pp. 106-125. , Springer, Christ Church; Eyal, I., Sirer, E.G., Majority Is Not Enough: Bitcoin Mining Is Vulnerable (2014) Financial Cryptography and Data Security, 18th International Conference, FC 2014, Christ Church, Barbados, March 3-7, 2014, Revised Selected Papers, pp. 436-454. , Christin N., Safavi-Naini R., (eds), Springer, Berlin Heidelberg; Nikitin, K., Kokoris-Kogias, E., Jovanovic, P., Gasser, L., Gailly, N., Khoffi, I., Cappos, J., Ford, B., CHAINIAC: Proactive Software-Update Transparency via Collectively Signed Skipchains and Verified Builds (2017) 26th USENIX Security Symposium (USENIX Security 17), pp. 1271-1287. , USENIX Association, Vancouver; Ben-Sasson, E., Chiesa, A., Garman, C., Green, M., Miers, I., Tromer, E., Virza, M., Zerocash: Decentralized Anonymous Payments from Bitcoin (2014) Proceedings – IEEE Symposium on Security and Privacy, pp. 459-474. , IEEE, San Jose; Unterweger, A., Knirsch, F., Leixnering, C., Engel, D., Lessons Learned from Implementing a Privacy-Preserving Smart Contract in Ethereum (2018) 2018 9th IFIP International Conference on New Technologies, Mobility and Security (NTMS), , IEEE, Paris; Lamport, L., Shostak, R., Pease, M., The Byzantine Generals Problem (1982) ACM Trans. Program. Lang. Syst., 4 (3), pp. 382-401; Canetti, R., Rabin, T., Fast Asynchronous Byzantine Agreement with Optimal Resilience 1 Introduction (1993) Proceedings of the Twenty-fifth Annual ACM Symposium on Theory of Computing, pp. 42-51. , ACM, San Diego; Vukolić, M., The Quest for Scalable Blockchain Fabric: Proof-of-Work vs. BFT Replication (2016) Open Problems in Network Security, pp. 112-125. , Springer, Cham; Katz, J., Lindell, Y., (2007) Introduction to Modern Cryptography, 1st edn, , Chapman and Hall/CRC, New York; Abraham, I., Malkhi, D., Nayak, K., Ren, L., Spiegelman, A., The 21st International Conference on Principles of Distributed Systems (2017) Solida: A Blockchain Protocol Based on Reconfigurable Byzantine Consensus, pp. 1-17. , http://arxiv.org/abs/1612.02916, Lisbon, Accessed 24 Jan 2019; Lesser, J.A., Su, X., Design of an economically efficient feed-in tariff structure for renewable energy development (2008) Energy Pol., 36 (3), pp. 981-990; Krampe, L., Wünsch, M., Schlussbericht Mieterstrom – Rechtliche Einordnung, Organisationsformen (2017) Potenziale Und Wirtschaftlichkeit Von Mieterstrommodellen (MSM), , https://www.bmwi.de/Redaktion/DE/Publikationen/Studien/schlussbericht-mieterstrom.pdf?__blob=publicationFile&v=10, Technical report; Mengelkamp, E., Gärttner, J., Rock, K., Kessler, S., Orsini, L., Weinhardt, C., Designing microgrid energy markets: A case study: The Brooklyn Microgrid (2018) Appl. Energy., 210, pp. 870-880; (2017), https://www.ris.bka.gv.at/Dokumente/RegV/REGV_COO_2026_100_2_1346954/COO_2026_100_2_1347360.pdf, Accessed 24 Jan 2019; (2017), https://www.ris.bka.gv.at/eli/bgbl/I/2017/108, Nationalrat, Änderung des Ökostromgesetzes 2012, des Elektrizitätswirtschafts- und -organisationsgesetzes 2010, des Gaswirtschaftsgesetzes 2011, des KWK-Punkte-Gesetzes und des Energie-Control-Gesetzes sowie Bundesgesetz, mit dem zusätzliche Mittel aus von der..BGBl. I Nr. 108/2017 (NR: GP XXV RV 1519 AB 1527 S. 190. BR: 9831 AB 9873 S. 870.), Accessed 24 Jan 2019; Gesetz zur Förderung von Mieterstrom und zur Änderung weiterer Vorschriften des Erneuerbare-Energien-Gesetzes (2017) Bundesgesetzblatt Teil I, 2017 (49), pp. 2532-2539; (2010), https://www.ris.bka.gv.at/eli/bgbl/I/2010/110, Nationalrat, Bundesgesetz, mit dem die Organisation auf dem Gebiet der Elektrizitätswirtschaft neu geregelt wird (Elektrizitätswirtschafts- und -organisationsgesetz 2010 – ElWOG 2010). BGBl. I Nr. 110/2010 (NR: GP XXIV RV 994 AB 997 S. 86. BR: 8420 AB 8421 S. 791.), Accessed 24 Jan 2019; (2018), https://www.ris.bka.gv.at/GeltendeFassung.wxe?Abfrage=Bundesnormen&Gesetzesnummer=20007045, Nationalrat, Bundesrecht konsolidiert: Gesamte Rechtsvorschrift für Elektrizitätswirtschafts- und -organisationsgesetz 2010, Fassung vom 14.02.2018, Accessed 24 Jan 2019; Gesetz zur grundlegenden Reform des Erneuerbare-Energien-Gesetzes und zur Änderung weiterer Bestimmungen des Energiewirtschaftsrechts (2014) Bundesgesetzblatt Teil I, 2014 (33), pp. 1066-1132; (2017) Juli 2014 (Bgbl. I S. 1066), Das Zuletzt Durch Artikel 1 Des Gesetzes Vom 17. Juli 2017 (Bgbl. I S. 2532) geändert Worden Ist, , https://www.gesetze-im-internet.de/eeg_2014/BJNR106610014.html, Accessed 24 Jan 2019; Wüst, K., Gervais, A., Do You Need a Blockchain, , https://eprint.iacr.org/2017/375.pdf; (2009) Directive 2009/72/EC of the European Parliament and of the Council of 13 July 2009 concerning Common Rules for the Internal Market in Electricity and Repealing Directive 2003/54/EC, , http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32009L0072, Accessed 24 Jan 2019; Hearn, M., (2016) Corda: A distributed ledger, Version 0.5. Technical report. Corda, , https://www.corda.net/content/corda-technical-whitepaper.pdf, Accessed September 2018; Security and Privacy in Decentralized Energy Trading through Multi-signatures, Blockchain and Anonymous Messaging Streams (2016) IEEE Trans. Dependable Secure Comput., 15 (5), pp. 840-852; Mihaylov, M., Jurado, S., Avellana, N., Van Moffaert, K., De Abril, I.M., Nowé, A., NRGcoin: Virtual currency for trading of renewable energy in smart grids (2014) 11th International Conference on the European Energy Market, EEM, , IEEE, Krakow; Mihaylov, M., Jurado, S., Moffaert, K.V., Now, A., NRG-X-Change - A Novel Mechanism for Trading of Renewable Energy in Smart Grids (2014) Proceedings of the 3rd International Conference on Smart Grids and Green IT Systems, pp. 101-106. , SciTePress, Barcelona; Sikorski, J.J., Haughton, J., Kraft, M., Blockchain technology in the chemical industry: Machine-to-machine electricity market (2017) Appl. Energy., 195, pp. 234-246; Ilic, D., Da Silva, P.G., Karnouskos, S., Griesemer, M., An energy market for trading electricity in smart grid neighbourhoods (2012) IEEE International Conference on Digital Ecosystems and Technologies, pp. 1-6. , IEEE, Atlanta; Wang, Y., Saad, W., Han, Z., Poor, H.V., Başar, T., A game-theoretic approach to energy trading in the smart grid (2014) IEEE Trans. Smart Grid, 5 (3), pp. 1439-1450. , 1310.1814; Kokoris-Kogias, E., Jovanovic, P., Gailly, N., Khoffi, I., Gasser, L., Ford, B., Enhancing Bitcoin Security and Performance with Strong Consistency via Collective Signing (2016) 25th USENIX Security Symposium (USENIX 2016), pp. 279-296. , USENIX Association, Austin; Bucko, J., Paľová, D., Vejačka, M., Security and Trust in Cryptocurrencies (2015) Central European Conference In Finance And Economics, pp. 14-24. , Technical University of Košice, Herlany; Unterweger, A., Knirsch, F., Leixnering, C., Engel, D., (2017) Update: Lessons Learned from Implementing a Privacy-Preserving Smart Contract in Ethereum, , http://www.en-trust.at/papers/Unterweger18a-t.pdf, Technical report, Center for Secure Energy Informatics, Salzburg University of Applied Sciences, Austria, nov; Knirsch, F., Unterweger, A., Karlsson, K., Engel, D., Wicker, S.B., (2018) Evaluation of a Blockchain-Based Proof-Of-Possession Implementation, , http://www.en-trust.at/papers/Knirsch18a-t.pdf, Technical report, Center for Secure Energy Informatics, Salzburg University of Applied Sciences, Austria; Han, R., Gramoli, V., Xu, X., Evaluating Blockchains for IoT (2018) 9th IFIP Conference on New Technologies, Mobility & Security (NTMS 2018), p. 4. , IEEE/IFIP, Paris; Kosba, A., Miller, A., Shi, E., Wen, Z., Papamanthou, C., Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts (2016) 2016 IEEE Symposium on Security and Privacy (SP), pp. 839-858. , IEEE, San Jose; Mazières, D., (2016) The Stellar Consensus Protocol: A Federated Model for Internet-level Consensus, , https://www.stellar.org/papers/stellar-consensus-protocol.pdf, Technical report, Stellar Development Foundation; Kokoris-Kogias, E., Jovanovic, P., Gasser, L., Gailly, N., Syta, E., Ford, B., OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding (2018) IEEE Symp. Secur. Priv., pp. 583-598; Engel, D., Eibl, G., Wavelet-Based Multiresolution Smart Meter Privacy (2017) IEEE Trans. Smart Grid, 8 (4), pp. 1710-1721; Laupichler, D., Vollmer, S., Bast, H., Intemann, M., Das BSI-Schutzprofil: Anforderungen an den Datenschutz und die Datensicherheit für Smart Metering Systeme (2011) Datenschutz und Datensicherheit - DuD, 35 (8), pp. 542-546; Herlihy, M., Shavit, N., (2012) The Art of Multiprocessor Programming, rev. 1st edn, , Morgan Kaufmann, Waltham; Barker, E., Barker, W., Burr, W., Polk, W., Smid, M., Division, C.S., (2012) National Institute of Standards & Technology, , https://csrc.nist.gov/publications/detail/sp/800-57-part-1/revised/archive/2007-03-01; Dierks, T., Rescorla, E., The Transport Layer Security (TLS) Protocol Version 1.2 (2008) RFC, 5246. , https://tools.ietf.org/html/rfc5246.Accessed24Jan2019; Decker, C., Wattenhofer, R., Information propagation in the Bitcoin network Information Propagation in the Bitcoin Network (2013) IEEE P2P 2013 Proceedings, , Trento; Jakobsson, M., Juels, A., Proofs of Work and Bread Pudding Protocols (Extended Abstract) (1999) Secure Information Networks: Communications and Multimedia Security IFIP TC6/TC11 Joint Working Conference on Communications and Multimedia Security (CMS’99) September 20–21, 1999, Leuven, Belgium, pp. 258-272. , Preneel B, (ed), Springer, Dordrecht; Eyal, I., Gencer, A.E., Sirer, E.G., van Renesse, R., Bitcoin-NG: A Scalable Blockchain Protocol (2016) Proceedings of the 13th Usenix Conference on Networked Systems Design and Implementation. NSDI’16, pp. 45-59. , USENIX Association, Santa Clara: 1510.02037; Carlsten, M., Kalodner, H., Weinberg, S.M., Narayanan, A., On the Instability of Bitcoin Without the Block Reward (2016) Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security - CCS’16, pp. 154-167. , ACM, Vienna
PY - 2019
Y1 - 2019
N2 - Blockchains are proposed for many application domains apart from financial transactions. While there are generic blockchains that can be molded for specific use cases, they often lack a lightweight and easy-to-customize implementation. In this paper, we introduce the core concepts of blockchain technology and investigate a real-world use case from the energy domain, where customers trade portions of their photovoltaic power plant via a blockchain. This does not only involve blockchain technology, but also requires user interaction. Therefore, a fully custom, private, and permissioned blockchain is implemented from scratch. We evaluate and motivate the need for blockchain technology within this use case, as well as the desired properties of the system. We then describe the implementation and the insights from our implementation in detail, serving as a guide for others and to show potential opportunities and pitfalls when implementing a blockchain from scratch. © 2019, The Author(s).
AB - Blockchains are proposed for many application domains apart from financial transactions. While there are generic blockchains that can be molded for specific use cases, they often lack a lightweight and easy-to-customize implementation. In this paper, we introduce the core concepts of blockchain technology and investigate a real-world use case from the energy domain, where customers trade portions of their photovoltaic power plant via a blockchain. This does not only involve blockchain technology, but also requires user interaction. Therefore, a fully custom, private, and permissioned blockchain is implemented from scratch. We evaluate and motivate the need for blockchain technology within this use case, as well as the desired properties of the system. We then describe the implementation and the insights from our implementation in detail, serving as a guide for others and to show potential opportunities and pitfalls when implementing a blockchain from scratch. © 2019, The Author(s).
KW - Blockchain
KW - Implementation
KW - Practical insights
KW - Private chain
KW - Photovoltaic cells
KW - Energy domain
KW - Financial transactions
KW - Photovoltaic power plant
KW - Real-world
KW - User interaction
U2 - 10.1186/s13635-019-0085-3
DO - 10.1186/s13635-019-0085-3
M3 - Article
SN - 2510-523X
VL - 2019
JO - Eurasip J. Inf. Secur.
JF - Eurasip J. Inf. Secur.
IS - 1
M1 - 2
ER -