Ethereum bxl

Post on 23-Jan-2017

383 views 1 download

Transcript of Ethereum bxl

Bruxelles

Benjamin MATEOBenjamin.mateo@protonmail.com

Nicolas Van Eeckhoutvaneeckhoutnicolas@gmail.com

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

Blockchain

Ethereum

Kraken

Mist

Coding

Mining

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

What is in the

blockchain ?

Bob

Claire

Jean

Bob

Claire

Jean

Bob

Claire

Jean

Bob

Claire

Jean

Transaction block chains

Adding blocks to the chain

~ 10mins for bitcoin~10 sec for ether

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

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

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

Mining Stats/Profitability

Distributed Consensus

Secure

Transparent

Blockchain

Ethereum

Contract

Ethereum

Contract

Ether

• 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

Ethereum is versatile

Blockchain for All !

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

Which Exchange Office?

What about Kraken’s Tier levels?

Before Trading, you need Funding

Trading: Dashboard

Two-factor Auth

Trading: New Order

Trading: Ledger

Trading: Trends

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

Meetup Contract

• Address : 0xc0D801061070FB92622d1d58Fe27872F07F0ea60 • Balance : 0• Fields

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

• Methods• Vote• AddMember• NewMeetupProposal• ExecuteProposal

• Events• Vote• AddMember• NewMeetupProposal• ExecuteProposal

Hashtable

Inheritance

Modifier

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

contracts

Events

Thanks !

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