Creating Smart Contracts with Smart Contract

Creating Smart Contracts with Smart Contract

This article explores the technique of getting one Smart Contract to call another Smart Contract and is a follow-up to the Escrow Service article that I wrote in May 2018. The Safe Remote Purchase Smart Contract is, in my opinion, the clearest example to explain Smart Contracts to anyone who needs to understand what it does. Safe Remote Purchase has several quirky characteristics. In this article, I will explain one of them.

Lottery as a Smart Contract: The Business Logic

Lottery as a Smart Contract: The Business Logic

Writing a lottery contract is a great way to learn important Smart Contract concepts such as State, Event and Visibility. In this 3 part series, I will describe the logic and codes behind a Lottery Smart Contract. In developing my Lottery Contract, I used Oraclize, a data carrier service that executes external JSON web services.

Motivation

Escrow Service as a Smart Contract: The Business Logic

Escrow Service as a Smart Contract: The Business Logic

An area of Smart Contract development that has consistently intrigued me is its real world usage to disintermediate the middleman. There's one gem of a Smart Contract that achieves this in the Solidity documentation called Safe Remote Purchase.  This is the first blog post of a 2-parter where I will document how to execute Safe Remote Purchase using a combination of Remix and MetaMask.