Blockchain Developer

Blockchain Developer

Tutorials, walkthrough, hints and tips on Blockchain Development for all levels of expertise.


How To Secure Your Smart Contracts - Part 2

28 Apr 2020 3 minute read 1 comment alexroan

This article explains how to secure your smart contracts against arithmetic overflows and underflows Prerequisites: A basic understanding of the Ethereum Blockchain and Smart Contracts. Introduction This is part 2 of a series on securing your Smart...

How To Secure Your Smart Contracts

26 Apr 2020 4 minute read 14 comments alexroan

This article explains how to secure your smart contracts against reentrancy and ownership theft attacks. Prerequisites: A basic understanding of the Ethereum Blockchain and Smart Contracts. Introduction Tunnel vision, a pitfall that every developer...

How Spankchain Got Hacked

26 Apr 2020 6 minute read 7 comments alexroan

Introduction Spankchain is a decentralised platform for the adult entertainment industry. In 2018, one of their Smart Contracts was attacked and drained of around 165 Ether. The Spankchain team published an overview of the attack when they discovered...

How to Test Ethereum Smart Contracts

26 Apr 2020 5 minute read 0 comments alexroan

This article walks through how to test Smart Contracts using Solidity and JavaScript. Prerequisites: A basic understanding of Blockchain, Ethereum and Javascript. The full working project code can be found on Github. The Importance of Software Testi...

Smart Contracts: Don't Reinvent The Wheel

26 Apr 2020 3 minute read 1 comment alexroan

Always use OpenZeppelin Don’t get me wrong, writing smart contracts from scratch is a great learning tool. Tasking yourself with creating an ERC20-compliant contract from start to finish is one of the best ways to gain an understanding of the logic...

15 Tips to Write Better Smart Contracts

25 Apr 2020 5 minute read 0 comments alexroan

1. Define the Purpose Before starting, make sure you have a clear understanding of what your smart contract is supposed to do. What value does it add? How should it be used? Consider the question of whether or not it even needs to be a blockchain app...

How to Make a Pokémon-Like Game With ERC-721 Tokens

25 Apr 2020 5 minute read 0 comments alexroan

ERC-721 tokens: What they are? How do they work? How can we use them? ERC-20 vs. ERC-721 At the height of the ICO bubble in 2017, ERC-20 tokens were everywhere. They were used as a form of crowdfunding by tech companies, with some claiming future use...

How to Build a DApp Portfolio Without Spending a Penny

25 Apr 2020 5 minute read 14 comments alexroan

Use testnets and free web services to deploy Ethereum DApps for free Building a portfolio of decentralized applications (DApps) is the best way to show the world you’re a blockchain developer. You might think that maintaining a portfolio of public DA...

Ethereum Testnets: What Are They and Why So Many?

25 Apr 2020 2 minute read 9 comments alexroan

Kovan, Rinkeby, Sokol, Görli & Ropsten Introduction Any new software destined to be released into the wild has to be well tested. Deploying a DApp directly to the Ethereum Mainnet before first testing it on a testnet would be extremely reckless. The...

I Created a Truffle Box With React, Redux, and Bootstrap 4

25 Apr 2020 6 minute read 1 comment alexroan

What is Truffle Suite? Truffle is the world’s most popular blockchain development suite. Using their own words: “A world-class development environment, testing framework, and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), ai...