Surfing the Web, I have noticed several articles about Emercoin and The Bitfury Group success story.
Emercoin blockchain changes the educational sector with "Trusted Diploma" verification system_Emercoin together with Business & Technology University based in Tbilisi ( ) addressed the global issue of fake…_emercoin.com
First several times I just skipped them, but then decided to look inside.
“We are very happy to work with the innovative Emercoin team on this crucially important project. The Trusted Diploma platform will help our school build a secure and immutable database of education certificates, which will help our graduates as they pursue successful careers,” said Mikheil Batiashvili, the BTU university rector (today — Minister of Education, Science, Culture and Sports of Georgia).
Let’s take a look at what happens when you add files to IPFS:
In a fantastic world, all Universities use one standard format of the digital diploma. However, in real life, there are a lot of different options with unclear name conventions:
We have to work with all of them!Create own ‘handmade’ file in MS Word or MS Paint, input your personal or test data and save as pdf or jpeg. Don’t worry about the quality of document as it’s just testing.
My ugly example
Next step put this file in the blockchain.
We know that public blockchain cannot support media file storing. So we have to use another solution. Upload files to IPFS and store only hash to the public blockchain
The unique file has the unique hash. If we upload diploma file to IPFS than hackers cannot change it as hash will be re-created.
Go to https://globalupload.io/
Upload your diploma file. Copy and save you hash
QmZLuAQNzXZnzrZwyhusnyJW2HTna8zrPqwwNr2NtPen5P
Open notepad and create your own diploma record including hash of diploma:
Andrii Ryzhenko;Ukraine;Kiev;Master;FI-82;KPI; 2018;QQmZLuAQNzXZnzrZwyhusnyJW2HTna8zrPqwwNr2NtPen5P
But Ethereum data transaction supports hex format. Use a convector “text to hex” and transfer actual record
Convert a String to Hex - Online Hex Tools_World's simplest collection of useful utilities for working with hexadecimal data. Convert hex numbers to other…_onlinehextools.com
My example
My hex text
416e647269692052797a68656e6b6f3b556b7261696e653b4b6965763b4d61737465723b46492d38323b4b50493b20323031383b516d5a4c7541514e7a585a6e7a725a77796875736e794a573248546e61387a72507177774e72324e7450656e3550
Now we ready send data to the Ethereum blockchain.
I usually use MetaMask web plugin.
Go to www.metamask.io website and follow a basic instruction to install it. Save mnemonic words to restore access in case issues.
Next, go https://faucet.rinkeby.io/
Finish a simple quest. Copy you account address from MetaMask to Google+ post.
Input link to faucet form and select 3 days delay for 18.75 Ethers.
Wait for account balance update
Go to the Ethereum MetaMask wallet. Select Rinkeby Test Network. Additionally, you can use public Ethereum network or run own private Ethereum networks (MS Azure or Google Cloud).
Click SEND, input data:
Click NEXT
Increase Gas Limit (better add zero, as 21000 wei is not enough. Ethereum spends 68 gas for non-zeros byte)
Click SEND
Wait for transaction results
Open link of your last transaction in MetaMask.
Validate the main parameters of the Ethereum transaction:
My transaction link example
Rinkeby Transaction 0x4d38f11fc2aba277b44a2cfba8a7775bf8739339edff999d7e6a29b0e0dc567f_Rinkeby (ETH) detailed transaction info for 0x4d38f11fc2aba277b44a2cfba8a7775bf8739339edff999d7e6a29b0e0dc567f_rinkeby.etherscan.io
Copy hash string to browser link https://ipfs.io/ipfs/{copy_your_file_hash}.
Open the diploma file and compare it with uploaded version.
Don’t forget share or like the article to help other people discover and read it.
Kindly follow Medium and LinkedIn https://www.linkedin.com/in/andrii/
Read more…
.
.
.