Professional Documents
Culture Documents
a r t i c l e i n f o a b s t r a c t
Keywords: Continuous Learning is seen as the key to remain competitive and effective at work. Very often, this also takes
Blockchain place outside the walls of a classroom. Nowadays Digital Badges and microcredentials are pathways to acknowl-
Continuous learning edge and recognize achievements and specific skills of a learner. In this research, the different techniques used
Digital badge
in existing blockchain-based educational systems have been reviewed and in the end, a novel web-based digital
Ethereum
badge and microcredentials system which helps the learners to acquire the desired skills is proposed. For the
Microcredential
Blockchain, Ethereum has been used and to develop the front end ReactJS has been used. A digital badging and
micro-credential system consisting of quizzes and digital badges was built with Ethereum blockchain together
with ipfs to store the badge image and firebase for examination, registration, and storing courses. The proposed
system proved to be very much beneficial and addressed the inherent limitations of traditional learning content
management systems (LCMS).
∗
Corresponding author at: University of Mauritius, Faculty of Information Communication and Digital Technologies, Mauritius
E-mail address: r.sungkur@uom.ac.mu (R.K. Sungkur).
https://doi.org/10.1016/j.gltp.2021.08.026
Received 30 June 2021; Accepted 7 July 2021
Available online 12 August 2021
2666-285X/© 2021 The Authors. Publishing Services by Elsevier B.V. on behalf of KeAi Communications Co. Ltd. This is an open access article under the CC
BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)
V. Chukowry, G. Nanuck and R.K. Sungkur Global Transitions Proceedings 2 (2021) 355–361
line, the certificate may become invalid or the user can even lose all the consensus, this value must be equal or smaller than a particularly given
certificate if the database crash. Furthermore, the user can falsify the value. Once a node gets the target value, he will send it to the other
certificate since it is digital [17-19]. nodes, who will confirm if the hash value is correct. If every node in the
blockchain confirms that the block is valid, they will add the new block
2. Related Works in their blockchain. Since blockchain is a decentralized network, mul-
tiple nodes might found the suitable nonce at approximately the same
2.1. Overview of Blockchain time, resulting in the formation of valid blocks simultaneously. In this
case, branches will be formed as shown below. To solve this, the longer
Blockchain can look on as a public ledger where information such as branch is taken as the valid one [1].
transactions, contracts, or anything in its digital form is stored in blocks
and shared by a group of people in a decentralized peer-to-peer network.
Each new block is added at the end of the chain and all the blocks are 2.3.2. Proof of stake (PoS)
cryptographically hash to their neighbor. Cryptography together with In PoW, miners waste a lot of resources as they have a lot of computer
consensus algorithms is used to provide security and consistency in the calculations to do. An alternative consensus algorithm is Proof of stake
blockchain. Furthermore, blockchain is well known for its immutable which saves more energy. In PoS, the miner needs to provide evidence
which makes it ideal for businesses that need high reliability and truth- of the ownership of the amount of currency. It is believed that people
fulness as data once store in a blockchain cannot be altered or deleted who have more currencies have less chance to attack the network [1].
[20-22].
2.2. Block
2.3.3. Smart contract
[1] describe the structure of block in the blockchain as consisting of Smart contract is a program that is stored in the blockchain. It con-
2 parts namely the header and the body. sists of a set of pre-defined conditions normally in the form of if-then-else
rules. When these rules are satisfied a pre-defined action is executed ac-
1 The block header consists of: cordingly. Ethereum smart contract uses the Ethereum Virtual Machine
○ Block version: consists of the rule to validate a block to run and the code is written in a stack-based bytecode language. So-
○ Merkle tree root hash [2] lidity and serpent can be used as high-level languages to write a smart
Merkle tree is a tree where the value of the parent node is hashes contract. Since a smart contract is used in a decentralized network, there
of the child nodes and it uses a bottom-up approach for hashing. should be an agreement among the party about the details of the con-
Merkle roots are used to verify a set of transactions because if tract and the terms and conditions. When all the parties agree and signed
there are any changes in the transaction the Merkle root will also the contract, it is added to the blockchain as a program code and it is ex-
change. Merkle root also provides proof of the present and order ecuted automatically without the need of a third party hence providing
of a transaction. trust and anonymity among nodes [4].
○ Timestamp: The time when a new block is created is recorded
in the header as seconds in the universal time since January 1,
1970
2.4. Micro credential and digital badges
○ nBits: refer to the target entry of a valid block hash.
○ Nonce: a four-byte field that normally begins with zero and for
A micro-credential program helps students to build skills outside
each hash calculation increases
the classroom by providing courses that cover specified skills. It is usu-
○ Parent block hash: SHA-256 is used to obtain the hash value that
ally more than a single course but shorter than a full degree. A micro-
points to the neighboring block.
credential is also a “visual representation of your capability” and is
2 The block body
awarded using a digital badge [5]. Digital badges can be described as
The transaction and the transaction counter are stored in the body of an image file that contains information that provides evidence about the
the block in the blockchain. The maximum number of transactions that skill, experience, and knowledge a person has acquired after complete
can be found in a block will depend on the size of the block and the size a course or some activities online [6]. The main key factor of badges is
of each transaction. motivation as badges can be used as a way to motivate people to com-
plete tasks, so before creating badges the basic principle of how and why
2.3. Consensus algorithms people are motivated with badges should be studied [7].
A digital badge consists of 3 components
Being distributed, the user may not trust all the nodes in the
blockchain as there can be a malicious node. There should be an agree- i Signifier: it is the visual part of the badge that is the image that
ment among the node about the contents of the blockchain and how represents the badge. It includes a unique name, a description of the
to store information in the block. To achieve trust in the blockchain a badge and it can also include a hint on how to obtain the badges.
consensus algorithm is used. Examples are: ii Completion logic: that is the requirement to obtain the badge.
It consists of
2.3.1. Proof of work (PoW) a Trigger: indicate what the person must do to obtain the badge
Since blockchain is a decentralized network, a node is selected ran- b Pre-requirement: the requirement that must be satisfied before
domly to add new blocks to the blockchain. However, there is the risk of activating the trigger.
attack in the network due to the presence of malicious nodes. To make c Conditions to earn the badge.
sure that the node is an honest one, the node will have to do a lot of d Multiplier: how many times the person has to meet the require-
work to prove it [1]. The work that must be done by the node is to ment to obtain the badge.
find the solution for a special mathematical problem using specialize iii Reward: what the user will get after getting the badge. Digital badge
hardware together with electricity which acts as power [3]. Each node also contains a clickable hyperlink to view more information that
has to calculate a hash value of the block in PoW, these nodes are also is metadata. Metadata consists of the date the badge was awarded,
referred to as miner. Miner would change the nonce which is present the issuer, or any other relevant data. Metadata can be added using
in the block header often to obtain a different hash value. To meet a JavaScript object notation for linked data (JSON-LD).
356
V. Chukowry, G. Nanuck and R.K. Sungkur Global Transitions Proceedings 2 (2021) 355–361
357
V. Chukowry, G. Nanuck and R.K. Sungkur Global Transitions Proceedings 2 (2021) 355–361
Table 1
Comparison between blockchain and database
Blockchain Database
1. There is trust among unknown user in blockchain as every node have the same The administrator is the one who controls the data so there is no trust in the system.
priority and any node can verify transactions that are added.
2 Data added in a blockchain is immutable as all the data are connected using a hash Data can be changed by people having access to the database or people can hack the
which will change if the data is changed. database to change data and the changes will be unnoticeable as there is no
evidence.
3 All users have a copy of the blockchain hence the blockchain will still exist even if All data can be lost if the database crash.
some nodes are left.
4 The student will be the owner of all their achievement received online (digital The digital certificate/digital badges will exist as long as the database exists that is if
badge/digital certificate). the organization stops hosting the e-learning platform the student will lose their
data store in the database.
5 An employer can verify a digital certificate/badge in the blockchain system without If any classification is needed the administrator needs to be contacted.
anyone’s intervention.
can also delete a course and can view the courses he has added.
After successful authentication of the learner, he/she will be able to
view courses added by an academic.
Fig. 2. Design structure of EduCTX 3 Examination on Blockchain
The next step would be the creation of an examination. To do so,
the academic need to enter the contract address generated by Truffle.
3. Methods
Then, he/she needs to connect to metamask by importing his private
key. He/She can then add the examination topic, the entrance Fee,
In the proposed system, Ethereum blockchain technology will be in-
the number of marks, the question, 1 correct answer and 3 other
corporated in the digital badge and in the examination app. The tech-
wrong answers. He/She can then confirm the transaction of adding
nology is traceable, tamper-proof and encrypted and its main purpose
his examination question in metamask.
is to eradicate the problem of fake certificates/recognitions. Blockchain
will also be used to achieve a secure peer-to-peer communication and To take an examination, the learner must first import his private
for decentralization. key in the metamask account. The learner will then able to view the
exam questions entered by the academic. He/She will select the first
3.1. Main components of proposed system question. The system will then prompt the user whether he wants to
pay the entrance fee or not to answer the question. The user can then
The system will consist of 4 main parts and a system architecture confirm/reject the transaction to pay. After successful payment, the user
is shown in Fig. 3. A flowchart for academics to create examinations is will be able to view and attempt the question. A good answer will enable
shown in Fig. 4. him to apply for a badge.
1 Authentication 1 Badge Allocation
This process is done with the help of Firebase Realtime Database The digital badge will contain an image and the metadata that is all
with components including Sign-up, Sign In and Logout. Both the courses that the learner has completed and the skills required. This
users namely learner and academic will login by providing correct badge can afterwards be accessed by an employer of a company.
credentials. Being in possession of digital badges encourage students to spend
2 Course Management more time to explore more courses and aim to get more badges. Just
After successful authentication of academic, he will be able to add like in sports, medals are given value, receiving a digital badge for
courses. The academic can also edit the details of the courses, he an achievement feels more rewarding.
358
V. Chukowry, G. Nanuck and R.K. Sungkur Global Transitions Proceedings 2 (2021) 355–361
All the logic for the system is written in the smart contract using the
solidity programming language. Code snippets of Smart contract imple-
mentation is shown in Fig. 5.
Mapping is used to store data using a key-value pair.
For our smart contract 3 mapping was created:
Badge Creation: For a student who has completed his examination Events for badge created, student added, and lecturer added were
and who has applied for a badge, the lecturer can create a digital badge created. This allows the application to know the current state of the
for the student. The title of the badge, description, criteria and the ad- smart contract.
dress for the student are entered by the academic and he must confirm Function to add the lecturer.
the transaction of adding a badge in metamask. The variable Lecturer is assigned msg.sender which means the cur-
View Badge: The student needs to use his metamask account to view rent Ethereum address. So the current address that the user will use to
his badge and the in the student profile, the student need to enter his create profit will be set to a lecturer to be able to distinguish it from
name and email. other addresses. Count is the id for the lecturer and it is used as the key
Search Badge: Any user including student and lecturer can search for for mapping the lecturer profile. This function will emit the lecturerAdd
a badge allocated to a student to recognize the skills of the student by event.
inserting the student ID and the address of the student. Function to register student: The function AddStudent is similar to
the AddLecturer function but here no variable is assigned to msg.sender.
4. Results Function to add badges: ‘Require’ is used to ensure that the user
enters all the fields when creating the badge. The msg.sender is also
4.1. Environment for implementation required to be Lecturer, which has been assigned when the lecturer is
registered. The nested mapping map the student address with their re-
1. Ganache: Ganache is installed to have a private local network spective badge and ‘now’ is used to get the timestamp when the badge
which is used to develop the application, deploy smart contract, is created.
and also 10 accounts with 100 ether each are provided to test the
application before deploying it in a mainnet. 4.3. Front end
2. Nodejs: To configure the environment to develop a smart con-
tract, NPM is needed which is obtained by installing node js. Once 1. Web3j is used to convert the client-side application to a blockchain
nodejs has successfully installed, webjs is the next dependency application. This is shown in Fig. 6.
required. Web3js is a set of libraries that are needed to allow in- 2. Then the data for the blockchain is loaded.
teraction between the Ethereum blockchain and the front end. Web3.eth.getAccounts() is used to get the current metamask ac-
Web3js has been install using NPM by executing the following count.
command in Powershell, ‘npm install web3’. After that, the smart contract is converted to a javascript version.
3. Truffle framework: Truffle is installed to enable the development
of Ethereum smart contacts using the programming language The badge, studentProfile, and the lecturerProfile mapping are called
solidity and it compiles them to bytecode which is run on the in this function and a for loop is used to iterate through the mapping.
Ethereum virtual machine. Truffle can compile a smart contract, The code to load blockchain data is shown in Fig. 7.
359
V. Chukowry, G. Nanuck and R.K. Sungkur Global Transitions Proceedings 2 (2021) 355–361
This section shows some of the GUI of the system. Fig. 8 shows stu-
dent profile whereas Fig. 9 shows the interface available for an academic
to create an exam. Fig. 10 shows a learner’s digital badge.
360
V. Chukowry, G. Nanuck and R.K. Sungkur Global Transitions Proceedings 2 (2021) 355–361
the student can have a trustworthy and tamperproof digital badge [5] A. Hanafy, Features and Affordances of Micro-credential Platforms in Higher Edu-
to represent all their achievements. cation Master of Science Thesis, Tampere University Master’s Degree Programme in
Industrial Engineering and Management, 2020.
[6] Fanfarelli, J. R. and McDaniel, R. (2019) Designing Effective Dig-
6. Conclusion ital Badges: Applications for Learning, Book4you.org. Available at:
https://book4you.org/book/10992765/63d874 (Accessed: March 17, 2021).
[7] L.E. Ellis, S.G. Nunn, J.T. Avella, Digital badges and micro-credentials: Historical
The world is facing an unprecedented situation with the rapid rise in overview, motivational aspects, issues, and challenges,”, in: Foundation of Digi-
Covid-19, impacting on all spheres of life. The world of Education has tal Badges and Micro-Credentials, Springer International Publishing, Cham, 2016,
not been spared of this phenomenon, with millions of learners not be- pp. 3–21.
[8] C. Li, J. Guo, G. Zhang, Y. Wang, Y. Sun, R. Bie, A Blockchain System for E-Learning
ing able to attend schools and universities. While education profession-
Assessment and Certification,", in: 2019 IEEE International Conference on Smart In-
als are fighting to find means to continue with the education process, ternet of Things (SmartIoT), 2019, pp. 212–219, doi:10.1109/SmartIoT.2019.00040.
questions are raised as to whether proposed solutions are effective. It doi:.
[9] E.-C. Tentea, V.M. Ionescu, Online quiz implementation using blockchain technology
is clear that e-learning and technology-enhanced learning remains the
for result tampering prevention, 2019 11th International Conference on Electronics,
way forward in this difficult situation. Most universities and schools are Computers and Artificial Intelligence (ECAI), 2019.
already moving in this direction. In this research, a web-based micro- [10] M. Turkanovic, M. Hölbl, K. Košič, M. Heričko, A. Kamišalić, EduCTX: A
credential system has been devised to allow students learn new skills or blockchain-based higher education credit platform, IEEE Access: Pract. Innov., Open
sol. 6 (2018) 5112–5127.
even enhance their skills in an easy, shorter and flexible manner. This [11] H.A.M. Deenmahomed, M.M. Didier, R.K. Sungkur, The future of university edu-
became more interesting with Blockchain technology which is a secure, cation: Examination, transcript, and certificate system using blockchain, Comput.
immutable and decentralized system gaining trust of students which Appl. Eng. Educ. (2021) 1–23 https://doi.org/, doi:10.1002/cae.22381.
[12] D. Shah, D. Patel, J. Adesara, P. Hingu, M Shah, Exploiting the Capabilities of
far better than traditional eLearning platforms. A micro-credential sys- Blockchain and Machine Learning in Education, Augment Hum. Res. 6 (2021) 1
tem consisting of quizzes and digital badges was built with Ethereum https://doi.org/, doi:10.1007/s41133-020-00039-7.
blockchain together with ipfs to store the badge image and firebase for [13] G. Caldarelli, J. Ellul, Trusted Academic Transcripts on the Blockchain, Appl. Sci. 11
(2021) 1842 https://doi.org/, doi:10.3390/app11041842.
examination, registration, and storing courses. It can be said that it is [14] R.K. Dash, T.N. Nguyen, K. Cengiz, A. Sharma, Fine-tuned support vector regression
more convenient to choose a micro credential system because of its cost, model for stock predictions, Neural Comput. Appl. (2021) 1–15.
its time span, recognition, the skills provided and also a learner can eas- [15] P. Subramani, G.B. Rajendran, J. Sengupta, R. Pérez de Prado, P.B. Divakarachari,
A block bi-diagonalization-based pre-coding for indoor multiple-input-multiple-out-
ily complete more courses in the time span of one traditional course at
put-visible light communication system, Energies 13 (13) (2020) 3466.
the university. Learners can easily select their desired courses to take [16] Z. Li., Z Ma, A blockchain-based credible and secure education experience data
examination and earn a recognition. Universities can use the system to management scheme supporting for searchable encryption, China Commun. 18 (6)
(2021) 172–183 doi:, doi:10.23919/JCC.2021.06.014.
allow learners access their courses and examinations and provide learn-
[17] G. Chandrasekaran, T.N. Nguyen, D.J. Hemanth, Multimodal sentimental analysis
ers with meaningful badges. Future works include the development of a for social media applications: A comprehensive review, Wiley Interdiscip. Rev.: Data
mobile version of the system that will allow the learners to easily access Min. Knowl. Discov. (2021) e1415.
the digital badges. [18] B.D. Parameshachari, R.P. Kiran, P. Rashmi, M.C. Supriya, Rajashekarappa,
H.T. Panduranga, Controlled partial image encryption based on LSIC and chaotic
map, ICCSP (2019) 60–63.
References [19] D. Mourtzis, J. Angelopoulos, N. Panopoulos, Blockchain in Engineering Education:
The Teaching Factory Paradigm (June 3, 2021), in: Proceedings of the Conference on
[1] Z. Zheng, S. Xie, H. Dai, X. Chen, H. Wang, An Overview of Blockchain Tech- Learning Factories (CLF) 2021, 2021 Available at SSRN, doi:10.2139/ssrn.3859151.
nology: Architecture, Consensus, and Future Trends, in: 2017 IEEE International [20] M.A. Naeem, T.N. Nguyen, R. Ali, K. Cengiz, Y. Meng, T. Khurshaid, Hybrid Cache
Congress on Big Data (BigData Congress), 2017, pp. 557–564, doi:10.1109/BigDat- Management in IoT-based Named Data Networking, IEEE Internet Things J. (2021).
aCongress.2017.85. doi:. [21] S.N. Shivappriya, S. Karthikeyan, S. Prabu, R. Pérez de Prado, B.D. Parameshachari,
[2] S. Dhumwad, M. Sukhadeve, C Naik, K.N Manjunath, S. Prabhu, A peer to peer A modified ABC-SQP-based combined approach for the optimization of a parallel
money transfer using SHA256 and Merkle tree, 23rd Annual International Confer- hybrid electric vehicle, Energies 13 (17) (2020) 4529.
ence in Advanced Computing and Communications (ADCOM), 2017. [22] L. Tan, N. Shi, K. Yu, M. Aloqaily, Y. Jararweh, “A Blockchain-Empowered Access
[3] J. Golosova, A. Romanovs, “The advantages and disadvantages of the blockchain Control Framework for Smart Devices in Green Internet of Things”, ACM Trans.
technology,”, 2018 IEEE 6th Workshop on Advances in Information, Electronic and Internet Technol. 21 (3) (2021) 1–20 https://doi.org/, doi:10.1145/3433542.
Electrical Engineering (AIEEE), 2018.
[4] Wang, S., Yuan, Y., Wang, X., Li, J. & Qin, R. (2018). An Overview
of Smart Contract: Architecture, Applications, and Future Trends. 108-113.
10.1109/IVS.2018.8500488.
361