Pro Yearly is on sale from $80 to $50! »

Writing Blockchain Clients in Swift

Writing Blockchain Clients in Swift

Try Swift Tokyo 2018

23ea026cddde64c9dd5b4c29be0495f4?s=128

Tamar Nachmany

March 01, 2018
Tweet

Transcript

  1. Writing Blockchain Clients in Swift Tamar Nachmany

  2. "ܪ"

  3. immutable decentralized database

  4. None
  5. Ethereum

  6. What is Ethereum? iOS App Store Facebook Messenger Alexa Ethereum

  7. None
  8. Alamofire of iOS Ethereum Development

  9. Cocoapods of iOS Ethereum Development

  10. How does an iOS app built on top of the

    Ethereum blockchain work?
  11. iOS Client —Requests data —Requests new transactions —Interprets responses in

    UI Ethereum Client —Issues RPC to node & interprets responses Ethereum Node —Node containing blockchain
  12. None
  13. None
  14. Thanks to Merkle trees, it is possible to build Ethereum

    nodes that run on all computers and laptops large and small, smart phones, and even internet of things devices - Vitalik Buterin
  15. None
  16. None
  17. Swift on the Blockchain

  18. Swift on the Blockchain —Geth —Go with Objective-C runtime bindings

    —Parity —Rust with Objective-C runtime bindings —Web3j —Java with Java to Objective-C Translator
  19. @interface GethEthereumClient - (GethBigInt*)getBalanceAt:(GethContext*)ctx account:(GethAddress*)account number:(int64_t)number error:(NSError**)error;

  20. Swift on the Blockchain —Web3.js

  21. Web3.js Frameworks web3 web3-utils web3-eth web3-eth-accounts web3-eth-contract web3-eth-abi web3-eth-iban web3-bzz

    web3-shh
  22. Swift on the Blockchain —Web3.js —React Native —Run on JavaScript

    runtime
  23. Swift on the Blockchain —Web3.js —WebKit

  24. Challenges —Language —Go, Rust, JavaScript, Java —Peformance —JavaScript in WebKit

    —Architecture —JavaScript in React Native
  25. Web3.swift

  26. Web3.swift web3 web3-utils web3-eth web3-eth-accounts web3-eth-contract web3-eth-abi web3-eth-iban web3-bzz web3-shh

  27. Web3.swift web3-uikit web3-universal-login

  28. None
  29. None
  30. ͘Π͢;͜ Tamar Nachmany @tamarshmallows

  31. Watch this first Web3.js 1.0 Fabian Vogelsteller Ethereum Foundation Developers

    Conference http://bit.ly/2HU6sDN
  32. Image Credits Slides 1, 14, 16: Mamie Rheingold