Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Writing Blockchain Clients in Swift
Tamar Nachmany
March 01, 2018
Technology
4
2k
Writing Blockchain Clients in Swift
Try Swift Tokyo 2018
Tamar Nachmany
March 01, 2018
Tweet
Share
More Decks by Tamar Nachmany
See All by Tamar Nachmany
Community Engineering
tamarnachmany
0
200
5 Minute Talk on Organizing People
tamarnachmany
0
79
Unit Testing for Designers
tamarnachmany
0
370
Getting Your First iOS Job
tamarnachmany
0
140
Linting in Swift
tamarnachmany
0
74
Other Decks in Technology
See All in Technology
LINEのData Platform室が実践する大規模分散環境のCapacity Planning
line_developers
PRO
0
830
CTOのためのQAのつくりかた #scrumniigata / SigSQA How to create QA for CTOs and VPoEs
caori_t
0
360
testing journey / テストが嫌いでIT業界を離れるはずだったのに〜テスト嫌いが現場で品質改善を実施するまでの物語〜
aki_moon
1
440
Unity Package Managerで自作パッケージを配布する方法
yunoda
0
260
LINEポイントクラブにおける PerlからKotlinへの移行を振り返る / The migration from Perl to Kotlin at LINE Point Club
line_developers
PRO
0
180
2022年最新版 GatsbyJS + TypeScript + microCMS でブログを作る。
hanetsuki
1
650
プルリク作ったらデプロイされる仕組み on ECS / SRE NEXT 2022
carta_engineering
1
610
Agile and Requirement : アジャイルな要件定義について考える
kawaguti
PRO
10
3.6k
Remixの凄みを紹介したい
aiji42
4
3.1k
動的ルーティング・ゲートウェイ (DRG) 概要
ocise
0
120
⚡Lightdashを試してみた
k_data_analyst
0
220
YAMLを書くだけで構築できる分散ストレージ
sat
PRO
0
230
Featured
See All Featured
Streamline your AJAX requests with AmplifyJS and jQuery
dougneiner
125
8.5k
Principles of Awesome APIs and How to Build Them.
keavy
113
15k
4 Signs Your Business is Dying
shpigford
169
20k
Product Roadmaps are Hard
iamctodd
34
6.1k
BBQ
matthewcrist
74
7.9k
Raft: Consensus for Rubyists
vanstee
126
5.4k
Gamification - CAS2011
davidbonilla
75
3.9k
Six Lessons from altMBA
skipperchong
14
1.3k
Faster Mobile Websites
deanohume
294
28k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
11
4.6k
GraphQLとの向き合い方2022年版
quramy
16
8.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
181
15k
Transcript
Writing Blockchain Clients in Swift Tamar Nachmany
"ܪ"
immutable decentralized database
None
Ethereum
What is Ethereum? iOS App Store Facebook Messenger Alexa Ethereum
None
Alamofire of iOS Ethereum Development
Cocoapods of iOS Ethereum Development
How does an iOS app built on top of the
Ethereum blockchain work?
iOS Client —Requests data —Requests new transactions —Interprets responses in
UI Ethereum Client —Issues RPC to node & interprets responses Ethereum Node —Node containing blockchain
None
None
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
None
None
Swift on the Blockchain
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
@interface GethEthereumClient - (GethBigInt*)getBalanceAt:(GethContext*)ctx account:(GethAddress*)account number:(int64_t)number error:(NSError**)error;
Swift on the Blockchain —Web3.js
Web3.js Frameworks web3 web3-utils web3-eth web3-eth-accounts web3-eth-contract web3-eth-abi web3-eth-iban web3-bzz
web3-shh
Swift on the Blockchain —Web3.js —React Native —Run on JavaScript
runtime
Swift on the Blockchain —Web3.js —WebKit
Challenges —Language —Go, Rust, JavaScript, Java —Peformance —JavaScript in WebKit
—Architecture —JavaScript in React Native
Web3.swift
Web3.swift web3 web3-utils web3-eth web3-eth-accounts web3-eth-contract web3-eth-abi web3-eth-iban web3-bzz web3-shh
Web3.swift web3-uikit web3-universal-login
None
None
͘Π͢;͜ Tamar Nachmany @tamarshmallows
Watch this first Web3.js 1.0 Fabian Vogelsteller Ethereum Foundation Developers
Conference http://bit.ly/2HU6sDN
Image Credits Slides 1, 14, 16: Mamie Rheingold