1. Trang chủ
  2. » Ngoại Ngữ

Blockchain, smart contracts introduction

32 84 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 32
Dung lượng 866,97 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

TL; DR- History, background - Solved problems - How it works wallets, transactions, mining - Ethereum, Smart contracts - Profit... All confirmed transactions are included in the block ch

Trang 1

Blockchain, smart contracts

introduction

©Lukasz Jarmulowicz 2016

Trang 2

TL; DR

- History, background

- Solved problems

- How it works (wallets, transactions, mining)

- Ethereum, Smart contracts

- Profit

Trang 3

Why bitcoin?

Trang 4

A general ledger contains all the accounts for recording transactions relating to a company's assets, liabilities, owners' equity, revenue, and expenses

Purpose: To have financial statement

Trang 5

Double spending Byzantine Generals Problem

More generally, the B.G.P poses the question

of how to establish trust between otherwise

unrelated parties over an untrusted network

like the Internet

The problem to be solved is:

● All loyal generals need to decide upon

the same plan of action

● A small number of traitors cannot cause

the loyal generals to adopt a bad plan

Trang 6

In October 2008, “Satoshi Nakamoto” published a paper describing the bitcoin digital currency In January 2009, Nakamoto released the first bitcoin software that launched the network and the first units of the bitcoin cryptocurrency,

called bitcoins.

Trang 7

Distributed ledger - Blockchain

The block chain is a shared public ledger on which the entire Bitcoin network

relies All confirmed transactions are included in the block chain This way, Bitcoin wallets can calculate their spendable balance and new transactions can be verified to be spending bitcoins that are actually owned by the spender.

Trang 8

A mysterious new technology emerges, seemingly out of nowhere, but actually the result of two decades of intense research and development by nearly anonymous

Trang 10

Davos 2016 - big attention

Trang 11

Even in Russia

https://www.youtube.com/watch?v=BXlAH2fhyoU

Trang 12

Ok, ok but how it works ?

Trang 13

Wallet

Trang 14

Transactions

Trang 15

Transaction signing - scripts inside

Small program inside each transaction that gets

executed to decide if a transaction is valid

Trang 16

Transaction chain gives balance

Trang 17

Confirming transactions - mining

Trang 18

Mining - blocks

Bitcoin mining is the process that puts

transactions into a block, to make sure everyone

has a consistent view of the transaction log

Mining is also the mechanism for new bitcoins to enter the system When a block is successfully mined, new bitcoins are generated in the block and paid to the miner

This mining bounty is large - currently 25 bitcoins per block (~ $14,000)

Trang 19

This is blockchain

Trang 22

Ethereum, smart contracts

Trang 23

Ethereum was initially proposed by Vitalik Buterin in late 2013 and in 2014 he described it as

"A Next-Generation Cryptocurrency and Decentralized Application Platform"

Ethereum's live blockchain was launched on 30 July 2015 The Ethereum software project was initially developed by a Swiss company, Ethereum Switzerland GmbH (EthSuisse) and a Swiss non-profit foundation, the Ethereum Foundation

Trang 24

Ethereum Virtual Machine

Programmable blockchain - Rather than give

users a set of pre-defined operations (e.g

bitcoin transactions), Ethereum allows users to

create their own operations of any complexity

they wish

Bitcoin blockchain was purely a list of

transactions, Ethereum’s basic unit is the

account The Ethereum blockchain tracks the

state of every account, and all state transitions

on the Ethereum blockchain are transfers of

value and information between accounts

Platform for many different types of decentralized blockchain applications, including but not limited to cryptocurrencies

Trang 25

Smart contracts

● Contracts lives on the Ethereum blockchain

● Have own Ethereum address and balance

● Can send and receive transactions

● “Activated” when you send a transaction to it

Trang 26

Smart contracts

● 4 Ethereum high level languages

○ Solidity (similar to js)

● Compile (Mix IDE)

● Deploy (you pay for

execution gas - > eth)

● Interacting with smart

contracts

● Mining - little different than bitcoin (few changes)

Trang 27

Plans for smart contracts usage

Trang 28

ETHEREUM AS A ‘WORLD

COMPUTER’

Computation on Ethereum is slow

and expensive

(currently similar to smartphone?!)

For computation, there are better,

cheaper and faster alternatives that

don’t require blockchains and all

that.

Ethereum can create various forms of economic alignment, shared purpose and coordination between thousands of anonymous people, at a fraction of a cost compared to

alternatives (legal frameworks)

Sharing economy (ex uber, airbnb) will be everywhere.

Trang 29

Decentralized autonomous organizations (“DAO”)

● Best comparable to a digital company, but without an attached legal entity

● The Owner (kind of admin) can add (or remove) voting members to the organization

● Any member can make a proposal (by sending transaction or execute contract)

● People vote on proposals

● Allows people to participate in risks & rewards of digital ventures

Trang 32

Thank you.

Questions?

©Lukasz Jarmulowicz 2016

Ngày đăng: 04/07/2018, 13:47

TỪ KHÓA LIÊN QUAN

w