DOI QR코드

DOI QR Code

Design of Lab Framework for Effective Blockchain Education

효율적인 블록체인 교육을 위한 실습프레임워크 설계

  • Kim, Do-Kyu (Dept. of Information and Communication Engineering, SungKyul University)
  • 김도규 (성결대학교 정보통신공학과)
  • Received : 2020.12.03
  • Accepted : 2020.12.20
  • Published : 2020.12.31

Abstract

It is difficult to educate the overall operation of public and private blockchains with different characteristics. Recently, most education for blockchain is targeted at public blockchains such as Bitcoin and Ethereum. However, in an actual business environment, a private blockchain such as HyperLedger Fabric is used because access to corporate data is controlled through user authentication. In the case of HLF-based education, it is necessary to understand various components that are not in the public blockchain, such as peers, orderers, and channels. In this paper, a lab framework for HLF is designed for an efficient and systematic understanding of the functions and operations. The framework consists of HLF network, chaincode, and decentralized software control functions. Through the framework, the network configuration, distribution and activation of chaincode, and dApp execution process were checked step by step, and it was very easy to understand the overall flow for blockchain services. In addition, it is expected that a systematic understanding of the overall flow will be possible even in future network expansion.

상이한 특성을 가진 퍼블릭 블록체인과 프라이빗 블록체인에 대한 전체적인 동작을 통합적으로 교육하는 것은 용이하지 않다. 현재 블록체인의 개념과 동작을 위한 교육은 대부분 비트코인, 이더리움과 같은 퍼블릭 블록체인을 대상으로 하고 있다. 그러나 실제 기업환경에서는 사용자에 대한 인증을 통하여 기업 데이터에 접근통제를 하기 때문에 하이퍼레저패블릭(HLF)과 같은 프라이빗 블록체인이 활용되고 있다. HLF 기반으로 교육하는 경우에는 피어, 오더러, 채널 등 퍼블릭 블록체인에 없는 다양한 구성요소에 대한 이해가 필요하다. 본 논문에서는 이와 같은 구성요소의 기능과 동작에 대한 효율적이고 체계적인 이해를 위하여 실습프레임워크를 설계하였다. 설계된 프레임워크은 HLF 네트워크제어 체인코드제어 탈중앙화소프트웨어(Decentralized Application, dApp) 제어기능으로 구성되어 있다. 프레임워크을 통하여 네트워크을 구성하고 체인코드의 배포 및 활성화 후 dApp 실행과정을 단계적으로 확인하였고 블록체인 서비스를 위한 전체 흐름을 이해하는 것이 매우 용이하였다. 또한 향후 네트워크의 확장 등에도 전체 흐름에 대한 체계적인 이해가 가능할 것으로 기대한다.

Keywords

References

  1. Satoshi Nakamoto. (2008). Bitcoin: A Peer to Peer Electronic Cash System. https://bitcoin.org/bitcoin.pdf
  2. Renato P. dos Santos. (2018). PoW, PoS, & Hybrid protocols: A Matter of Complexity. https://arxiv.org/ftp/arxiv/papers/1805/1805.08674.pdf
  3. Mattumd. (2019). Running and Testing Smart Contracts for Hyperledger Fabric. Retrieved from https://developer.ibm.com/recipes/tutorials/running-and-testing-smart-contracts-for-hyperledger-fabric/
  4. Gilad Haimov. (2018). How to Create an ERC20 Token the Simple Way. https://www.toptal.com/ethereum/create-erc20-token-tutorial
  5. Gaurav Agrawal. (2019). ERC-721 Token. https://medium.com/quiknode/erc-721-token-ea80c7195102
  6. Luit Hollander. (2019). Ethereum Virtual Machine. https://medium.com/mycryppto/the-ethereum-virtual-machine-how-does-it-work-9abac2b7c9e
  7. Shuai Wang et al. (2018). An Ove rview of Smart Contract: Architecture, Applica tions, and Future Trends. IEEE Intelligent Vehicles Symposium.
  8. Elli Androulaki et al. (2018). Hyperledger Fabric: A Distributed Operating S ystem for Permissioned Blockchains. Proceedings of the Thirteenth EuroSys Conference.
  9. Christian Cachin. (2016). Architecture of the Hyperledger Blockchain Fabric. Workshop on Distributed cryptocurrencies.
  10. M Vukolic. (2017). Rethinking permissioned blockchains. Proceedings of the ACM Workshop on Blockchain, Cryptocurrencies and Contracts.
  11. Jennifer Bland. (2019). Example using EJS Templating in Node.js Application. https://www.jenniferbland.com/example-using-ejs-templating-in-node-js-application/
  12. K. C. Tam. (2018). Understanding First Network Example in Hyperledger Fabric. https://kctheservant.medium.com/understanding-first-network-example-in-hyperledger-fabric-part-1-c03391af798
  13. Mattumd. (2019). Writing Hyperledger Fabric Chaincode Using Go Programming Language. https://developer.ibm.com/recipes/tutorials/writing-hyperledger-fabric-chaincode-using-go-programming-language/
  14. Coral Health. (2018). Build a DApp on Hyperle dger the Easy Way. https://mycoralhealth.medium.com/build-a-dapp-on-hyper ledger-the-easy-way-178c39e503fa