Slide 1

Slide 1 text

Ethereum with a little
 caffeine! *Slides referred from Loi Luu and Vitalik Buterin Ronak Kogta


Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Speaker that was promised!

Slide 5

Slide 5 text

Speaker that was promised! Aye! That is all
 what blockchain does

Slide 6

Slide 6 text

Speaker that was promised! Aye! That is all
 what blockchain does ??

Slide 7

Slide 7 text

Agenda • Blockchain as World Computer • What is Ethereum ? • Smart contracts and applications • Writing your first contract • Research Problems

Slide 8

Slide 8 text

Blockchains and its crudest definition It's a platform that allows a software package that contains business logic and user data to sit in the cloud. A copy of this cloud is replicated by millions of computers around the world to keep code/ data integrity. The user interface is an open source project that communicates with the software package in the cloud. To incentivize people to replicate this software package to be maintained you pay them with a digital currency. Rick Tuinenburg

Slide 9

Slide 9 text

Blockchains and its crudest definition The value of digital currency is determined by the popularity of the entire platform. Early adopters gain the most if the platform becomes a success. What makes this platform unique is that the business logic / data cannot be taken down or changed unless multiple anonymous developers around the world agree to do so. This makes it so authorities cannot take down software or data they don't like. Some use cases are: legal public records (deeds, court cases records, fictitious business names, etc) Rick Tuinenburg

Slide 10

Slide 10 text

Proof of Work Coin Blockchain Dapp ASIC Transaction Contract Miner Ledger Pools Crypto Sign Hash Commitment Consensus Exchange Technically we should know…

Slide 11

Slide 11 text

Blockchain as world computer Consensus Computer

Slide 12

Slide 12 text

Blockchain as world computer f(x)=? Consensus Computer

Slide 13

Slide 13 text

Blockchain as world computer f(x)=? f(x)=y Consensus Computer

Slide 14

Slide 14 text

Blockchain as world computer f(x)=? f(x)=y f(x) = y ? f(x) = y ? Consensus Computer

Slide 15

Slide 15 text

Blockchain as world computer f(x)=? f(x)=y f(x) = y ? f(x) = y ? f(x)=y Consensus Computer

Slide 16

Slide 16 text

Lot of blockchains out there…

Slide 17

Slide 17 text

Decentralised Computer Ethereum

Slide 18

Slide 18 text

Decentralised Computer Ethereum Slow
 (5-1000x)

Slide 19

Slide 19 text

Decentralised Computer Ethereum Expansive to use Slow
 (5-1000x)

Slide 20

Slide 20 text

Decentralised Computer Ethereum Not always
 decisive Expansive to use Slow
 (5-1000x)

Slide 21

Slide 21 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x)

Slide 22

Slide 22 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton

Slide 23

Slide 23 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored

Slide 24

Slide 24 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous

Slide 25

Slide 25 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous Verifiable and Auditable

Slide 26

Slide 26 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous Verifiable and Auditable Guarantees

Slide 27

Slide 27 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous Verifiable and Auditable Atomicity Guarantees

Slide 28

Slide 28 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous Verifiable and Auditable Atomicity Immortality Guarantees

Slide 29

Slide 29 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous Verifiable and Auditable Atomicity Immortality Immutable Code Guarantees

Slide 30

Slide 30 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous Verifiable and Auditable Atomicity Immortality Immutable Code Synchrony Guarantees

Slide 31

Slide 31 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous Verifiable and Auditable Atomicity Immortality Immutable Code Synchrony Provenance Guarantees

Slide 32

Slide 32 text

Decentralised Computer Ethereum Truly a 1950s computer Not always
 decisive Expansive to use Slow
 (5-1000x) Truly a global singleton Cannot fail, be stopped or censored Ubiquitous Verifiable and Auditable Atomicity Immortality Immutable Code Synchrony Provenance Permanence Guarantees

Slide 33

Slide 33 text

Ethereum (Just another blockchain)

Slide 34

Slide 34 text

Ethereum (Just another blockchain) • Blockchain is a decentralised ledger of trust.

Slide 35

Slide 35 text

