$30 off During Our Annual Pro Sale. View Details »
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
180
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
510
Rompiendo Paradigmas Otra Vuez! 🔨📜3️⃣
ianaya89
0
150
Security is not a feature!
ianaya89
1
370
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
140
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
290
Vue.js, PWA & The Subway Dilemma
ianaya89
0
210
PWA with PWF
ianaya89
0
69
Decentralizing the Web with JavaScript
ianaya89
0
150
hey-devs-time-to-care-about-web-apps-security.pdf
ianaya89
0
120
Other Decks in Programming
See All in Programming
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
310
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
6
2.1k
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
11
11k
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
5
1.9k
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
2.1k
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
790
俺流レスポンシブコーディング 2025
tak_dcxi
14
8.4k
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
420
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
6
1.2k
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.2k
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
260
認証・認可の基本を学ぼう前編
kouyuume
0
190
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Into the Great Unknown - MozCon
thekraken
40
2.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Balancing Empowerment & Direction
lara
5
790
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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