53
Bruxelles Benjamin MATEO [email protected] Nicolas Van Eeckhout [email protected] http://www.meetup.com/fr-FR/Meetup-Blockchain-Ethereum-Bruxelles/

Ethereum bxl

Embed Size (px)

Citation preview

Page 1: Ethereum bxl

Bruxelles

Benjamin [email protected]

Nicolas Van [email protected]

http://www.meetup.com/fr-FR/Meetup-Blockchain-Ethereum-Bruxelles/

Page 2: Ethereum bxl
Page 3: Ethereum bxl

Blockchain

Ethereum

Kraken

Mist

Coding

Mining

Page 4: Ethereum bxl

In 2008, Bitcoin was launched as a peer-to-peerdatabase that relied on a new data structurereferred to as the ‘blockchain’.

■The blockchain consists of blocks, where eachblock holds a set of transactions and areference to the previous block. This helpedcreate a chain of all transactions that everoccurred.

■This data structure is replicated across allparticipating nodes so that every participant isaware of the transactions without having to getthem from a central authority.

Blockchain

Page 5: Ethereum bxl
Page 6: Ethereum bxl

What is in the

blockchain ?

Page 7: Ethereum bxl
Page 8: Ethereum bxl

Bob

Claire

Jean

Bob

Claire

Jean

Page 9: Ethereum bxl

Bob

Claire

Jean

Bob

Claire

Jean

Page 10: Ethereum bxl
Page 11: Ethereum bxl

Transaction block chains

Page 12: Ethereum bxl

Adding blocks to the chain

~ 10mins for bitcoin~10 sec for ether

Page 13: Ethereum bxl
Page 14: Ethereum bxl

Mining Rig

An application-specific integrated circuit (abbreviated as ASIC) is an integrated circuit (IC) customized for a particular use, rather than intended for general-purpose us

Page 15: Ethereum bxl

https://github.com/ethereum/webthree-umbrella/releases

Try Mining within a pool

Ethereum.exe windows install

ethminer.exe -F http://eth1.nanopool.org:8888/0xc4Ff503879fe07ac61e10a393F51f5e8E3A037d0/miner1 -G

Do NOT use CONTRACT addresses for mining.

check workerhttp://nanopool.org/account/0xc4Ff503879fe07ac61e10a393F51f5e8E3A037d0

check balancehttps://etherscan.io/address/0xc4Ff503879fe07ac61e10a393F51f5e8E3A037d0

What is Pooled Mining Ether miners join mining pools, which are groups of people who combine the processing power of multiple computers to generate Bitcoins and they distribute any bounty generated

Page 16: Ethereum bxl
Page 17: Ethereum bxl

https://github.com/ethereum/webthree-umbrella/releases

Mining Stats/Profitability

Page 18: Ethereum bxl

Distributed Consensus

Secure

Transparent

Blockchain

Page 19: Ethereum bxl

Ethereum

Page 20: Ethereum bxl

Contract

Page 21: Ethereum bxl

Ethereum

Contract

Ether

Page 22: Ethereum bxl

• Slow (code runs 5-1000x slower than native code)

• Expensive to use (basic computation, memory and storage cost are ~1950s levelsnot always immediatlydecisive(action of the last 60sec may be reorganised)

Cons

Ethereum is a “world computer”: a place where anyone can upload and run programs that are guaranteed to be executed exactly as written on a highly robust and decentralized consensus network consisting of thousands of computers around the world.

• Cannot failed, becensored, be stopped

• Trully global singleton (one computer for the planet for now and forever)

• Ubiquitous wherever thereis internet there isethereum

• Natively multi user (has as many account as isneeded)

• Accessible (wherever thereis javascript there isethereum)

• Verifyable & auditable (all code honoured now and forever)

Pros

Ethereum

ContractEther

Page 23: Ethereum bxl

Ethereum is versatile

Page 24: Ethereum bxl

Blockchain for All !

Page 25: Ethereum bxl

Contract

If a contract does not include any programmed instructions, it behaves as an account. It has an address and a balance. This account can receive/send ethers from/to other accounts/contracts.

Ether is required to call a contract, this is done to ensure that infinite execution does not occur as the execution stops the moment the ether amount sent along with the call is consumed

When a contract is called, a small amount of ether is required to be sent along with the call. However, when a contract is called, an amount of ether can be directly transferred to that contract there by instituting a balance transfer like in the case of a payment

Page 26: Ethereum bxl

Which Exchange Office?

Page 27: Ethereum bxl

What about Kraken’s Tier levels?

Page 28: Ethereum bxl

Before Trading, you need Funding

Page 29: Ethereum bxl

Trading: Dashboard

Page 30: Ethereum bxl

Two-factor Auth

Page 31: Ethereum bxl

Trading: New Order

Page 32: Ethereum bxl

Trading: Ledger

Page 33: Ethereum bxl

Trading: Trends

Page 34: Ethereum bxl

Mist –Ethereum Wallethttps://github.com/ethereum/mist/releases

Page 35: Ethereum bxl
Page 36: Ethereum bxl
Page 37: Ethereum bxl
Page 38: Ethereum bxl
Page 39: Ethereum bxl
Page 40: Ethereum bxl
Page 41: Ethereum bxl
Page 42: Ethereum bxl
Page 43: Ethereum bxl
Page 44: Ethereum bxl
Page 45: Ethereum bxl

Meetup Contract

• Address : 0xc0D801061070FB92622d1d58Fe27872F07F0ea60 • Balance : 0• Fields

• Members (list of member)• nextMeetupDescription• nextMeetupDate• Votes

• Methods• Vote• AddMember• NewMeetupProposal• ExecuteProposal

• Events• Vote• AddMember• NewMeetupProposal• ExecuteProposal

Page 46: Ethereum bxl
Page 47: Ethereum bxl
Page 48: Ethereum bxl
Page 49: Ethereum bxl
Page 50: Ethereum bxl

Hashtable

Inheritance

Modifier

LLL, Serpent, and Solidity all can be used to write

contracts

Page 51: Ethereum bxl

Events

Page 52: Ethereum bxl

Thanks !

Page 53: Ethereum bxl

Source: Dr Gavin Wood (ethereum.org)Vitalin Butelik (ethereum.org)Ethereum white paper https://github.com/ethereum/wiki/wiki/White-Paper#code-executionFabian Vogelsteller feinduraTerek Judi Ethereum Ontario