Curated list of resources for the development and applications of blockchain.
Go to file
2023-12-12 18:58:33 +00:00
Basic/img update basic concept link 2019-05-10 16:08:16 +08:00
BitCoin Updated bitcoin blockexplorers 2022-09-16 23:04:04 +05:30
Ethereum add mastering ethereum chinese version 2019-01-07 21:15:22 +08:00
Extension Merge pull request #8 from dannyexodus/patch-2 2020-01-26 22:01:02 +08:00
src streamline confidential tx 2019-08-12 19:27:58 +08:00
.gitignore add xuperchain 2020-04-15 18:29:31 +08:00
CONTRIBUTING.md Create CONTRIBUTING.md 2019-03-14 11:10:09 +08:00
LICENSE Initial commit 2018-03-30 09:16:57 +08:00
README.md added web3js v4 link 2023-12-12 18:58:33 +00:00

Awesome Blockchain

Awesome

Curated list of resources for the development and applications of block chain.

The blockchain is an incorruptible digital ledger of economic transactions that can be programmed to record not just financial transactions but virtually everything of value (by Don Tapscott).

This is not a simple collection of Internet resources, but verified and organized data ensuring it's really suitable for your learning process and useful for your development and application.

Contents

Click to expand

Frequently Asked Questions (F.A.Q.s) & Answers

Q: What's a Blockchain?

A: A blockchain is a distributed database with a list (that is, chain) of records (that is, blocks) linked and secured by digital fingerprints (that is, crypto hashes). Example from genesis_block.json:

{
    "version": 0,
    "height": 1,
    "previous_hash": null,
    "timestamp": 1550049140488,
    "merkle_hash": null,
    "generator_publickey": "18941c80a77f2150107cdde99486ba672b5279ddd469eeefed308540fbd46983",
    "hash": "d611edb9fd86ee234cdc08d9bf382330d6ccc721cd5e59cf2a01b0a2a8decfff",
    "block_signature": "603b61b14348fb7eb087fe3267e28abacadf3932f0e33958fb016ab60f825e3124bfe6c7198d38f8c91b0a3b1f928919190680e44fbe7289a4202039ffbb2109",
    "consensus_data": {},
    "transactions": []
}

Q: What's a Hash? What's a (One-Way) Crypto(graphic) Hash Digest Checksum?

A: A hash e.g. d611edb9fd86ee234cdc08d9bf382330d6ccc721cd5e59cf2a01b0a2a8decfff is a small digest checksum calculated with a one-way crypto(graphic) hash digest checksum function e.g. SHA256 (Secure Hash Algorithm 256 Bits) from the data. Example from crypto.js:

function calc_hash(data) {
  return crypto.createHash("sha256").update(data).digest("hex");
}

A blockchain uses

  • the block header (e.g. Version, TimeStamp, Previous Hash... )and
  • the block data (e.g. Transaction Data...)

to calculate the new hash digest checksum.

Q: What's a Merkle Tree?

A: A Merkle tree is a hash tree named after Ralph Merkle who patented the concept in 1979 (the patent expired in 2002). A hash tree is a generalization of hash lists or hash chains where every leaf node (in the tree) is labelled with a data block and every non-leaf node (in the tree) is labelled with the crypto(graphic) hash of the labels of its child nodes. For more see the Merkle tree Wikipedia Article.

Note: By adding crypto(graphic) hash functions you can "merkelize" any data structure.

Q: What's a Merkelized DAG (Directed Acyclic Graph)?

A: It's a blockchain secured by crypto(graphic) hashes that uses a directed acyclic graph data structure (instead of linear "classic" linked list).

Note: Git uses merkelized dag (directed acyclic graph)s for its blockchains.

Q: Is the Git Repo a Blockchain?

A: Yes, every branch in the git repo is a blockchain. The "classic" Satoshi-blockchain is like a git repo with a single master branch (only).

More Q&A


Basic Introduction