Ethereum under the Hood, intro for developers as preparation for Blockchain Hackathon (Delft, December 7th 2016)

50 %
50 %
Information about Ethereum under the Hood, intro for developers as preparation for...

Published on December 19, 2016

Author: PascalVanHecke1

Source: slideshare.net

1. Ethereum under the hood

2. Who are we? • Joris Bontje • @mids106 • http://OneUp.Company • Pascal Van Hecke • @vanheckeinfo • http://Tokenengineers.com

3. Who are we? • Joris Bontje • @mids106 • http://OneUp.Company • Pascal Van Hecke • @vanheckeinfo • http://Tokenengineers.com

4. Ethereum for Bitcoiners

5. Programming in Bitcoin • Contains a deliberately simple scripting language • A transaction = locking Bitcoin and describing how it can be unlocked • Examples: • Multisig: multiple signatures are needed to unlock • CheckLocktimeVerify: Bitcoin only spendable at some point in future • ….

6. Programming in Bitcoin • Contains a relatively simple scripting language • A transaction = locking Bitcoin and describing how it can be unlocked • Examples: • Multisig: multiple signatures are needed to unlock • CheckLocktimeVerify: Bitcoin only spendable at some point in future • …. More ”opcodes”, more functionality Altcoin/Metacoin X

7. Ethereum: anything is programmable “Classic “ blockchains • Addresses • Balance with “native” coin • Transactions and blocks Ethereum: • Addresses • … • … • Balance with Ether • … • Transactions and blocks • … • …

8. Ethereum: anything is programmable “Classic “ blockchains • Addresses • Balance with “native” coin • Transactions and blocks Ethereum: • Addresses • + data storage • + code • Balance with Ether • … • Transactions and blocks • … • …

9. Ethereum: anything is programmable “Classic “ blockchains • Addresses • Balance with “native” coin • Transactions and blocks Ethereum: • Addresses • + data storage • + code • Balance with Ether • … • Transactions and blocks • … • …

10. Ethereum: anything is programmable “Classic “ blockchains • Addresses • Balance with “native” coin • Transactions and blocks Ethereum: • Addresses • + data storage • + code • Balance with Ether • + application-specific tokens with specific behaviour • Transactions and blocks • … • …

11. Ethereum: anything is programmable “Classic “ blockchains • Addresses • Balance with “native” coin • Transactions and blocks Ethereum: • Addresses • + data storage • + code • Balance with Ether • + application-specific tokens with specific behaviour • Transactions and blocks • + creation of contract code • + calling contract code

12. Slow and primitive, but… Promise: A 15-year old can deploy business logic that is: • Verifiable • Immutable • Untamperable • Untouchable

13. Smart contract pattern 1 Lock thing of value in contract 2 Contract code determines redistribution 3 Based on information that is not yet known

14. Smart contract pattern 1 Lock thing of value in contract • Native crypto • Tokens representing value… or abilities 2 Contract code determines redistribution 3 Based on information that is not yet known

15. Smart contract pattern 1 Lock thing of value in contract • Native crypto • Tokens representing value… or abilities 2 Contract code determines redistribution 3 Based on information that is not yet known • Randomness • Actor • “Oracle”

16. Solidity

17. Solidity Contract-oriented, high level language for the EVM Statically typed, inheritance, libraries and syntax sugar Contracts are like class instances Public functions are the API Contract state locally available on all nodes

18. Javascript like language

19. Compiles to EVM bytecode TXVALUE PUSH 25 PUSH 10 PUSH 18 EXP MUL LE NOT PUSH 34 JMPI STOP PUSH 34 JMP PUSH 0 TXDATA SLOAD NOT PUSH 0 TXDATA PUSH 1000 LT NOT MUL NOT NOT PUSH 34 JMPI STOP PUSH 1 TXDATA PUSH 0 TXDATA SSTORE

20. https://ethereum.github.io/browser-solidity/

21. https://solidity.readthedocs.io

22. web3

23. web3 - Javascript API // creation of contract object var MyContract = web3.eth.contract(abi); // initiate contract for an address var myContractInstance = MyContract.at('0x78e97bcc5b5dd9ed228fed7a4887c0d7287344a9'); var result = myContractInstance.myConstantMethod('myParam'); console.log(result) // '0x25434534534’ myContractInstance.myStateChangingMethod('someParam1', 23, {value: 200, gas: 2000}, function(err, result){ ... });

24. Development Tools

25. Clients

26. Resources

27. What have people built so far?

28. Permissioned or public?

Add a comment

Related pages

DutchChain | Facebook

Be there to prepare for the hackathon in ... into blockchain under-the-hood. With mostly developers ... December the Dutch Blockchain Hackathon Community ...
Read more

Bitcoin Mining Pro – EbookChinese Bitcoin Miner Might Be ...

... have been credited with providing the bitcoin blockchain with much of its processing ... December 2016; November 2016; October ... Ethereum Development; Ethereum ...
Read more

About AT - blogchain.info

Bitcoin prices moved back toward annual highs on 7th December, ... UAE Government to Sponsor $140k Blockchain Hackathon CoinDesk. 2016. ... Under the surface ...
Read more

Spells of Genesis Game Resets for Further Development ...

The popular blockchain-based trading card game Spells of Genesis (SoG) has just announced a game reset. After last week’s soft-launch, the game started over on ...
Read more

Lucky Labrador Brew Pub » Calagator: Portland's Tech Calendar

... these processes interact with each other under the hood. ... the same time as the hackathon to play boardgames ... Lucky Labrador Brew Pub 915 SE ...
Read more

Payments Views - Payments News Archive

Payments Views - Payments News ... shock” effect before ever taking time to look under the hood. ... were protected under the directive." New Blockchain Alliance ...
Read more

Android - Payments News Archive

Android - Payments News ... Enhancing Android Pay APIs - Android Developers ... PayPal is focused on offering a more extensible framework under the hood that will ...
Read more

Fintech Events | – FintechNewsSG

Understand the basics of blockchain technology; If you’re a developer, ... 6th & 7th, 2016. ... level of understanding Bitcoin and how it works under the hood.
Read more

Event list - azine.me

... Asynchronous I/O December 8, 2016 19:00 - 21:00, ETH ... We are happy to announce our 7th SDN workshop, on 8th of Dec 2016. The aim of this workshop is to ...
Read more