Ethereum (Just another blockchain) • Blockchain is a decentralised ledger of trust. – Rather than currency, you can use the ledger for kind of applications which require trust

Slide 36

Slide 36 text

Ethereum (Just another blockchain) • Blockchain is a decentralised ledger of trust. – Rather than currency, you can use the ledger for kind of applications which require trust – For e.g. Notary, writing a will, or decentralised

Slide 37

Slide 37 text

Ethereum (Just another blockchain) • Blockchain is a decentralised ledger of trust. – Rather than currency, you can use the ledger for kind of applications which require trust – For e.g. Notary, writing a will, or decentralised I. Craiglist , Uber, Zomato …

Slide 38

Slide 38 text

Ethereum (Just another blockchain) • Blockchain is a decentralised ledger of trust. – Rather than currency, you can use the ledger for kind of applications which require trust – For e.g. Notary, writing a will, or decentralised I. Craiglist , Uber, Zomato … II. Ebay, Amazon, Uber …

Slide 39

Slide 39 text

Ethereum (Just another blockchain) • Blockchain is a decentralised ledger of trust. – Rather than currency, you can use the ledger for kind of applications which require trust – For e.g. Notary, writing a will, or decentralised I. Craiglist , Uber, Zomato … II. Ebay, Amazon, Uber … • The way to do it is to write programs which are called “Smart Contracts”

Slide 40

Slide 40 text

Ethereum (Just another blockchain) • Blockchain is a decentralised ledger of trust. – Rather than currency, you can use the ledger for kind of applications which require trust – For e.g. Notary, writing a will, or decentralised I. Craiglist , Uber, Zomato … II. Ebay, Amazon, Uber … • The way to do it is to write programs which are called “Smart Contracts” • Ethereum can also be used to do normal ether transactions.

Slide 41

Slide 41 text

Ethereum (Just another blockchain) • Blockchain is a decentralised ledger of trust. – Rather than currency, you can use the ledger for kind of applications which require trust – For e.g. Notary, writing a will, or decentralised I. Craiglist , Uber, Zomato … II. Ebay, Amazon, Uber … • The way to do it is to write programs which are called “Smart Contracts” • Ethereum can also be used to do normal ether transactions. Matchmakers

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

Ethereum Programming Model

Slide 45

Slide 45 text

Ethereum Programming Model Bob does not believe in Spiderman, but Alice does

Slide 46

Slide 46 text

Ethereum Programming Model Bob does not believe in Spiderman, but Alice does Alice bets that if she is in danger, Spiderman will protect her.

Slide 47

Slide 47 text

Ethereum Programming Model Bob does not believe in Spiderman, but Alice does Alice bets that if she is in danger, Spiderman will protect her. Spiderman morally wants to help everybody, if he can.
 Because with great power comes great responsibility.

Slide 48

Slide 48 text

Ethereum Programming Model Bob does not believe in Spiderman, but Alice does Alice bets that if she is in danger, Spiderman will protect her. Spiderman morally wants to help everybody, if he can.
 Because with great power comes great responsibility. Alice does not trust Bob, and needs to ensure that they both hold 
 their end of bargains after the bet is done.

Slide 49

Slide 49 text

Ethereum Programming Model Bob does not believe in Spiderman, but Alice does Alice bets that if she is in danger, Spiderman will protect her. Spiderman morally wants to help everybody, if he can.
 Because with great power comes great responsibility. Alice does not trust Bob, and needs to ensure that they both hold 
 their end of bargains after the bet is done. Spiderman is unaware of this bet, and just webbing his way around.

Slide 50

Slide 50 text

Ethereum Programming Model

Slide 51

Slide 51 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic

Slide 52

Slide 52 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg

Slide 53

Slide 53 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State

Slide 54

Slide 54 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State • Turing Complete

Slide 55

Slide 55 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State • Turing Complete • Self-Executing and enforcing

Slide 56

Slide 56 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State • Turing Complete • Self-Executing and enforcing

Slide 57

Slide 57 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State • Turing Complete • Self-Executing and enforcing are submitted as transactions in 
 blockchain.

Slide 58

Slide 58 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State • Turing Complete • Self-Executing and enforcing are submitted as transactions in 
 blockchain. - Can send eth to other accounts

