Crypto Academy /Season 3 - week 6 / Homework Submission post for Professor @pelon53 - Blockchain EOS by @salma78

in SteemitCryptoAcademy3 years ago (edited)

Introduction


blobks.jpg


Hello everyone, I welcome you all once again to this week's steemit crypto Academy courses. I am here to write and submit my homework task posts assigned by professor @pelon53. It's been a privilege to join his class once again another week. I have read and understood the lecture about Blockchain EOS and I would like to submit my response to the assignment below.

The Delegated Proof of Stake, DPoS algorithm


image.png
source


Delegated Proof of Stake (DPoS) refers to the type of verification and consensus algorithm that was created in the year 2014 by Daniel Larimer with the aim of solving scalability problems, speed, and streamlining of digital transactions within the blockchain networks. Delegated Proof of Stake (DPoS) as it stands now competes with other proof of stakes and proof of work. The DPoS consensus algorithm is currently placed in a state of it being highly efficient as compared to the earlier Proof of Stake consensus algorithm mechanism.

Delegated Proof of Stake does not require the use of a large number of computational hardware in its operation but instead, it requires just fewer resources to operate. DPoS is also user-friendly and more sustainable as compared to the other Proof of Stake.

How Proof of Stake Works


The Proof of Stake (DPoS) protocol operates in a manner whereby the holders of a token vote to elect a delegate or a witness because they themselves can't vote on the validity of the blocks so these people elected as delegates or witnesses would be those in charge of validating blocks on the blockchain on their behalf. Generally, 21 to 100 delegates are elected in a Delegated Proof of System where these delegates are shuffled with time for them to deliver their blocks verified.
The voting power of the coin holders is based on cyberwealth, meaning that the holders of more coins would have a greater influence on the network than those with fewer coins. Each and every delegate brings out his/her personal proposal when in need of the votes and rewards earned by delegates shared accordingly with their respective voters or electors.


image.png

Steemit witness voting


image.png

Steemit Block Explorer


Delegates that continuously provide invalid transactions or blocks in the network can be voted out by the stakers and a new and better delegate is voted in to replace him/her.
The DPoS allows miners to come together and create blocks unlike in the case of Proof of Work(PoW) where miners compete to mine or make blocks and this makes it runs faster as compared to the other consensus algorithm.

Examples of blockchain networks that use the Delegated Proof of Stake consensus algorithm include; Steemit, Hive, EOS, BitShares, Cardano, OracleChain, etc.

Advantages of DPoS

  • Scalability and Speed: DPoS provides faster transaction processing as compared to PoS and PoW.
  • Energy efficient: The energy consumption in DPoS is less as compared to that of PoW.
  • Real-time voting security: There is high security in DPoS and this helps voters to detect and vote out any malicious delegate.
  • Less use of Hardware or less costly: DPoS doe not use highly computational tools like that of PoW which is very costly.
  • Better distribution of rewards: Rewards earned by delegates are shared with their respective electors and this makes the system fair and everyone involved benefits.

Disadvantages of DPoS

  • The rich get richer: This is a situation whereby the strength of your vote determines the influence you have on the network and as such people with more tokens would have upper hands on those with fewer tokens.
  • Apathy can Kill: This is the situation whereby when the number of people involved in voting is not encouraging then the system also becomes less functional.
  • High chance of organizing "51 percent" attack and this is because of the fewer people in control of the network.
  • Delegated Proof of Stake consensus algorithm's protocol is not fully decentralized but rather partially centralized.

salma.jpg

What are Ricardian contracts on the EOS Blockchain?


salma.jpg

The Ricardian contract was introduced in the year 1955 by a popular programmer called Ian Grigg. A Ricardian Contract is now a legal contract that is currently accepted in the blockchain. The basic explanation of the Ricardian contract is stated below and I quote directly from the web by citing the source;

“It is a form of digital documents that act as an agreement between two parties on the terms and conditions for an interaction between the agreed parties.”source

