Q: What is the value token for Ethereum?
A: Ether (ETH)
Q: What is the difference between Wei and Ether?
A: Wei is a denomination, like cents to Dollars or pennies to Pounds. 1 ETH = 1⁰¹⁸ Wei
Q: What is the average block time in Ethereum?
A: ~14 seconds
Q: What is the average block size in Ethereum?
A: Around 2KB, although it depends.
Q: Does Ethereum support scripting? If so, what types of scripting?
A: Yes. It supports Smart Contracts
Design patterns have proven to be the go-to solution for many common programming scenarios. They are not only generic, but also easy to extend and tweak to one’s needs. Let’s take a look at some useful Solidity Design patterns that will probably come in handy when writing smart contracts during the development of you killer DApp.
We will look at the following patterns:
Contract Self Destruction
Used for terminating a contract, which means removing it forever from the blockchain. Once destroyed, it’s not possible to…