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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ignacio Anaya
April 19, 2018
Programming
180
0
Share
JavaScript Meets The Blockchain
Introduction to Ethereum, Smart Contracts and JavaScript
Ignacio Anaya
April 19, 2018
More Decks by Ignacio Anaya
See All by Ignacio Anaya
Security is not a feature‼️
ianaya89
2
540
Rompiendo Paradigmas Otra Vuez! 🔨📜3️⃣
ianaya89
0
160
Security is not a feature!
ianaya89
1
400
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
150
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
310
Vue.js, PWA & The Subway Dilemma
ianaya89
0
230
PWA with PWF
ianaya89
0
69
Decentralizing the Web with JavaScript
ianaya89
0
170
hey-devs-time-to-care-about-web-apps-security.pdf
ianaya89
0
140
Other Decks in Programming
See All in Programming
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
460
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
270
CSC307 Lecture 17
javiergs
PRO
0
310
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
440
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
430
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
480
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
240
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5.2k
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
2k
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.5k
3Dシーンの圧縮
fadis
1
590
Featured
See All Featured
The agentic SEO stack - context over prompts
schlessera
0
790
For a Future-Friendly Web
brad_frost
183
10k
Six Lessons from altMBA
skipperchong
29
4.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Abbi's Birthday
coloredviolet
2
7.9k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
460
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
Designing for humans not robots
tammielis
254
26k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
150
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
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