Engineering Blog

Learn it. Build it. Simulate it.

2,781 step-by-step tutorials and projects on Arduino, ESP32, Raspberry Pi and Proteus.

2781 articles found.

What is Solidity Programming

Solidity Programming, Solidity programming language, Layout of a Solidity File, Solidity Programming for beginners, basic components of solidity

Hello friends, hope you are doing fine and doing great. In the previous tutorial for introducing Smart Contracts, I told you about Solidity. Solidity is a high-level programming language for writing smart contracts. It is the most popular programming language for Ethereum. So, in this article, I will explain the basic components of solidity. Let’s get started by revising the key points of solidity. In this section, I am going to discuss the general layout of a solidity file. It contains different components. The layout of a solidity file is explained below. It has: pragma Solidity ^0.7.0; I should mention here that semi-colon is the statement terminator in solidity. Forward slashes are used for denoting comments. Single line comment is denoted by double forward slash //. While multiline comment starts with /* and ends with */. It is a good practice to add comments to your program. This improves readability. import filename; So, this was the general layout of a solidity file. Now, I will move to the next section in which we are going to discuss the structure of a contract. Contracts are somehow similar to classes in OOP (Object Oriented Programming) Languages. The contracts are written for ethereum virtual machine. Just like other languages, contract code contains functions and variables. The contracts can also inherit from other solidity contracts. There are two special types of contracts in solidity called library and interface. In this section, I have discussed different ...

Structure of a Block in Blockchain

Structure of a Block in Blockchain, what is a block, Parent Block, Block Header, Properties of a Block, Block Identification

Hello guys, hope you are doing good and enjoying your lives. Today, I am going to introduce you to the blocks of a blockchain. I gave you an understanding of blockchain, its characteristics, and some idea about accounts and wallets in my previous tutorials, and today my article is about the structure of a block in the blockchain. I will first define the block before going into the details about its structure. So let’s start without any further delay. As the blocks are linked together one after the other, they have a parent-child relationship. Each block is the parent of the upcoming block. Each child block contains the hash of the previous block i.e., its parent block. The first block of the blockchain is called Genesis Block and it has no parent. The block contains different fields which can be roughly categorized as listed below: This was some information regarding the fields of an Ethereum block. Now, we will move towards the next part in which I am going to give you an idea about the block header and its fields. The header of an Ethereum block contains different fields of metadata which are listed below. This was all about the header of a block. In the next part, I am going to give you an idea about the properties of a block. There are a lot of properties of a block that give us important information about it. I am listing down the properties here. The number shows the block number in the list of blocks. So guys these were the properties of a block. I will move towards ...

Real Time Embedded Systems: Definition, Types, Examples and Applications

Real Time Embedded Systems, what is Real Time Embedded Systems, Real Time Embedded Systems Definition, Real Time Embedded Systems Types, Real Time Embedded Systems Examples, Real Time Embedded Systems Applications, Soft Real Time Embedded Systems, Hard Real Time Embedded System

Hello friends, I hope you are happy, healthy and content. We have been discussing embedded systems lately and this discussion would be incomplete without an in-depth discussion on Real time embedded systems. You might have observed their utility and their absolute need in our constantly changing external and internal environment, the ease of managing the room temperature with a single tap, generating several results with a single click and streaming videos and playing games anytime and anywhere are the blessings of real time embedded systems. Real time embedded systems can be defined as; Real time embedded systems must have the following characteristics; We have already discussed the embedded system components in detail within our previous article, for a quick overview, let's revise the basic things; To understand task scheduling you must understand pre-emptive and non-preemptive scheduling. IT refers to the scheduling of tasks based on priority, it is a flexible process and interruption between the tasks doesn't upset the whole system. It's same as you are washing dishes and someone ask for a clean dish at immediate basis, you leave the thing in your hands and start washing that dish which is needed immediately! it is a rigid process, the other task at hand has to wait until the first one has been completed. Now, you are well aware of the types of approaches used in task scheduling, its time for a detailed outlook on the basic types of Task Scheduling done in the real time ...

The LendInvest Loan Engine – What is it and How Does it Work

LendInvest Loan Engine, LendInvest Loan Engine for home

