bitcoin2 - athens university of economics and …bitfinexŽ btc/usd vol 130,654 btc low 8,801.0...

28
BitCoin 2

Upload: others

Post on 21-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

BitCoin 2

Page 2: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 3: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

BITCOIN’SBLOCKCHAINSTRUCTURE

Page 4: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

BlocksoftransactionsBlockID:BlockAPrevious:-Nonce:XXXXXX

Signature:00…0XXX

Transaction ID Input Outputs Signatures

1 - 20->Alice Signed(Miner)

UnspentTransactions1[0]1[1]

Page 5: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

BlocksoftransactionsBlockID:BlockAPrevious:-Nonce:XXXXXX

Signature:00…0XXX

Transaction ID Input Outputs Signatures

1 - 20->Alice,5->Tom Signed(Miner)

BlockID:BlockBPrevious:BlockANonce:XXXXXX

Signature:00…0XXX

Transaction ID Input Outputs Signatures

2 1[0] 15->Bob,5->Alice Signed(Alice)

UnspentTransactions1[0]1[1]2[0]

Page 6: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

Transactionfees

Page 7: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

Transactionfees

Page 8: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

Transactionfees

Page 9: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

Tradingcoins

Page 10: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 11: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 12: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 13: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 14: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

Ethereum andsmartcontracts

Page 15: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

LifecycleofasmartcontractCreatecontract

Deploy

Execute

Kill

Page 16: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 17: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 18: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 19: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 20: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 21: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

Invokingacontract

Page 22: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

Invokingacontract

Page 23: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

Whatcontractscan(not)do?

• Performarithmeticandlogicaloperations• Loops• Verifyethereum signatures• Performtransactions(???)• InvokeothercontactsDon’ts• Storeprivateinformation• Communicatewithexternalservices

Page 24: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

TheDAOstory

Page 25: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 26: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 27: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw
Page 28: BitCoin2 - Athens University of Economics and …BITFINEXŽ BTC/USD VOL 130,654 BTC LOW 8,801.0 Trading Funding 10,012 290.20 (2.99%) HIGH 10,542 bitfinex.com OTC CSTs Deposit Withdraw

THANKYOU