This is part 2 of the "Lottery as a Smart Contract" series. In part 1, I described the business logic behind the Lottery Smart Contract. Here, I will demonstrate how this contract is executed. To run this, you will need:
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.
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.
It's been 6 months since my last post and much has changed in the Cryptocurrency space. I conducted my first Cryptocurrency class 'A Beginner's Introduction to Blockchain Technology with Ethereum and Solidity Smart Contract' to a group of participants from various backgrounds - developers, lawyers, engineers and crypto-enthusiasts.
As I spend more time writing Ethereum Smart Contracts, I started looking for IDEs that lets me code, test and deploy productively. This is a documentation of how I set up my Mist wallet and Remix Browser for development. While Mist wallet lets me code on the computer at home, Remix Browser lets me do so from anywhere.
This is a continuation of the Going Dutch Smart Contract project that I started on 2nd Sep 2017. It has been a month, which is probably the equivalent of a year if you count in blockchain-time. Geth has gone from 1.6.7 to 1.7.2 and after upgrading my setup, I had to let it run overnight (in fast mode!) to sync my node to the block again.
This is a continuation of my post about Ethereum on the Cloud and Smart Contract execution with MetaMask. MetaMask is a Google Chrome extension and runs only on desktops. I wanted to execute Dapps on a mobile device on the go. Enters Status. Status is a mobile application on Android and iPhone. It allows you to run Decentralized apps, stores your ETH in a wallet and send/receive ETH from another person. It also runs like chatbot.
Mahesh Murthy has an amazing tutorial to setup an Ethereum environment to develop Truffle Dapps on the Ethereum blockchain. You can read it here. Part 1 of the tutorial explains the architecture of the Ethereum platforms and lets you execute a smart contract via a simple web page that runs locally. The blockchain runs locally using testrpc.