LendInvest makes property finance simpler. Bridging loans, development finance, and buy-to-let mortgages for intermediaries, landlords, and developers made it easier. LendInvest provides loans that you can trust. They provide fast and flexible funding to help the property professionals create housing that is funded by an international capital base. LendInvest’s international capital base of £2 billion supports projects of wide variety and they are backed by some of the world’s largest financial institutions and the most successful individuals. Some institutions include HSBC, J.P. Morgan, Citi, and NAB. Be updated in banking news to learn more. How do they simplify property finance? They use technology-enabled lending and they are relationship focused. Technology-enabled lending means using online tools to make property lending experiences better. The technology they designed is built around the needs of the user. This relates to their relationship focused philosophy. They are experts dedicated to fulfill a high quality service for the users. They want to ensure that the loan for your next project is hassle free to get. LendInvest is reliable and trustworthy because of its decades of experience. They are also a multi award winning company that is proudly profitable. They certainly get the job done because of their ambitious and professional team. From their engineers or mortgage advisor to their underwriters are all very talented and specialists in their own fields. Lendinvest ...

Smart Contracts: Definition, Working, Writing & Deploying

what is Smart Contracts, blockchain smart contract, Introduction to smart contracts, Writing Smart Contracts, Smart contracts tools, Deploying Smart Contracts

Hello friends, Hope you are doing fine and having a good time in your life. The topic that I am going to discuss today is a very interesting and important one in the context of blockchain. I will discuss smart contracts in this article and I am sure you will learn the concept by the end of this tutorial. I have mentioned smart contracts in my previous articles and defined them before. Before discussing smart contracts, let’s first revise what a contract is, and then we will talk about smart contracts. This was the basic idea and revision of the concept of a contract. Now, I will introduce a smart contract in the next section. When reading about blockchain and decentralized applications, you must have encountered the term “Smart Contract”. The name may indicate to you that it could be a contract that executes smartly or that has smart conditions. Well, in actuality, it is a contract whose conditions fulfill when it executes. If the conditions of such a contract are not met, then the execution fails. I have told you earlier that only an externally owned account can initiate a transaction on Ethereum and call a smart contract. Once initiated, the smart contract can call other smart contracts deployed on Ethereum or it can deploy a new contract. In this part of the tutorial, we are going to discuss writing smart contracts for Ethereum. Various tools are available for writing smart contracts. First, let’s talk about Remix. A remix is an open-source tool available freely for ...

dApps: Definition, Features, Comparison & Developing Tools

dapps, Decentralized Application, DApp, Decentralized Application ethereum, Centralized Application VS Decentralized Application, Features of a DApp, Tools for Developing DApp, Decentralized Applications Development

Hello friends, hope you are doing fine and enjoying your life. In today’s article, I am going to discuss decentralized applications that are abbreviated as dApps. With the invention of blockchain technology and afterward Ethereum, the idea of decentralized applications has gained a lot of attention. So let’s get into the details and learn what a dApp is. In the traditional internet system, there is a central server and various computer systems connected with it. The backend program of centralized applications runs on that central server. While in decentralized applications, the backend program runs on a decentralized network. I have discussed the decentralization concept in my previous articles. The front end of a centralized application can be written in various languages such as HTML. The front end of the application connects the user with the functionality of the backend. Similarly, in decentralized applications, the front end can be written in any programming language and that will help the user in interacting with the backend. In the upcoming section, I am going to discuss smart contracts. We have already discussed them before. So we will try to make a connection of a dapp with smart contracts. In this part of the tutorial, I will talk about the characteristics of a DApp that make it so useful. These are listed below: These are some features of a decentralized application. Along with these features, some other points make Ethereum dApps different and usable. I am listing ...

Ethereum Wallet: Definition, Working and Types

Ethereum Wallet, blockchain wallet, feature of wallets, Key Management in Wallet, Wallet Design, Types of Wallet, Finding a Wallet

