mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-31 00:34:05 -06:00
vault backup: 2022-12-08 16:48:16
This commit is contained in:
parent
8c2b1aced3
commit
03fdd7d23e
46
content/notes/ethereum-overview.md
Normal file
46
content/notes/ethereum-overview.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
title: ethereum-overview"
|
||||||
|
tags:
|
||||||
|
---
|
||||||
|
|
||||||
|
ethereum whitepaper
|
||||||
|
- a new version of blockchain which has better internal scripting
|
||||||
|
- the state of ethereum is made up account objects. each acc has:
|
||||||
|
- nonce
|
||||||
|
- balance
|
||||||
|
- contract code
|
||||||
|
- storage
|
||||||
|
- There are two types of accounts
|
||||||
|
- external:
|
||||||
|
- controlled by private keys
|
||||||
|
- no code
|
||||||
|
- can send "messages" as a transaction
|
||||||
|
- contract: controled by contract code
|
||||||
|
- executes code when it recieves a message
|
||||||
|
- read/write from storage
|
||||||
|
- send messages
|
||||||
|
- create contracts
|
||||||
|
- etc
|
||||||
|
- messages - similar to bitcoin transactions but:
|
||||||
|
- can be created by contract and externall accounts (not only external)
|
||||||
|
- can contain data
|
||||||
|
- contract accounts can return responses when they recieve a message
|
||||||
|
- ∴ can act as functions
|
||||||
|
- transaction - refers to signed package that stores a message to be sent from an external account
|
||||||
|
- they contain
|
||||||
|
- recipient of message
|
||||||
|
- signature of sender
|
||||||
|
- amout of ether and data to send
|
||||||
|
- STARTGAS - limit to number of steps of code
|
||||||
|
- GASPRICE - fee to pay miner per step
|
||||||
|
- applications
|
||||||
|
- identiy and reputation systems
|
||||||
|
- decentralised file storage
|
||||||
|
- decentralised autonomous organisations [DAO](notes/decentralized-autonomous-organization.md)
|
||||||
|
- savings wallets
|
||||||
|
- crop insurance
|
||||||
|
- decentralised data feed
|
||||||
|
- smart multi-signature escrow
|
||||||
|
- cloud computing
|
||||||
|
- p2p gambling
|
||||||
|
- on-chain decentralised marketplaces
|
||||||
@ -79,5 +79,5 @@ https://doi.org/10.1016/j.giq.2021.101625 [[Vulnerabilities on Hyperledger Fabri
|
|||||||
|
|
||||||
I was able to start a network with three nodes and add a fourth. Next I will try to set up integration with hyperledger burrow so I can use smart contracts.
|
I was able to start a network with three nodes and add a fourth. Next I will try to set up integration with hyperledger burrow so I can use smart contracts.
|
||||||
|
|
||||||
**Scenario 5** - Making a change to the codebase/protocol
|
Changed docker container to use iroha-burrow instead of haydens own docker image.
|
||||||
|
|
||||||
|
|||||||
@ -7,48 +7,6 @@ On friday I tried to get haydens hypderledge iroha code from last year to work [
|
|||||||
- This would help me to learn the tools also.
|
- This would help me to learn the tools also.
|
||||||
- Try to figure out how the public permissioned blockchain might work in some more detail.
|
- Try to figure out how the public permissioned blockchain might work in some more detail.
|
||||||
|
|
||||||
ethereum whitepaper
|
|
||||||
- a new version of blockchain which has better internal scripting
|
|
||||||
- the state of ethereum is made up account objects. each acc has:
|
|
||||||
- nonce
|
|
||||||
- balance
|
|
||||||
- contract code
|
|
||||||
- storage
|
|
||||||
- There are two types of accounts
|
|
||||||
- external:
|
|
||||||
- controlled by private keys
|
|
||||||
- no code
|
|
||||||
- can send "messages" as a transaction
|
|
||||||
- contract: controled by contract code
|
|
||||||
- executes code when it recieves a message
|
|
||||||
- read/write from storage
|
|
||||||
- send messages
|
|
||||||
- create contracts
|
|
||||||
- etc
|
|
||||||
- messages - similar to bitcoin transactions but:
|
|
||||||
- can be created by contract and externall accounts (not only external)
|
|
||||||
- can contain data
|
|
||||||
- contract accounts can return responses when they recieve a message
|
|
||||||
- ∴ can act as functions
|
|
||||||
- transaction - refers to signed package that stores a message to be sent from an external account
|
|
||||||
- they contain
|
|
||||||
- recipient of message
|
|
||||||
- signature of sender
|
|
||||||
- amout of ether and data to send
|
|
||||||
- STARTGAS - limit to number of steps of code
|
|
||||||
- GASPRICE - fee to pay miner per step
|
|
||||||
- applications
|
|
||||||
- identiy and reputation systems
|
|
||||||
- decentralised file storage
|
|
||||||
- decentralised autonomous organisations [DAO](notes/decentralized-autonomous-organization.md)
|
|
||||||
- savings wallets
|
|
||||||
- crop insurance
|
|
||||||
- decentralised data feed
|
|
||||||
- smart multi-signature escrow
|
|
||||||
- cloud computing
|
|
||||||
- p2p gambling
|
|
||||||
- on-chain decentralised marketplaces
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# 22/11
|
# 22/11
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user