The Ricardian contracts employ the use of cryptography in signing and verifying transactions and this makes it unique from other contracts. It is always available in a readable form for humans even when it is in the digital document form. Its contract is a unique and legal agreement that both computers and humans can read. This means that the Ricardian contracts serve two main purposes and they include, firstly, the contract serves legally as an easily readable contract between two or more parties involved in the contract. And secondly, it serves as a readable contract to machines, meaning that blockchain platforms can easily sign, hash and save contracts onto their blockchain network.

How does the Ricardian Contract Work?

image.png
source


As explained earlier, the Ricardian contract is a legal contract that is human-readable between two or more parties. It can be used in the court of law of the legal contract between the two parties. In this case, the lawyers create or design the original legal contract and presented it to the two parties where they both read, understand, and agree before signing the document.

After both parties agree and sign the contract, then the contract is now digitalized and hashed so it can be executed by software onto the blockchain platform. For instance, considering a contract about buying and selling a plot of land between two people, a clause in the contract can be about confirming whether the plot of land is actually owned by the seller by contacting the authority. The information gotten can be added to the Ricardian contract and this leads to the creation of a new contract.

After the Contract is fully prepared, the contract is digitally signed and agreed upon by referring to the Contract's hash. The Ricardian contract also employs the use of hidden signatures in securing the contract process within the blockchain platform. This is done by signing the contracts with a private key where the agreement's hash is used as an attachment to the hidden signature of that Contract.


Examples of Blockchain Platforms that Supports or Uses the Ricardian Contract

The EOSIO


image.png
source


EOSIO software started without the use or implementation of the Ricardian contract and this made it difficult for users on their platform to read and understand what they used to be signing in the smart contract. After EOSIO got to know the concept of the Ricardian contracts and started to implement that, their users now began to read and understand what actually they were signing in a contract.

The Block.One


image.png
source


The Block.One claimed to support the Ricardian contracts a time ago and as we speak now they are currently implementing the concept of this Ricardian contract on their platform. It was announced that the Ricardian contracts would be utilized in the EOS blockchain in the year 2018 where its main purpose would be converting codes into a readable language within the blockchain platform.

salma.jpg

Exploring the EOSREX interface


salma.jpg

I would like to explore the EOSREX platform by providing screenshots,

  • First of all, I visited the website eosauthority where we can see the homepage interface in the screenshot below.

image.png

EOSREX homepage


Features of the EOSREX

  • The Market Price and Rank of EOS
    EOS price at the time of writing this article = $4.140 USD and is
    Ranked at #33

image.png

Market Price Value of EOS


  • Dashboard

The Dashboard feature displays the price chart of EOS, the security level of your account, the total EOS one has in his/her account, Recent activities including transfers, Rex account balance, and Airdrops account too.


image.png

Price Chart, and account Security Section


image.png

Airdrops, REX, and Recent Activity Section


  • Wallet
    The wallet feature enables users to add their EOS account to this section. A user can do so by clicking on Add account when he/she already has an account or can search for an account on any network and add it to the wallet.

image.png

Wallet Tab


  • REX feature

The REX feature enables users to benefits with just two clicks and at the time of doing this homework 55,486,696.5062 EOS were currently on REX. There are sub-features in REX which includes; REX Calculator, REX Statistics, Borrow CPU/Net(DApps), and Lend to REX


image.png

Lend to REX sub-feature


image.png

REX Calculator


image.png

REX Statistics


  • Power Up
    This feature allows users to Power Up their EOS account from 0.0001 EOS to a higher amount. It also entails sub-features including; PowerUP Calculator, and Power UP Statistics.

image.png

Get Power


image.png

PowerUp Calculator


image.png

PowerUp Statistics


  • Manage Keys

This feature enables users to manage their active key and owner key by allowing permission to them. It also permits users to regenerate their keys. It has sub-features which include Advanced, and Link Auth.


image.png

Manage Keys Menu


  • Vote
    This feature displays the available accounts one can vote for as a producer. It also displays the number of producers that one has voted for with his account. It has other sub-features including Proxies, Referendum/Polls, and Multisigs.

