Rust Project Tutorial: CLI Toy Blockchain
I was going to wait on this one, but I decided, what the hell, I can always build another implementation some other time. Blockchain technology is really cool as you guys are already probably abundantly aware. Blockchains can and have been used for many different use cases since the technology was popularized by Bitcoin in 2008. We've got coins that are aimed at helping the poor, coins that are aimed a providing decentralized currency, coins that are promoting social media platforms, yay! steem, and we've even got coins that help build more coins. These coins are everywhere and they are made possible by the blockchain which keeps everyone honest and makes these various platforms special.
This blockchain implementation does not have a token attached to it and it is not distributed either; mainly it is a toy that was made to work in a similar way to the larger blockchains that exist out there. You can mine the blocks on this chain and you can add transactions to the ledger. If you added a few more Rust crates you would be able to add peer to peer sharing and even add a full fledged token on top of this implementation but that is beyond the scope of my tutorial (at least for now).
In the future, I will be doing a multi-language implementation of a full fledged cryptocurrency with a more robust blockchain. I have always had one planned but I really wanted to get this smaller implementation out there now. Rust is a fantastic language to write blockchains in and it would be a great language to build a full cryptocurrency platform in as well. I know that there are plenty of viewers who would be interested in seeing a project like that and its definitely something that I really want to present.
I hope you guys enjoy this video and I hope it also helps you better understand the language of Rust. There are many more projects to come.
Full Github Source Code is here
If you enjoy the video, feel free to follow me on Steemit or on YouTube to get updates on the channel as well as more content.
If you like what I do, tips and upvotes are welcome:
ETH: 0xE448a8DDA5886C49d35B191B2F20630c103024c8
LTC: LXsKxF5JhmMtKgqfcUFdvcXVwiaSqxN9cP
Also, feel free to check out my channel for videos on Go, Elixir and Elm
That is pretty incredible. Why not attach a token? Too many already?
Well, this implementation could have a token attached to it, but it would need at least 4 times more code. The reason I choose not to do that in this particular project was just for the sake of saving time. These are after all just educational videos. At some point, I will have a project where I do build a full cryptocurrency platform but that will come when I start doing multi-language projects.
Anyways, cheers mate.
Thanx. It is really instructive, even for a horrible coder like me! Going to show it to @bluemoona ,
right on mate. Well have fun with it.
Thanks for the useful contribution and video
I appreciate the comment.
@originalworks
The @OriginalWorks bot has determined this post by @tensor to be original material and upvoted it!
To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!
You have collected your daily Power Up! This post received an upvote worth of 0.49$.

Learn how to Power Up Smart here!
Nice! this is awesome! well done!
Resteemed!
Thank you, I am glad you enjoyed it.
Resteemed by @resteembot! Good Luck!
Curious?
The @resteembot's introduction post
Get more from @resteembot with the #resteembotsentme initiative
Check out the great posts I already resteemed.