Slide 59

Slide 59 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State • Turing Complete • Self-Executing and enforcing are submitted as transactions in 
 blockchain. - Can send eth to other accounts - Read/write from storage

Slide 60

Slide 60 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State • Turing Complete • Self-Executing and enforcing are submitted as transactions in 
 blockchain. - Can send eth to other accounts - Read/write from storage - Invoke function calls to other contracts

Slide 61

Slide 61 text

Ethereum Programming Model Contract Persistent Msg Store $$$ Program Logic ?? $$$ Msg • Contract = Code + State • Turing Complete • Self-Executing and enforcing are submitted as transactions in 
 blockchain. - Can send eth to other accounts - Read/write from storage - Invoke function calls to other contracts - Create other contracts

Slide 62

Slide 62 text

DNS, a commitment, a contract, of sorts

Slide 63

Slide 63 text

DNS, a commitment, a contract, of sorts Invoked by other accounts

Slide 64

Slide 64 text

Contract Workflow

Slide 65

Slide 65 text

Contract Workflow Your Contract

Slide 66

Slide 66 text

Contract Workflow Your Contract 60606040526040516102503 80380610250833981016040 528........ What others see
 in blockchain

Slide 67

Slide 67 text

Contract Workflow Your Contract 60606040526040516102503 80380610250833981016040 528........ What others see
 in blockchain PUSH 60 PUSH 40 MSTORE PUSH 0 CALLDATALOAD ..... Disassembler output

Slide 68

Slide 68 text

Transactions • nonce (anti-replay-attack or transaction counter) • to (destination address) • value (amount of ETH to send) • data (readable by contract code) • gasprice (amount of ether per unit gas) • startgas (maximum gas consumable) • v, r, s (ECDSA signature values)

Slide 69

Slide 69 text

How to Create a Contract? • Submit a transaction to the blockchain – nonce: previous nonce + 1 – to: empty – value: value sent to the new contract – data: contains the code of the contract – gasprice (amount of ether per unit gas) – startgas (maximum gas consumable) – v, r, s (ECDSA signature values) • If tx is successful – Returns the address of the new contract

Slide 70

Slide 70 text

How to Interact With a Contract? • Submit a transaction to the blockchain – nonce: previous nonce + 1 – to: contract address – value: value sent to the new contract – data: data supposed to be read by the contract – gasprice (amount of ether per unit gas) – startgas (maximum gas consumable) – v, r, s (ECDSA signature values) • If tx is successful – Returns outputs from the contract (if applicable)

Slide 71

Slide 71 text

Ethereum Frameworks Serpent Solidity Lower Level Language Ethereum VM Bytecode Stack Language (Like python) (Like javascript) (Function and macros
 like scheme) (Defined in Ethereum
 yellow paper) *Slide from Andrew Miller

Slide 72

Slide 72 text

Blockchain State

Slide 73

Slide 73 text

Blockchain State Address Balance (BTC) 0x123456… 10 0x1a2b3f… 1 0xab123d… 1.1 Bitcoin's state consists of key value mapping of addresses to account balance

Slide 74

Slide 74 text

Blockchain State Address Balance (BTC) 0x123456… 10 0x1a2b3f… 1 0xab123d… 1.1 Ethereum’s state consists of key value mapping addresses to account objects Address Object 0x123456… X 0x1a2b3f… Y 0xab123d… Z Bitcoin's state consists of key value mapping of addresses to account balance

Slide 75

Slide 75 text

Blockchain State Address Balance (BTC) 0x123456… 10 0x1a2b3f… 1 0xab123d… 1.1 Ethereum’s state consists of key value mapping addresses to account objects Address Object 0x123456… X 0x1a2b3f… Y 0xab123d… Z Bitcoin's state consists of key value mapping of addresses to account balance Blockchain != Blockchain State

Slide 76

Slide 76 text

EVM Ethereum State Transition

Slide 77

Slide 77 text

EVM Program Counter Ethereum State Transition

Slide 78

Slide 78 text

EVM Program Counter Computes preamble
 computation for transaction Ethereum State Transition

Slide 79

Slide 79 text

