This is the first of a 2-part article that explains the codes behind Smart Contract Explained by Demonstration and will be of interest to developers who want to learn how to code a Web3-based DApp to serve as front-end user interface to a Solidity Smart Contract. In particular, this article explains the ways to:
This article builds on the tutorial written by Michael Chan here. In his article, Michael demonstrated how to code a React.js Dapp that writes a file's IPFS hash to an Ethereum Solidity Smart Contract and stores the file in IPFS. Michael Chan's article is a great piece to follow if React.js is what you are seeking.
I have come to enjoy coding in Solidity because it offers so much in innovative features.I have written about the "_" modifier in a previous article. In this article, I wish to document what
emit in Solidity does.
This is the 4th and final part of the Ethereum IOT Kid Grounding Device project. In this part, I will focus on describing the process of putting together the PIR sensor to write to the Ethereum Blockchain whenever the kid moves. I will also discuss my thoughts behind this project, explaining where it is lacking and how I could make it better in its next iteration.
This is part 2 of my Ethereum IOT Kid Grounding Device project. In this part, we will discuss the business logic behind Grounder.sol, the Smart Contract that does the real work behind grounding my kid. You may read part 1 here.
Solidity as a programming language has been most intriguing for me because of its many features that I haven't come across in languages that I have been more familiar with. One example is the underscore like the one in line 10 below.
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.