Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScript Meets The Blockchain
Search
Ignacio Anaya
April 19, 2018
Programming
0
160
JavaScript Meets The Blockchain
Introduction to Ethereum, Smart Contracts and JavaScript
Ignacio Anaya
April 19, 2018
Tweet
Share
More Decks by Ignacio Anaya
See All by Ignacio Anaya
Security is not a feature‼️
ianaya89
2
410
Rompiendo Paradigmas Otra Vuez! 🔨📜3️⃣
ianaya89
0
110
Security is not a feature!
ianaya89
1
310
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
85
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
230
Vue.js, PWA & The Subway Dilemma
ianaya89
0
140
PWA with PWF
ianaya89
0
69
Decentralizing the Web with JavaScript
ianaya89
0
95
hey-devs-time-to-care-about-web-apps-security.pdf
ianaya89
0
70
Other Decks in Programming
See All in Programming
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
39
18k
try! Swift Tokyo 初参加報告LT
hinakko2
0
190
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
22
15k
PostmanでAPIの動作確認が楽になった話
h455h1
0
120
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
110
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
320
Folding Cheat Sheet #3
philipschwarz
PRO
0
110
Ruby Pattern Matching
bkuhlmann
0
920
Java 22 Overview
kishida
1
170
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
Folding Cheat Sheet #2
philipschwarz
PRO
0
110
Hanami and htmx
bkuhlmann
0
190
Featured
See All Featured
Ruby is Unlike a Banana
tanoku
96
10k
10 Git Anti Patterns You Should be Aware of
lemiorhan
646
57k
A designer walks into a library…
pauljervisheath
199
23k
What’s in a name? Adding method to the madness
productmarketing
PRO
15
2.6k
Building Flexible Design Systems
yeseniaperezcruz
318
37k
Raft: Consensus for Rubyists
vanstee
132
6.2k
Become a Pro
speakerdeck
PRO
10
4.5k
Art, The Web, and Tiny UX
lynnandtonic
288
19k
What's new in Ruby 2.0
geeforr
337
31k
A Modern Web Designer's Workflow
chriscoyier
689
190k
KATA
mclloyd
14
12k
The Power of CSS Pseudo Elements
geoffreycrofte
59
5k
Transcript
JavaScript ! The Blockchain JS ! The Blockchain - @ianaya89
1
Nacho Anaya @ianaya89 • Full Stack Developer @BloqInc • Speaker
• Embajador @Auth0 • Organizador @Vuenos_Aires JS ! The Blockchain - @ianaya89 2
❌ NO! • Experto Blockchain • Experto en Criptografia •
Cryptocurrencies & ICO's JS ! The Blockchain - @ianaya89 3
!" JS ! The Blockchain - @ianaya89 4
JS ! The Blockchain - @ianaya89 5
JS ! The Blockchain - @ianaya89 6
! Teoría JS ! The Blockchain - @ianaya89 7
Blockchain != Cryptocurrency JS ! The Blockchain - @ianaya89 8
!⛓ Blockchain => Base de Datos Distribuida JS ! The
Blockchain - @ianaya89 9
! Hash => Función Criptográfica Irreversible hash(' ! ') //
d2d4e9ddd66e9ce4ee288aea24a345de hash(' " ') // 23622db6154ea91d793647c9bd990824 JS ! The Blockchain - @ianaya89 10
JS ! The Blockchain - @ianaya89 11
! Ventajas • 100% confiable • Publica, accesible y trackeable
• Inmutable JS ! The Blockchain - @ianaya89 12
! Desventajas • Can%dad Recursos • !Ecofriendly JS ! The
Blockchain - @ianaya89 13
Ethereum => Descentralizacion de Internet JS ! The Blockchain -
@ianaya89 14
Ethereum != Ether JS ! The Blockchain - @ianaya89 15
! ↔ # ↔ P2P => Red de Pares JS
! The Blockchain - @ianaya89 16
! Nodos => Par de la red JS ! The
Blockchain - @ianaya89 17
! Keys => Privada, Pública, Direcciones JS ! The Blockchain
- @ianaya89 18
! Wallet => Almacén de Claves JS ! The Blockchain
- @ianaya89 19
! EVM => Motor de Ethereum JS ! The Blockchain
- @ianaya89 20
! PoW => Algoritmo de Consenso JS ! The Blockchain
- @ianaya89 21
⛏ Mineros => Nodos Procesando Bloques JS ! The Blockchain
- @ianaya89 22
! Ether => Crypto Moneda (ETH) JS ! The Blockchain
- @ianaya89 23
! Gas => Costo de Procesamiento JS ! The Blockchain
- @ianaya89 24
! Smart Contracts => So&ware / Aplicaciones pragma solidity ^0.4.21;
contract HelloCoin { mapping (address => uint) public balance; function mint (address receiver, uint amount) public returns(uint) { balance[receiver] += amount; return balance[receiver]; } } JS ! The Blockchain - @ianaya89 25
! DApp => UI sobre Smart Contracts JS ! The
Blockchain - @ianaya89 26
! Prác&ca JS ! The Blockchain - @ianaya89 27
! Cliente • geth • parity • ganache-cli JS !
The Blockchain - @ianaya89 28
! Network • Main • Test (Ropsten, Kovan, Rinkeby) •
Privadas • Local JS ! The Blockchain - @ianaya89 29
! ganache-cli $ npm i -g ganache-cli $ ganache-cli github.com/trufflesuite/ganache-cli
JS ! The Blockchain - @ianaya89 30
! Solidity => Lenguaje Smart Contracts remix.ethereum.org JS ! The
Blockchain - @ianaya89 31
! Truffle => Development Framework $ npm i -g truffle
$ truffle init $ truffle compile $ truffle migrate JS ! The Blockchain - @ianaya89 32
! Web3 => Libreria JS para Ethereum const Web3 =
require('web3') const web3 = new Web3('http://localhost:8545') JS ! The Blockchain - @ianaya89 33
! Demo JS ! The Blockchain - @ianaya89 34
! Más! JS ! The Blockchain - @ianaya89 35
! MetaMask => Chrome App metamask.io JS ! The Blockchain
- @ianaya89 36
! EthereumJS => Herramientas JS para Ethereum ethereumjs.github.io JS !
The Blockchain - @ianaya89 37
! Proyectos • cryptoKi*es.io • fishbank.io • ponzicoin.co • metronome.io
• decentraland.org JS ! The Blockchain - @ianaya89 38
! Gracias! @ianaya89 bit.ly/js-meets-blockchain bit.ly/js-meets-blockchain-demo JS ! The Blockchain -
@ianaya89 39