Certified Solution Architect Flashcards
Name a language that can be used for each layer in a dApp
Front - HTML
Middle - JavaScript
Blockchain - Solidity
What are function modifiers?
Can be used to limit access to or use if a function based on an account/node
What is Ganache used for?
In memory blockchain testing (runs a simulated node)
A DApp resembles a typical …………………..
Full stack web app
Describe a dApp front end
User interface for interacting with your blockchain dApp
No special technology front-end requirements Presentation layer: HTML/CSS Mobile app Even Alexa
Describe the technology of a dApp middle layer
Interface between the UI and the blockchain
Can use:
Node.js
Server side code
All comes to and from the blockchain is in byte-code
Middle layer abstracts the bytecide with JS libraries (e.g. Truffle)
What is contained in a dApp middle layer?
Validation and exception handling
Business logic should live in this layer
Which languages can you use for the middle layer?
Solidity/Viper to write the contracts
Describe the blockchain layer of a dApp
Biggest learning curve
Contracts can call other contracts
What is a centralised ledger?
Contains all the transactions
Controlled by a single entity
Double-entry accounting is…
A record for tracking debits and credits.
Blockchain is…(3)
A record keeping system
An event tracking system
A workflow platform
Changing the data on any block will result in……..
A different hash
Group Consensus is reached when how many members agree?
51% or more
Blocks in Blockchain are “chained” together by:
By hashing the previous block and embedding that hash into the new block’s header
Give 3 examples of Blockchain transactions
Two or more parties, exchange of monetary value such as cryptocurrency.
Two or more parties, but no exchange of monetary value such as updates to medical records.
One party announcing an important event such as supply chain management, business process automation, creation/auditing of financial records.
A decentralized ledger acts as a …………………….., like a bank.
trust broker
Blockchain was documented and released via a whitepaper by:
Satoshi Nakamoto
Blockchain provides the same services as a traditional bank, except for:
Providing Certificates of Deposit
Hyperledger and Ethereum both went live in which year?
2015
What are the benefits of Blockchain?
Trust
Security
Decentralization
Immutability
In Proof of Work consensus what happens when you add another node to the network?
Security time is increased by 1/N
Transaction time is increased by 1/N
(where N equals the number of nodes on network)
The Private Key does what?
Used to sign any transaction that might be made by the holder of the key pair
What is Cryptographic hashing?
A one-way function that encrypts information that can not be decrypted.