Hello friends, hope you are doing good and enjoying your life. Today, I am going to introduce you to the Ethereum wallets. I have given you an introduction to blockchain, its characteristics, and an introduction to accounts in my previous tutorials, so let’s get started with today’s tutorial on Ethereum wallets. In this section, I will introduce you to the Ethereum wallet and then we will move into its further details. This was some basic idea of wallet technology. Let’s move towards an important feature of wallets i.e., key management in the next section. The wallets are classified into two main types depending upon the relationship between the keys they hold. These types are given below: Now, I will explain these types a little bit. The first one is the deterministic wallet. For unfortunate data loss accidents, when a person loses his seed, the seed value is converted to mnemonic codewords. The mnemonic code words are a bunch of English words that the wallet holder has to keep safe. This word list can be saved in the form of a hard copy by writing that on a piece of paper and then storing it in a secure place. This concludes the section here. I will now discuss different wallet applications available for you in the next part. There are different kinds of wallet applications for you to select from. The interesting thing about wallets is that you can switch from one type of application to the other. If you do not like the wallet that you are using, you can change your wallet ...

Ethereum Accounts: Definition, Types and Fields

Ethereum Accounts, ethereum system, ethereum blockchain, Types of Accounts, Externally Owned Accounts, Contract Accounts, Fields of an Ethereum Account

Hello friends, hope you are doing good and enjoying your life. Today, I am going to introduce you to Ethereum accounts. I have given you an introduction to blockchain in my previous tutorials, so let’s get started on the essentials of this technology. I am going to start with accounts. In this section, I am going to describe the two types of accounts in Ethereum, namely externally owned and contract. This was some introduction to both accounts. Now, I am going to highlight some key differences and similarities between these two types. This was a comparison between externally owned and contract account. In the upcoming section, I am going to tell you about the components of an account. Any Ethereum account, whether an EOA or a contract account contains four fields which are given below: I am going to give you an introduction to each of them. The first one on the list is Nonce. These are the four fields of an Ethereum account. I hope this article has given you an understanding of Ethereum accounts. I will bring another interesting topic next time for you. Till then, take care!

Blockchain Mining: Definition, Process, Pooling & Miners

what is Blockchain Mining, blockchain mining network, mining process, blockchain miners, mining pool, mining and decentralization

Hello Friends, Hope you are doing fine and having fun in your lives. In my previous tutorials on blockchain and Ethereum, I have talked about mining a few times. So, in today’s article, I am going to discuss the concept of mining with you. This is an important part of learning the working of blockchain to see how the decentralization of blockchain happens. Let’s start today’s article by defining mining. This was the idea of mining. In the next part, I am going to define the miner and discuss its role in the Ethereum blockchain network. This was all about the miners and their importance. Now, I will explain the idea of decentralization in the context of mining in the upcoming section. I have discussed the concept of decentralization in previous articles. Decentralization means no central server or no central authority to manage and control the data. An example of centralization is our traditional banking system. And an example of decentralization is blockchain. Decentralization is related to the mining process. Miners contribute to the blockchain system by providing their computing powers in verifying the blocks of transactions. This verification process is mining and it eliminates the need for a central entity. The agreement of everyone on the state of the Ethereum network is essential for this system. Miners make this possible by solving the blocks and this increases the trust and security in this system. The decentralized process and consensus happen from these four ...

Ethereum Blockchain: Definition, Currency, Working & Components

Ethereum blockchain, Ethereum meaning, History of Ethereum, working of ethereum, Components of Ethereum, Ethereum Cryptocurrency, Ethereum smart contract

Hello friends, Hope you are doing good. In my last tutorial, I gave you an introduction to blockchain technology and this article is the second one of this series. Today I am going to talk about Ethereum. In simple words, Ethereum is an open-source platform of blockchain technology. But unlike the bitcoin blockchain, it offers more functionality. The blockchain in bitcoin tracks bitcoins only. It tracks the ownership and transfer of bitcoins. While Ethereum is not only a payment network for cryptocurrency but also termed as the world computer due to its wide functionality. First, let’s go through the key introductory points of Ethereum, and then we will dive into the details: Now let’s take a look at its invention history, and then I will talk about its features in the next sections. In this section, I will give you an idea that how Ethereum was invented and why there was a need of developing such a platform. When bitcoin was invented and people realized the power of blockchain, developers tried to design new applications other than cryptocurrency. The limited functionality of the existing blockchain made it difficult to build different types of projects and hence, arose the need for a new blockchain. In 2013, Vitalik Buterin presented a white paper giving the idea of the Ethereum blockchain. Afterward, Vitalik and Gavin Woods worked together and built upon that idea. And guys, finally in 2015, the first block of the Ethereum blockchain was mined. So, this was a little ...