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
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
18
8.2k
Devoxx BE - Local Development in the AI Era
kdubois
0
140
One Enishi After Another
snoozer05
PRO
0
150
Webサーバーサイド言語としてのRustについて
kouyuume
1
4.5k
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
5
210
Go言語はstack overflowの夢を見るか?
logica0419
0
520
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
3
6.2k
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
950
CSC305 Lecture 09
javiergs
PRO
0
310
EMこそClaude Codeでコード調査しよう
shibayu36
0
360
Leading Effective Engineering Teams in the AI Era
addyosmani
7
580
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
34k
Featured
See All Featured
The Language of Interfaces
destraynor
162
25k
Automating Front-end Workflow
addyosmani
1371
200k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
What's in a price? How to price your products and services
michaelherold
246
12k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
580
Producing Creativity
orderedlist
PRO
347
40k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
BBQ
matthewcrist
89
9.8k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Faster Mobile Websites
deanohume
310
31k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
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