Crypto Academy Week 4 Homework Post for @gbenga: Ethereum Blockchain Explain.

apps.8581.13922709506581639.522e9d09-e192-44ff-96c6-faf58f5ef5dc.jpg

When I started working on the Ethereum blockchain, one of the biggest concerns I had was understanding the important things that were needed to build Ethereum Dapps. In this article, I will explain the concepts I learned during my trip to the Ethereum Project.

The most important component of any existing blockchain is its nodes. The node is also known as a client. It is nothing more than a computer running a program to participate in the network. When more than one node is connected to each other, it forms a network. Each participant has a copy of the blockchain transaction/data and shares the latest data with other nodes to stay in sync and up-to-date.

Blockchain, the full node, and the light node can have two types of nodes connected. A full node is when a computer is connected to a network and contains a complete copy of the blockchain data. These nodes enforce all the blockchain rules and keep the entire blockchain system transparent. Light Node has a shallow copy of the blockchain. It allows users to access and interact with blockchain networks without having to integrate complete blockchain data. One should know that the size of the complete blockchain data is very large and can reach up to 100 GB. Based on the image, the network looks like this:

After looking at one of the basic questions that come to mind: "What program or software to use that can connect to this network and make us part of this network?"

The answer is: - In the Ethereum blockchain, each node operates through a "client" port to connect with other nodes.

The Geth

The Geth is a client to run a full Ethereum node implemented in the command-line interface (CLI), compiled binary program, and Go language (open source).

It should be noted that being part of the Ethereum blockchain requires high-end hardware/machines that must have a lot of storage to run a full Ethereum node. Goth will download and copy the entire blockchain to the node it is running. Because of this, I hit a wall because I don't have the budget to install a high-cost machine.

Now I had to find a cheap and alternative solution for Atrium Node. After a few hours of searching and googling, I found out about Inform.

Infura

Inform is a public hosted Ethereum node cluster that allows you to transact without the need to run your dives or set up your own Ethereum node on the Ethereum blockchain. Inform is easy to use, you need to register at and create a project. You will get the key of your project from below to connect to its node.

DApp

DEP is a decentralized application that runs on distributed computer systems. D-Apps has been best known for distributed ledger technology (DLT), the Ethereum blockchain, where Dips are often referred to as smart contracts.

Smart offers are digital offers on Atrium. It is an agreement between two people in the form of computer code. They work on blockchain. Once implemented, they cannot be replaced.

So you might be wondering, can I write my own smart contract?

Yes, you can write your own smart contract. One language is called Solitude, which claims to write smart contracts for Ethereum-based blockchains. Solitaire's syntax is based on JavaScript, making it easy to choose a language.

There are IDEs/tools that provide a quick way to create smart contracts using stability. Here are some celebrities:

Remix

This is an online Ethereum IDE that provides everything you need to write a smart contract. You can also easily compile and debug your code.

Truffle

Test framework for Ethereum and asset pipeline, as well as a development environment. It makes life easier as an Ethereum developer. With the Truffle Suite, you can compile, link, deploy and manage binary integrated smart contracts.

There are some considerations when writing a smart contract, like what is ABI? Can I send heaven with a smart contract? and so on. But I'm not going to delve into the smart deal because it will be too long here.

So now we know what nodes and falls are and how to create one, but something is missing. How do we interact with individual Ethereum nodes and these smart contracts? This is solved by libraries. There are libraries that facilitate communication with the Atrium node. One of the most popular libraries is Web3J.

Web3js

It is a collection of modules that contain specific functionalities of the Ethereum ecosystem. It allows us to communicate with local or remote Ethereum nodes, using HTTP or IPC connections. You can easily use it to connect Ethereum nodes with your JavaScript project.

The Google Chrome extension is called MetaMask, which automatically provides the Web3J sample for your application and exposes the Web3J API, so you must explicitly package the Web3J library in your project.

If Microsoft. If you are a network developer and want to apply to Ethereum Blockchain, then the name of the library is "NEthereum". For Java, "Web3J" is.

Now we come to the part where we talk about the middle ground. We know that at least two accounts are required for any transaction to take place. There are 2 types of accounts on the Ethereum Blockchain.

  1. General or externally controlled accounts [ECA]

  2. Agreement (smart agreement)

Yes. The Smart Agreement can act as an account and you can lock the sky inside. In response to these other transactions, they only contract the fire transaction that they have received. Therefore, all operations on the Ethereum blockchain are triggered by transactions with externally controlled accounts.

Special Mentions.

sir. @gbenga

Sort:  

Hello @stella01, the topic for the homework tas says "Explain in full a project built on the Ethereum Blockchain" but with your post, you didn't pick one project to discuss in full. Please do that.

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 59099.74
ETH 2639.21
USDT 1.00
SBD 2.49