Blockchain | Intro to Solidity by Joseph J. Bambara and Paul R. Allen | College Crypto Vol. 9

in #blockchain6 years ago

Blockchain | Intro to Solidity by Joseph J. Bambara and Paul R. Allen | College Crypto Vol. 9

Noah Ramos W.P. Carey School of Business, Studying Economics

Introduction To Solidity

All of the information provided in this Steemit post has been retrieved from the book, Blockchain, published by McGrawHill Education and written by both Joseph Bambara and Paul Allen.

Cryptocurrency Marketcap: $272,305,404,803 on Coinmarketcap!
Bitcoins in circulation: 17,140,425 According to Coinmarketcap!
Live Coin Tickers:

Bitcoin: https://api.coinmarketcap.com/v1/ticker/bitcoin/

Litecoin: https://api.coinmarketcap.com/v1/ticker/litecoin/

Ethereum: https://api.coinmarketcap.com/v1/ticker/ethereum/d

Defining Solidity

Solidity can be described as a browser based programming language that allows the user to write and deploy ethereum smart contracts on the main network. Solidity and Blockchain can be compared to the time when Java was being written and deployed using early programs like notepad according to the start of chapter 6 titled Fast-Track Application Tutorial on page 125. Solidity, in simple terms means to be rigid or firm in stature, and although Solidity can be used straight off a browser, clients such as INFURA will be needed to implement the code onto the Blockchain.

Similarities to other Programming Launguages
  • Solidity is Turing complete meaning memory allocation can be changed and prompts such as if/else/while and do-while's may be implemented in the code similar to c,c++,java, and python.
  • Statically typed language including data types: Boolean (true/false value returns), Integer (int,uint, signed and unsigned), Ethereum Addresses, Members of Addresses (Additional Informaton Below), Mappings, Date and Time, Structures (Structs), String Literals, and Hexadecimal literals.

Block / Transaction Property Syntax & Cryptographic Functions

How MetaMask Eliminates the Need For Web2, and Makes DAPPS Function Through A Local Browser:

To start off, I would like to give a brief description of MetaMask. MetaMask is a browser extension that can be added to known browsers like Chrome and Brave Browser. The main problem that this extension is tackling is making the Blockchain accessible to the average user by allowing regular browsers to access Web3. Fea;tures of MetaMask are as follows:

  • Automatic encryption of Private Keys
  • Seed phrases (12) given to access account in case of lost passphrase
  • Provides an Ethereum Wallet inside your browser.
  • Supports Ropsten, a test-net where gas fees are nonexistent as their is no real value among the Blockchain

Remix, The Most Used Solidity Editor

Remix allows the user to compile and deploy an Ethereum Smart Contract using MetaMask

Truffle

The Truffle Framework "compiles your Blockchain contracts, injects them into your web app, and even runs a test suite against them" as stated on page 143 of Blockchain preceding the Summary section of chapter 6.

Conclusion / Summary

In this Steemit post, I read through chapter 6 of Blockchain, the book at the local Barnes and Noble in Flagstaff, AZ. Throughout the chapter, Thank you for joining me, Noah Ramos, for Vol. 9 of College Crypto and if would like to see more content like this get better, please leave a comment and an upvote or even a donation if you found this useful; please feel free to reach out to me via email, Instagram, or the College Crypto Facebook group in the link below!

Contact Info / Donations

Email: ncramos@asu.edu......... Instagram: @topp_ramos_......... Twitter: @noah_ramos__

College Crypto Group: https://www.facebook.com/groups/1481717778542301/

Donations:

Litecoin Adress: La2XY8MPmkt1R57yczbSZwyiE5aMTEgR5H

Bitcoin Address: 1JNe16PviKjywWSrAJ5MEWJiakNxWhwEC9