Solidity Programming

16 Articles 3 Followers


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...

The Skills You Need to Be a Blockchain Developer

23 Apr 2020 5 minute read 1 comment alexroan

  The skills you need to work on to become a blockchain developer. Whether you’ve never coded before, or have multiple years of experience developing software, becoming a Blockchain developer requires a new set of skills. Identifying which skills you...

I Deployed a Smart Contract to the Tron Blockchain. This is How I Did It.

27 Mar 2020 3 minute read 13 comments SkinnerCrypto

So, for those of you who do not know, I have been actively involving myself in learning blockchain development and also... trying like hell to figure out F*CKING BOOTSTRAP. GAH! THAT IS ANNOYING BUT ALSO USEFUL. I have a use case for which I am ready...