EVM Program Counter Computes preamble
 computation for transaction Rolls back the
 transaction, if it fails Ethereum State Transition

Slide 80

Slide 80 text

EVM Program Counter Computes preamble
 computation for transaction Commits the
 transaction
 if success Rolls back the
 transaction, if it fails Ethereum State Transition

Slide 81

Slide 81 text

EVM Program Counter Computes preamble
 computation for transaction Commits the
 transaction
 if success Rolls back the
 transaction, if it fails Ethereum State Transition 1 Syntax checking transaction.

Slide 82

Slide 82 text

EVM Program Counter Computes preamble
 computation for transaction Commits the
 transaction
 if success Rolls back the
 transaction, if it fails Ethereum State Transition 1 Syntax checking transaction. 2 Computing preamble transaction fee.

Slide 83

Slide 83 text

EVM Program Counter Computes preamble
 computation for transaction Commits the
 transaction
 if success Rolls back the
 transaction, if it fails Ethereum State Transition 1 Syntax checking transaction. 2 Computing preamble transaction fee. 3 Initialise the gas payment.

Slide 84

Slide 84 text

EVM Program Counter Computes preamble
 computation for transaction Commits the
 transaction
 if success Rolls back the
 transaction, if it fails Ethereum State Transition 1 Syntax checking transaction. 2 Computing preamble transaction fee. 3 Initialise the gas payment. 4 Transfer the amount from sender to receiver.

Slide 85

Slide 85 text

EVM Program Counter Computes preamble
 computation for transaction Commits the
 transaction
 if success Rolls back the
 transaction, if it fails Ethereum State Transition 1 Syntax checking transaction. 2 Computing preamble transaction fee. 3 Initialise the gas payment. 4 Transfer the amount from sender to receiver. 5 Throw error, when sender account does not have sufficient ether, and roll back transaction.

Slide 86

Slide 86 text

EVM Program Counter Computes preamble
 computation for transaction Commits the
 transaction
 if success Rolls back the
 transaction, if it fails Ethereum State Transition 1 Syntax checking transaction. 2 Computing preamble transaction fee. 3 Initialise the gas payment. 4 Transfer the amount from sender to receiver. 5 Throw error, when sender account does not have sufficient ether, and roll back transaction. 6 For any other error, send the gas fee to sender

Slide 87

Slide 87 text

Account Object • Every account object contains 4 pieces of data: – Nonce – Balance – Code hash (code = empty string for normal accounts) – Storage trie root

Slide 88

Slide 88 text

Account Object • Every account object contains 4 pieces of data: – Nonce – Balance – Code hash (code = empty string for normal accounts) – Storage trie root

Slide 89

Slide 89 text

Tx-n Tx-1 Block Mining Tx-2

Slide 90

Slide 90 text

Tx-n Tx-1 Block Mining Miners Tx-2

Slide 91

Slide 91 text

Tx-n Tx-1 Block Mining Miners Tx-2 Block A set of TXs Previous block New State Root Receipt Root Nonce

Slide 92

Slide 92 text

Tx-n Tx-1 Block Mining Miners Tx-2 Block A set of TXs Previous block New State Root Receipt Root Nonce

Slide 93

Slide 93 text

Tx-n Tx-1 Block Mining Miners Tx-2 Block A set of TXs Previous block New State Root Receipt Root Nonce Verify transactions & execute all code to update the state

Slide 94

Slide 94 text

Tx-n Tx-1 Block Mining Miners Tx-2 Block A set of TXs Previous block New State Root Receipt Root Nonce SHA3(Block) < D Verify transactions & execute all code to update the state

Slide 95

Slide 95 text

Tx-n Tx-1 Block Mining Miners Tx-2 Block A set of TXs Previous block New State Root Receipt Root Nonce SHA3(Block) < D Broadcast Block Verify transactions & execute all code to update the state

Slide 96

Slide 96 text

Code execution • Every (full) node on the blockchain processes every transaction and stores the entire state P6 P5 P4 P3 P2 P1

Slide 97

Slide 97 text

Code execution • Every (full) node on the blockchain processes every transaction and stores the entire state P6 P5 P4 P3 P2 P1 This is a new block! I’m a leader

