Have you ever wanted to build your own cryptocurrency? Or learn Rust? Well, now you can. This is the first video in a series in which we will build a basic blockchain-based cryptocurrency in the programming language Rust. Don’t know Rust? No problem! I’ll be explaining some of the basics of Rust programming along the way. This tutorial series will be easier to follow if you have experience with lower-level/systems programming in languages like Assembly, C, or C++ and/or if you have experience with languages that have strict/complex type systems like Java or Haskell (at least stricter than Python or JavaScript).

    Project repo:
    Companion blog post:

    NOTE: YES, THERE IS A LONG INTRO. I wanted to make sure I explained enough concepts for people new to Rust or blockchain to understand. Most of my videos are about web development, so I do not expect my typical viewers to have experience in these realms! 15:54 is where I start actually coding.

    Timestamps:
    2:18 – Blockchains for Programmers
    4:43 – Concept: Hashing
    6:35 – What we will be using
    9:52 – Code comparison (Java, Rust, JavaScript)
    14:19 – Overview of starter files
    15:54 – First line of code written: Implementing the Block struct
    18:11 – Implementing Block “constructor”
    21:40 – Implementing Debug formatter
    27:26 – Creating the Hashable trait
    30:52 – Implementing Hashable on Block

    Links
    Project repo:
    Slides:
    Rust Language:
    Git:
    Rust Book:
    hex crate:
    crypto-hash crate:

    Support GeekLaunch on Patreon:

    Follow GeekLaunch on Twitter:

    GeekLaunch produces educational videos covering such topics as Linux, web development (including HTML5, CSS 3, JavaScript, and PHP), tips for power users, among many others.

    Not a geek? Start today!

    Comments are closed.

    Share via