Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

GetAmbush/blockchain-learnings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interesting Facts

  • The Ethereum currency is named Ether or ETH for short.
  • The minimun unit of Ether is called Wei.
  • A smart contract is deployed to a particular address.
  • In Ethereum state is made up of objects called accounts and each account contains four fields:
    • The nonce, a counter used to make sure each transaction can only be processed once
    • The account's current ether balance
    • The account's contract code, if present
    • The account's storage (empty by default)
  • "Ether" is the main internal crypto-fuel of Ethereum, and is used to pay transaction fees. In general, there are two types of accounts: externally owned accounts, controlled by private keys, and contract accounts, controlled by their contract code. An externally owned account has no code, and one can send messages from an externally owned account by creating and signing a transaction; in a contract account, every time the contract account receives a message its code activates, allowing it to read and write to internal storage and send other messages or create contracts in turn.
  • Funds sent to a contract are in the contract itself until suicide is called.
  • Seems like there is a possibility of Ethereum implement Proof of Stake System without miners.

Tools & Concepts

  • Geth: Go client for Ethereum
  • Solidity: Javascript based Ethereum language (compiles to EVM bytecode)
  • Serpent: Python based Ethereum language (compiles to EVM bytecode)
  • LLL: Lisp based Ethereum language (compiles to EVM bytecode)
  • solc: Solidity Language Compiler
  • ABI: Method for encoding/decoding data into and out of transactions. It also describes a contract interface (its public methods and variables).
  • Truffle: npm package, basically Rails for Ethereum :). It provides generators for scaffolding and also provides tools (Mocha, Chai) allowing developers to perferm TDD while writing contracts.
  • Embark: Another Dapp framework, similar to Truffle though seems a bit less intrusive though less flexible too.
  • Web3.js: Ethereum Compatible Javascript API. It essentially allows web/mobile/desktop apps to read/write to the Ethereum network.
  • ether-pudding: Built on top of Web3.js, this framework provides a promise-oriented API for interacting with Ethereum network.
  • Ethstats: Ethereum dashboard
  • Ether Converter: Tool for converting Ether to Wei, Kwei, Mwei, etc...
  • Provider Engine: Engine for creating functionality specific web3 providers. it's seems to be an attempt of modularize the RPC Ethereum API into functionality specific components. Perhaps similar to the middleware layers implementaed by frameworks like expressjs or golang martini?

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published