image.png

Vote Menu


  • Create Account Feature

This feature allows users to create an EOS account on the platform. It also has other sub-features including **Recover account-Lost Key, Recover account-Unregistered, which allows users to recover their account when they


image.png

Create Account (Simple)


image.png

Create Account - Unregistered


  • Bid Name

This feature displays the last Bid price of EOS and the name of the person who Bidded for the current highest price and also the time left. Also, this feature includes sub-feature such as Sold Names, and EOS sub-accounts statistics - from short name auctions.


image.png

Bid name Menu


image.png

Sold name


image.png

EOS su accounts statistics - from short name auction


  • Alerts
    This feature displays real-time alerts on Telegram, Emails, incoming and outgoing EOS transfers, staking, unstaking actions, Change to account keys, Airdrops alerts, REX notifications, etc.

image.png

Alerts Menu


  • Trade Your Tokens
    This feature enables users to trade their available tokens including NEWDEX, YOLO, and DEFIS

image.png

Trade your Tokens Menu


  • Tools

This feature displays all the available tools on the EOS platform. There are 29 tools currently available on the EOS platform and they can be seen from the screenshot below.


image.png

Tools Menu


  • Events

This feature displays all available events on the EOS platform including both online and offline events. There are 18 online Events of EOS Nation, 18 online Events of EOS Authority, and 15 online Events of Novusphere. Again, there are 11 Offline Events of EOS Nation, 6 offline events of Block.one, and 3 offline events of EOSphere.


image.png

Events Menu


salma.jpg

Downloading Sqrl wallet and exploring its features


salma.jpg

  • From the Sqrl homepage interface, click on Windows to start the download.

image.png

Click on Windows from the Sqrl Homepage


  • I waited for the download to complete and immediately it finished I open the application to start the installation process.

  • Select Only for me and then click on Next to continue.


image.png

Select only for me and clcik on Next


  • Click on Install to start the installation.

image.png

Click on Install


  • Click on Finish to run the application.

image.png

Click on Finish


  • Click on connect to server to proceed

image.png

Click on Connect to Server


  • Click on Create New Account to set a new wallet.

image.png

Click on Create New Account


  • Unfortunately, there was an error when creating the account using the sqrl platform so I have to follow professor @pelon53 instructions given in order to create an account through the use of the telos platform telos.net

image.png


In doing that the following procedures were followed;

  • First of all, I visited the telos website telos.net and from the homepage, I clicked on Start now.

image.png

Click on Start Now


  • Click on Create New Account

image.png

Click on Create New Account


  • Enter your details including your account name, and then copy and save your public and private key safely. After that thick the small box and then also click on I'm not a robot to confirm you are a Human. Click on Continue to create an account after filling in all required details.

image.png

Fill in all details and click on Continue


  • The account is successfully created. Now we go back to the Sqrl wallet application and Click on Import Existing Account.

image.png

Click on Import Existing Account


  • Enter your Public Key of the telos account created and then click on Lookup Account.

image.png

Click on Lookup Account


  • Choose your account and then click on Select Account to continue.

image.png

Click on Select Account


  • Enter the Private Key into the space provided and then click on Compare Keys

image.png

Click on Compare Keys


  • Enter a local wallet password and then click on Save Account to finish setting up your wallet.

image.png

Click on Save Account


  • Re-enter the local wallet Password and then click on Save Local Wallet then accept terms and conditions of Sqrl.

image.png

Click on Save Local Wallet


  • My account is successfully connected to the Sqrl wallet now.

image.png

Wallet Successfully Created


salma.jpg

Exploring Sqrl Wallet


salma.jpg

  • The Wallet Tab

This tab or feature displays the account balance summary including the current price of EOS, EOS Value, Total EOS, and Balance of my account. It also displays the History, Data, and staked EOS.


image.png

Wallet Tab


  • The Governance Tab