Slide 98

Slide 98 text

Code execution • Every (full) node on the blockchain processes every transaction and stores the entire state P6 P5 P4 P3 P2 P1 This is a new block! I’m a leader This is a new block! This is a new block! This is a new block! This is a new block! This is a new block!

Slide 99

Slide 99 text

Dos Attack Vector • Halting problem – Cannot tell whether or not a program will run infinitely – A malicious miner can DoS attack full nodes by including lots of computation in their txs • Full nodes attacked when verifying the block uint i = 1; while (i++ > 0) { donothing(); }

Slide 100

Slide 100 text

Solution: Gas • Charge fee per computational step (“gas”) – Special gas fees for operations that take up storage

Slide 101

Slide 101 text

Solution: Gas • Charge fee per computational step (“gas”) – Special gas fees for operations that take up storage

Slide 102

Slide 102 text

Solution: Gas • Charge fee per computational step (“gas”) – Special gas fees for operations that take up storage

Slide 103

Slide 103 text

Sender has to pay for the gas • gasprice: amount of ether per unit gas • startgas: maximum gas consumable – If startgas is less than needed • Out of gas exception, revert the state as if the TX has never happened • Sender still pays all the gas • TX fee = gasprice * consumedgas • Gas limit: similar to block size limit in Bitcoin – Total gas spent by all transactions in a block < Gas Limit

Slide 104

Slide 104 text

What are Smart Contracts ?

Slide 105

Slide 105 text

What are Smart Contracts ? A smart contract is a computer program executed in a secure environment that directly controls digital assets

Slide 106

Slide 106 text

Properties of Smart Contracts

Slide 107

Slide 107 text

Properties of Smart Contracts Security Property

Slide 108

Slide 108 text

Properties of Smart Contracts • Correctness of execution – The execution is done correctly, is not tampered • Integrity of code and data • Optional properties – Confidentiality of code and data – Verifiability of execution – Availability for the programs running inside Security Property

Slide 109

Slide 109 text

Properties of Smart Contracts • Correctness of execution – The execution is done correctly, is not tampered • Integrity of code and data • Optional properties – Confidentiality of code and data – Verifiability of execution – Availability for the programs running inside Security Property Servers secured
 by trusted 
 hardware.
 (Intel SGX)

Slide 110

Slide 110 text

Properties of Smart Contracts Digital Assets

Slide 111

Slide 111 text

Properties of Smart Contracts • A broad category – Domain name – Website – Money – Anything tokenisable (e.g. gold, silver, stock share etc) – Game items – Network bandwidth, computation cycles Digital Assets

Slide 112

Slide 112 text

Properties of Smart Contracts

Slide 113

Slide 113 text

Properties of Smart Contracts Technical aspects of smart contract

Slide 114

Slide 114 text

Properties of Smart Contracts • Requires parties to pay collateral before participating. • Use oracles (external trusted third parties) • Use network (miners are ready to do your work for a good incentive) • Cryptography 1. Commitments 2. Digital signatures 3. Merkle trees and authenticated data structures Technical aspects of smart contract

Slide 115

Slide 115 text

Example: escrow service for exchange

Slide 116

Slide 116 text

Example: escrow service for exchange A B E X

Slide 117

Slide 117 text

Example: escrow service for exchange A B E X

Slide 118

Slide 118 text

Example: escrow service for exchange A B E X A B E A B E I won’t give you Y Y

Slide 119

Slide 119 text

Example: escrow service for exchange A B E X A B E A B E I won’t give you Y Y

Slide 120

Slide 120 text

Example: escrow service for exchange A B E X A B E A B E I won’t give you Y Y A B E A B E X X

Slide 121

Slide 121 text

Example: multisig • Require M of N “owners” to agree in order for a particular digital asset to be transferred – Individual use cases • eg. two-factor authentication – Intra-organizational use cases

Slide 122

Slide 122 text

Demo Time

Slide 123

Slide 123 text

ICOs Whitepaper Dapp Smart Contract Life cycle of a Dapp

Slide 124

Slide 124 text

Research Problems

Slide 125

Slide 125 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente

Slide 126

Slide 126 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper

