Ethereum and Solidity: Udemy

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

What are the three pieces of information created with a MetaMask Account?

-Account Address -Public Key -Private Key

Function Syntax (in order)

1st - Function Name ( getMessage ) 2nd - Function Type ( public view ) 3rd - Return Types ( returns (string) )

What is MetaMask?

A browser plugin, available as the MetaMask Chrome extension or Firefox Add-on. It serves as an Ethereum wallet: By installing it, you will get access to a unique Ethereum public address, with which you can start sending and receiving ether or tokens.

Node

A computer that participates in the ethereum network via these three ways: -By keeping a shallow-copy of the blockchain aka a Light Client -By keeping a full-copy of the blockchain aka a Full Node -By verifying the transactions aka Mining.

Transaction (chapter 1 Definition)

A record of one Account attempting to send money to another Account.

to

Address of account this money is going to.

value

Amount of 'Wei' to send to the target address.

gasPrice

Amount of Wei the sender is willing to pay per unit gas to get this transaction processed.

Smart Contract

An Account that is controlled by some amount of code rather than a human being. The code is authored by a person, and instructs the contract how to behave.

public

Anyone can call on this function

V R and S

Cryptographic pieces of data that can be used to generate the senders account address. Generated from the sender's private key.

Ethereum Wikipedia Summary

Ethereum is a decentralized, open-source blockchain with smart contract functionality. Ether is the native cryptocurrency of the platform. It is the second-largest cryptocurrency by market capitalization, after Bitcoin. Ethereum is the most actively used blockchain.

pure

Function will NOT modify or even read the contracts data

nonce

How many times the sender has sent a transaction.

What are Ethereum Networks composed of?

One or more Nodes

private

Only this contract can call on this function

Block Time

The amount of time it takes for a blockchain miner to find a solution to the hash, the random series of characters that are associated with the block.

constant

This function returns data and does NOT modify the contracts data

view

This function returns data and does NOT modify the contracts data

startGas or gasLimit

Units of gas that this transaction can consume.

payable

When someone calls this function they might send ether along

Common Function Types

public private view constant pure payable


संबंधित स्टडी सेट्स

#6 Nervous System (UWorld Step 3)

View Set

therapeutics exam 4 practice Q's

View Set

econ 2134 study guide (homework 1, 2, 3)

View Set

H&I II- module 2 practice questions

View Set

Starting a New Business Final Study Guide

View Set