In the last post, we explained the high level architecture of Ethereum platform comparing it to a web application. As a developer, the best way to learn any new technology is by diving in and building toy applications. In this post, let’s build a simple ‘Hello World!’ application which is a Voting application.
The application is extremely simple, all it does is initialize a set of contestants, let anyone vote for the candidates and display the total votes received by each candidate. The goal is not to just code an application but to learn the process of compiling, deploying and interacting with it.
We have deliberately avoided using any DApp frameworks to build this application because the frameworks abstract away lot of the details and you fail to understand the internals of the system. Also, when you do use a framework, you will have more appreciation for all the heavy lifting the framework does for you!
The goal of this exercise is to:
You can refer following site to learn more about it.
Hello there!
I have been on the course for a while and I did learn solidity a while back.
Right now I am actually planning to learn more advan...
Unlike Bitcoin, Ethereum’s total supply is not set. As of May 24, 2018, the circulating supply (ETH in existence) is 99,630,274 (Coinmarketcap).
As of May 24, 2018, the price of Ethereum was $606.96.
However, Ethereum prices tend to fluctuate dramatically, and these prices swing on a daily (and hourly) basis.
It's important to note that the cryptocurrency market is very volatile - as you can see from the chart (5 year period) below:
Ethereum uses its own programming language, Solidity.
Developers’ unfamiliarity with Solidity has led to code being written incorrectly, which led to problems like The DAO hack.
Projects similar to Ethereum have emerged addressing this issue and allow programmers to use more familiar languages like Javascript.
Ethereum, like Bitcoin, is facing problems, as it grows more popular.
The fact that games like CryptoKitties can cause network congestion is a cause for concern.
If Ethereum can’t handle many transactions, some critics are wondering how will it ever scale to meet the demands of a mainstream user base
Transaction fees on the Ethereum platform are paid in Gas - and they can quickly inflate.
In fact, transaction fees increased by up to 70% Ethereum at peak usage.
As you can see in the chart below, transaction fees have fluctuated dramatically over the last few months.
Another technical problem with Ethereum is that sometimes the Ethereum wallet won't sync properly with the blockchain.
This means sometimes users can't see their wallet's actual balance - and the figures are can be inaccurate.
As you can imagine, that's a bit worrying for some users!
When several smart contracts are working in harmony, they can produce complex outcomes in a strict and exact way as programmed by the creator. When this happens, the group of smart contracts can be referred to as a decentralized application, or dApp.
To find out what the blockchain can enable us to do, it is important to note that the Ethereum blockchain gives us three types of dApps.
When Bitcoin was gaining ground as a breakthrough in cryptocurrencies in 2011, one of the earliest people to embrace the innovation was a 17-year-old coding and mathematics prodigy named Vitalik Buterin, a university student and a blogger at the time.
In Part 1, we built a simple voting dapp and got it working on our local machine. In Part 2, we moved our app to use truffle framework and deployed it to the public Ropsten testnet and interacted with it through the truffle console and through a webpage. In this tutorial, we will add few more features to our voting dapp in order to learn a few key concepts. Here is what you will learn in this tutorial:
You can find all the code in chapter3 directory in this repository: https://github.com/maheshmurthy/ethereum_voting_dapp
As you may know, in a general election, every citize...