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
170
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
500
Rompiendo Paradigmas Otra Vuez! 🔨📜3️⃣
ianaya89
0
140
Security is not a feature!
ianaya89
1
360
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
130
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
290
Vue.js, PWA & The Subway Dilemma
ianaya89
0
200
PWA with PWF
ianaya89
0
69
Decentralizing the Web with JavaScript
ianaya89
0
140
hey-devs-time-to-care-about-web-apps-security.pdf
ianaya89
0
120
Other Decks in Programming
See All in Programming
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
110
Developer Joy - The New Paradigm
hollycummins
1
360
Google Opalで使える37のライブラリ
mickey_kubo
3
140
CSC305 Lecture 09
javiergs
PRO
0
310
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
3
6.3k
チームの境界をブチ抜いていけ
tokai235
0
210
Software Architecture
hschwentner
6
2.3k
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
420
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
440
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
4
13k
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
pnpm に provenance のダウングレード を検出する PR を出してみた
ryo_manba
1
150
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Writing Fast Ruby
sferik
630
62k
Building Applications with DynamoDB
mza
96
6.7k
Thoughts on Productivity
jonyablonski
70
4.9k
For a Future-Friendly Web
brad_frost
180
10k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
KATA
mclloyd
PRO
32
15k
Code Reviewing Like a Champion
maltzj
526
40k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
116
20k
How to Think Like a Performance Engineer
csswizardry
27
2.1k
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