Category: Technical

Building a Basic Ethereum Smart Contract (For Bike Park Fun)

Overview Ethereum smart contracts offer a wealth of possibilities for building decentralized, blockchain-secured applications. But what is a smart contract? These programs are code executed by the Ethereum Virtual Machine, a decentralized computer on the Ethereum network. Every node on the network receives the contract code, and validates every function call sent through an Ethereum

Indestructible Data: How Arbitrary Data is Added to the Blockchain

Overview The blockchain is a very powerful tool – it’s a distributed, immutable database of all the transactions that have ever occurred on a cryptocurrency network. When you transact on Bitcoin, for example, that transfer of value is recorded on the blockchain forever. It cannot be modified or changed after just a few confirmations (blocks

Prototyping the Blockchain Lawnmower (Code Companion #3)

Overview In my recent tutorial on tokenization, I showed a possible future where we might trade assets like homes, cars or even lawnmowers on the blockchain. I built a fun prototype to demonstrate this concept – using a Bitcoin Cash token, a Raspberry Pi, and my trusty lawn tractor! This tutorial is a technical look

Bitcoin Cryptography – Hashing Algorithms

Overview At the core of cryptocurrencies lies the science of cryptography. These mathematically secured and provable algorithms allow currencies like Bitcoin to be built in a way that’s peer-to-peer instead of based on corporate or governmental trust. One of the key classes of cryptographic algorithms used in cryptocurrencies is hashing algorithms – powerful one-way functions

Recovering BCH (Sent to BTC Address)

Overview Many of the viewers of my tutorial on what happens when you send BCH to a BTC address have asked for more specific help on how to recover funds in this scenario. Fortunately, not all is lost if this happens – it just depends on the context. For non-custodial wallets (where the user controls

Learn Hashing, Binary, and Proof-of-Work with MicroProver (Code Companion #2)

Note: This article focuses on the development of MicroProver. See my slides for the full BTC2019 talk Overview Proof-of-work is a Bitcoin and blockchain topic of vital importance, as it allows transactions to occur without trusting an intermediary. However, understanding this concept also requires some computer science background. One needs to know about hashing algorithms,

Offline Address Generation with uBitAddr (Code Companion #1)

This is a new series I’m introducing called “Code Companion”. These articles and videos highlight code projects of mine that are related to Bitcoin & cryptocurrencies. These projects can be helpful in understanding technical blockchain concepts. Explore and enjoy! Overview One of the most secure ways to store Bitcoin and other cryptocurrencies for the long

Token-Ize Me – The Basics of ERC20 Tokens

Overview One of the most interesting and powerful capabilities of the Ethereum network is the ability to create new currencies that operate on top of the base network. By using smart contracts, it’s possible to create a currency called a token without having to fork an existing currency’s code and create a new decentralized network.