This feature or tab displays all Block producers of the EOSIO network and their percentage of votes. It also provides access for users to cast their votes to their preferred witnesses and the total number of witnesses one can vote for is 30 just as in the case of steemit.


image.png

Governance Tab


  • The REX Tab

This tab displays the REX account summary including, EOS Lent, EOS Earnings, EOS Deposits, EOS 30-day Price, REX/EOS Value, and EOS/REX APR.


image.png

REX Tab


  • Tools Tab
    This feature or tab displays tools such as wallet tools, utility tools, Local Data States, and Advanced Tools that help users to make changes or edits to their account.

image.png

Tools Tab


salma.jpg

How to Get CPU, RAM, and Network


salma.jpg

CPU
  • First of all, click on the Wallet tab and select the Send.Receive.Stake from the Options

image.png

Clcik on Send.Receive.Stake


  • After that click on Manage Staked

image.png

Clcik on Manage Staked


  • Enter the amount of CPU to stake in TLOS and then click on Update Staked Balances.
    I don't have sufficient balance to accomplish this transaction as indicated.

image.png

Clcik on Update Staked Balances after entering amount of CPU to Stake


RAM
  • First of all, click on the Wallet tab and select the Send.Receive.Stake from the Options

image.png

Clcik on Send.Receive.Stake

  • Click on Buy RAM
    It should be noted that the minimum amount required is 3 bytes per transaction.

image.png

Click on Buy RAM


image.png

by RAM amount


image.png

by TLOS amount


salma.jpg

The REX Token


salma.jpg

According to eosauthority the current price of REX/EOS is valued at 0.00010108012890376432 EOS.
Also, according to coinmarketcap.com the current price of EOS is valued at $4.12


image.png

Price Value of EOS


image.png

Price Value of REX


The REX tokens are rewarded to users that use the EOSREX platform. REX token was initiated in the year 2018 by Dan Larimer. The REX token and the EOS are in the ratio of 1: 1 relationship. The REX token differs from the EOS token such that the REX token cannot be transferred from one user to another but the EOS can be transferred to different users. The REX token has a special feature whereby any user that wishes to acquire it must vote a proxy first before acquiring the token.


salma.jpg

Conclusion


salma.jpg

In conclusion, I would like to briefly summarize what we have discussed so far in this homework. First of all, we looked at the concept of Delegated Proof of Stake (DPoS), where we explained how it works and its advantages and disadvantages as well. We also looked at the concept of the Ricardian contracts and how the Ricardian contracts work or operate. Furthermore, we visited the EOSREX platform and explored its features and their functions by taking them one at a time. Again, we downloaded the Sqrl wallet application, installed it, and then created an account from the telos platform where we then imported the account into the Sqrl wallet. We also explored the Sqrl wallet and then explained how to obtain CPU and RAM on the Sqrl wallet platform. Finally, we looked at the use of the REX token and the current price from the EOSREX website.

I would like to say thank you to professor @pelon53 for such a wonderful lecture taught this week and I look forward to participating in your subsequent homework tasks.
Thank You.

Sort:  

Gracias por participar en Steemit Crypto Academy Season 3:

Espero seguir leyendo tus publicaciones.

NoPreguntas.Puntaje.
1Explique el algoritmo Prueba de Participación Delegada, DPoS.1.5/1.5
2Explique ¿Qué son los contratos Ricardianos en la Blockchain EOS?1.5/1.5
3Explore la interface oficial EOSREX (eosauthority.com). Muestre captures de pantalla.2.0/2.0
4Descargue la wallet Sqrl, explore y explique cómo obtener CPU, RAM y Red. Muestre capture de pantalla.1.8/2.0
5Muestre el precio del token REX. Y explique para que se usa.1.3/1.5
6Presentación / originalidad1.5/1.5
7Total9.5/10
  • Muy buen trabajo, felicitaciones.

Recomendaciones:

  • Investigar más sobre el token REX de EOS.

Calificación: 9.5

Thanks for your kind review.

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.030
BTC 59479.71
ETH 3174.48
USDT 1.00
SBD 2.44