Slide 127

Slide 127 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper • Can define programming languages like rust for smart contracts.

Slide 128

Slide 128 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper • Can define programming languages like rust for smart contracts. • Scaling Issues ?

Slide 129

Slide 129 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper • Can define programming languages like rust for smart contracts. • Scaling Issues ? • Sharding

Slide 130

Slide 130 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper • Can define programming languages like rust for smart contracts. • Scaling Issues ? • Sharding • State channels

Slide 131

Slide 131 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper • Can define programming languages like rust for smart contracts. • Scaling Issues ? • Sharding • State channels • Privacy Issues (Ring signatures, ZK-SNARKS and Hawk)

Slide 132

Slide 132 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper • Can define programming languages like rust for smart contracts. • Scaling Issues ? • Sharding • State channels • Privacy Issues (Ring signatures, ZK-SNARKS and Hawk) • Ethereum Virtual machine and improvement in language models

Slide 133

Slide 133 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper • Can define programming languages like rust for smart contracts. • Scaling Issues ? • Sharding • State channels • Privacy Issues (Ring signatures, ZK-SNARKS and Hawk) • Ethereum Virtual machine and improvement in language models • Proof of work/stake model for x86_64 which is gpu and asic resistant

Slide 134

Slide 134 text

Research Problems • How to write secure and correct contracts ? Need tools like Oyente • Can define your secure ethereum client based on yellow paper • Can define programming languages like rust for smart contracts. • Scaling Issues ? • Sharding • State channels • Privacy Issues (Ring signatures, ZK-SNARKS and Hawk) • Ethereum Virtual machine and improvement in language models • Proof of work/stake model for x86_64 which is gpu and asic resistant • Defining decentralised pools and exchanges and relays (eg. Smart pool and BTC relay)

Slide 135

Slide 135 text

Research Problems

Slide 136

Slide 136 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency

Slide 137

Slide 137 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function

Slide 138

Slide 138 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function • Multi-Agents are involved like miners, type of transactions etc.

Slide 139

Slide 139 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function • Multi-Agents are involved like miners, type of transactions etc. • Can we define a model to calculate the costs for a particular contract or at least provide some guarantee.

Slide 140

Slide 140 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function • Multi-Agents are involved like miners, type of transactions etc. • Can we define a model to calculate the costs for a particular contract or at least provide some guarantee. • Can do various studies of economics in crypto-regime

Slide 141

Slide 141 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function • Multi-Agents are involved like miners, type of transactions etc. • Can we define a model to calculate the costs for a particular contract or at least provide some guarantee. • Can do various studies of economics in crypto-regime • Behavioural economic models

Slide 142

Slide 142 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function • Multi-Agents are involved like miners, type of transactions etc. • Can we define a model to calculate the costs for a particular contract or at least provide some guarantee. • Can do various studies of economics in crypto-regime • Behavioural economic models • Selfish Agents

Slide 143

Slide 143 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function • Multi-Agents are involved like miners, type of transactions etc. • Can we define a model to calculate the costs for a particular contract or at least provide some guarantee. • Can do various studies of economics in crypto-regime • Behavioural economic models • Selfish Agents • Coordinated choices

Slide 144

Slide 144 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function • Multi-Agents are involved like miners, type of transactions etc. • Can we define a model to calculate the costs for a particular contract or at least provide some guarantee. • Can do various studies of economics in crypto-regime • Behavioural economic models • Selfish Agents • Coordinated choices • How a blackmail would happen, what would be protocols for heist, Can there be a morality check on contracts

Slide 145

Slide 145 text

Research Problems • Role of algorithmic incentives(game theory) in cryptocurrency • Transaction in blockchain = mining reward + mining fee + private cost function • Multi-Agents are involved like miners, type of transactions etc. • Can we define a model to calculate the costs for a particular contract or at least provide some guarantee. • Can do various studies of economics in crypto-regime • Behavioural economic models • Selfish Agents • Coordinated choices • How a blackmail would happen, what would be protocols for heist, Can there be a morality check on contracts https://github.com/ethereum/research/wiki/Problems

Slide 146

Slide 146 text

प्रश्न एवं उत्तर