Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Blockchain e nosso dia-a-dia
Qual o impacto dessa tecnologia em nossas vidas?
Fernando Galdino
Arquiteto de Soluções
Setembro de 2017
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
FERNANDO
GALDINO
/in/maxgaldinus
@fernando.galdino
• Arquiteto de Soluções para o Setor Público na Oracle;
• Um dos líderes da comunidade Internet of Everything;
• Formado em Ciência da Computação (Unicamp),
Especialização em Administração de Empresas (FGV) e
Mestrado em Gestão de Projetos (Uninove).
• Blockchain
• Criptomoedas
• Internet das Coisas
• Cidades Inteligentes
• Indústria 4.0
fernando.galdino@oracle.com
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 4
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 5
http://www.europarl.europa.eu/RegData/etudes/IDAN/2017/581948/EPRS_IDA(2017)581948_EN.pdf
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 6
Sobre o que iremos falar
• DAO: organizações autônomas
descentralizadas
• ICO – Initial Coin Offering
• Hash Power
• Tokens digitais
• Mineração de Criptomoedas
• Contratos inteligentes
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 7
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 8
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 9
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Blockchains podem gerenciar ativos
17
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Características da tecnologia
Encriptado
Inclusivo
Seguro
Auditável
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
O processo de formação dos blocos
Tx 1
Tx 2
Tx 3
Tx n
Bloco
2017-09-23 14:00:00
....
Tx 2
Tx 3
Bloco
2017-09-23 13:50:00
Bloco
2017-09-23 13:40:00
Requisições são organizadas em
transações
Transações são organizadas em
blocos
Blocos são organizados
em cadeias
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
431 transações
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 21
Mineração de moedas virtuais
21
• Criação de novas moedas virtuais
• Validação da cadeia de blocos
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
• Um problema difícil se ser resolvido.
• Um problema MUITO difícil se ser resolvido.
• Um problema MUITO, MAS MUITO DIFÍCIL se ser resolvido.
e muito FÁCIL e RÁPIDO de ser verificado!
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 23
O que é uma mineradora?
Dinâmica do processo de mineração
Nonce=0
Nonce=1
Nonce=2
Nonce=3
Nonce=56663
Bloco #1
Nonce ?
Data Curso de Blockchain na Oracle
Hash ?
Bloco #1
Nonce 56663
Data Curso de Blockchain na Oracle
Hash ...
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
431 transações
Block Hash
000000000000000000f315308844d29fa7f69bf88e9b7a25253be1504a585bfa
Nonce
2889337396
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 26
Comparando dois métodos populares
de mineração
Proof-of-Work
• A probabilidade de minerar um bloco é
dependente de quanto trabalho é feito
pelo minerador
• Pagamentos se tornam menores ao longo
do tempo, menos incentivo para evitar um
ataque 51%
• Comunidades de mineração poderosas,
com possibilidade de centralização
Proof-of-Stake
• Minerador pode minerar dependendo de
quantas moedas ele mantenha
• O sistema torna qualquer ataque 51%
muito caro
• Tendem a uma maior descentralização mas
também requer comunidades ao redor das
moedas.
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
As cadeias são copiadas para todos os servidores da rede
27
Bloco
2017-09-23 14:00:00
....
Tx 2
Tx 3
Bloco
2017-09-23 13:50:00
Bloco
2017-09-23 13:40:00
Bloco
2017-09-23 13:30:00
Bloco
2017-09-23 14:00:00
....
Tx 2
Tx 3
Bloco
2017-09-23 13:50:00
Bloco
2017-09-23 13:40:00
Bloco
2017-09-23 13:30:00
Bloco
2017-09-23 14:00:00
....
Tx 2
Tx 3
Bloco
2017-09-23 13:50:00
Bloco
2017-09-23 13:40:00
Bloco
2017-09-23 13:30:00
Bloco
2017-09-23 14:00:00
....
Tx 2
Tx 3
Bloco
2017-09-23 13:50:00
Bloco
2017-09-23 13:40:00
Bloco
2017-09-23 13:30:00
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
9500 nós de mineração para Bitcoin
mais de 22.000 nós de mineração para
Ethereum
Dados de 28/09/2017
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Quais as principais plataformas de Blockchain atualmente?
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 30
Ethereum
• Criado por Vitalik Buterin.
• Plataforma de programação descentralizada
• Criptomoeda: Ether
• Forks: Ethereum e Ethereum Classic
• Em processo de mudança para
Proof-Of-Stake
• Grandes empresas usam Ethereum via
Ethereum Enterprise Alliance.
Contratos inteligentes:
hoje ainda é assim...
Principais linguagens:
• Solidity
• Serpent
• LLL
• e Java
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Exemplos de uso prático de contratos inteligentes
32
Pagamentos automáticos
Apostas online
Trading de criptomoedas
Crowdfunding
Votações
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Ethereum é a principal plataforma para ICOs
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 34
Ripple
• Planos de criar XRP 100 bilhões
• Cerca de 2/3 das criptomoedas
está com a Ripple
• Todas as criptomoedas foram pré-
mineradas
• Permite troca de pagamentos entre
países de forma rápida, barata e
confiável
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 35
Hyperledger
• Projeto open-source e
colaborativo
• Parte da The Linux Foundation
• Sem a necessidade de uma
criptomoeda
• Transações confidenciais entre
as partes
• Protocolo de consenso
privado
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Comparação entre plataformas
Hyperledger Ethereum Ripple Bitcoin
Descrição Propósito geral Propósito geral Pagamentos Pagamentos
Governança Linux Foundation Ethereum developers Ripple Bitcoin developers
Moeda Não ETH XRP BTC
Prêmio da mineração Não Sim Não Sim
Estado Chave-valor Dados das contas Não Transação
Consenso Pluggable Mineração Ripple protocol Mineração
Rede Private or Public Private or Public Public Public
Privacidade Open to private Open Open Open
Contratos inteligentes Múltiplas
linguagens de
programação
Múltiplas linguagens
de programação
Não Roadmap
36
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 38
Casos de uso
• Em várias áreas existem
projetos envolvendo
Blockchain
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
DICAS QUE GOSTARIA
DE DEIXAR
No Brasil já existem projetos explorando Blockchain
Se tiverem dicas ou novas soluções,
COMPARTILHEM!
O Brasil contempla menos
de 1% das startups ligadas a
Blockchain
Vejam projetos que
estão acontecendo
em outros paises
Se envolva com as
tecnologias da 4ª
Revolução Industrial
Aprenda sobre
Bitcoin
Aprenda sobre
Ethereum
Blockchain é sobre
CONFIANÇA
Existem muitas áreas que podem ser
aprimoradas com Blockchain
As criptomoedas ainda
oscilam bastante mas são
ótimas oportunidades de
investimento
Conheçam e estudem as
novas tecnologias
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Referências adicionais
• Realizing the Potential of Blockchain:
A Multistakeholder Approach to the Stewardship of Blockchain and Cryptocurrencies
http://www3.weforum.org/docs/WEF_Realizing_Potential_Blockchain.pdf
• Blockchain Revolution
https://www.amazon.com/Blockchain-Revolution-Technology-Changing-Business/dp/1101980133
/in/maxgaldinus
@fernando.galdino
fernando.galdino@oracle.com
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 41
Safe Harbor Statement
The preceding is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 41
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 42Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 42
Como Blockchain está mudando nossas vidas?

Como Blockchain está mudando nossas vidas?

  • 2.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | Blockchain e nosso dia-a-dia Qual o impacto dessa tecnologia em nossas vidas? Fernando Galdino Arquiteto de Soluções Setembro de 2017
  • 3.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | FERNANDO GALDINO /in/maxgaldinus @fernando.galdino • Arquiteto de Soluções para o Setor Público na Oracle; • Um dos líderes da comunidade Internet of Everything; • Formado em Ciência da Computação (Unicamp), Especialização em Administração de Empresas (FGV) e Mestrado em Gestão de Projetos (Uninove). • Blockchain • Criptomoedas • Internet das Coisas • Cidades Inteligentes • Indústria 4.0 fernando.galdino@oracle.com
  • 4.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 4
  • 5.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 5 http://www.europarl.europa.eu/RegData/etudes/IDAN/2017/581948/EPRS_IDA(2017)581948_EN.pdf
  • 6.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 6 Sobre o que iremos falar • DAO: organizações autônomas descentralizadas • ICO – Initial Coin Offering • Hash Power • Tokens digitais • Mineração de Criptomoedas • Contratos inteligentes
  • 7.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 7
  • 8.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 8
  • 9.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 9
  • 10.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. |
  • 11.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. |
  • 12.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. |
  • 13.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. |
  • 14.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. |
  • 15.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. |
  • 16.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. |
  • 17.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | Blockchains podem gerenciar ativos 17
  • 18.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | Características da tecnologia Encriptado Inclusivo Seguro Auditável
  • 19.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | O processo de formação dos blocos Tx 1 Tx 2 Tx 3 Tx n Bloco 2017-09-23 14:00:00 .... Tx 2 Tx 3 Bloco 2017-09-23 13:50:00 Bloco 2017-09-23 13:40:00 Requisições são organizadas em transações Transações são organizadas em blocos Blocos são organizados em cadeias
  • 20.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | 431 transações
  • 21.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 21 Mineração de moedas virtuais 21 • Criação de novas moedas virtuais • Validação da cadeia de blocos
  • 22.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | • Um problema difícil se ser resolvido. • Um problema MUITO difícil se ser resolvido. • Um problema MUITO, MAS MUITO DIFÍCIL se ser resolvido. e muito FÁCIL e RÁPIDO de ser verificado!
  • 23.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 23 O que é uma mineradora?
  • 24.
    Dinâmica do processode mineração Nonce=0 Nonce=1 Nonce=2 Nonce=3 Nonce=56663 Bloco #1 Nonce ? Data Curso de Blockchain na Oracle Hash ? Bloco #1 Nonce 56663 Data Curso de Blockchain na Oracle Hash ...
  • 25.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | 431 transações Block Hash 000000000000000000f315308844d29fa7f69bf88e9b7a25253be1504a585bfa Nonce 2889337396
  • 26.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 26 Comparando dois métodos populares de mineração Proof-of-Work • A probabilidade de minerar um bloco é dependente de quanto trabalho é feito pelo minerador • Pagamentos se tornam menores ao longo do tempo, menos incentivo para evitar um ataque 51% • Comunidades de mineração poderosas, com possibilidade de centralização Proof-of-Stake • Minerador pode minerar dependendo de quantas moedas ele mantenha • O sistema torna qualquer ataque 51% muito caro • Tendem a uma maior descentralização mas também requer comunidades ao redor das moedas.
  • 27.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | As cadeias são copiadas para todos os servidores da rede 27 Bloco 2017-09-23 14:00:00 .... Tx 2 Tx 3 Bloco 2017-09-23 13:50:00 Bloco 2017-09-23 13:40:00 Bloco 2017-09-23 13:30:00 Bloco 2017-09-23 14:00:00 .... Tx 2 Tx 3 Bloco 2017-09-23 13:50:00 Bloco 2017-09-23 13:40:00 Bloco 2017-09-23 13:30:00 Bloco 2017-09-23 14:00:00 .... Tx 2 Tx 3 Bloco 2017-09-23 13:50:00 Bloco 2017-09-23 13:40:00 Bloco 2017-09-23 13:30:00 Bloco 2017-09-23 14:00:00 .... Tx 2 Tx 3 Bloco 2017-09-23 13:50:00 Bloco 2017-09-23 13:40:00 Bloco 2017-09-23 13:30:00
  • 28.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | 9500 nós de mineração para Bitcoin mais de 22.000 nós de mineração para Ethereum Dados de 28/09/2017
  • 29.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | Quais as principais plataformas de Blockchain atualmente?
  • 30.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 30 Ethereum • Criado por Vitalik Buterin. • Plataforma de programação descentralizada • Criptomoeda: Ether • Forks: Ethereum e Ethereum Classic • Em processo de mudança para Proof-Of-Stake • Grandes empresas usam Ethereum via Ethereum Enterprise Alliance.
  • 31.
    Contratos inteligentes: hoje aindaé assim... Principais linguagens: • Solidity • Serpent • LLL • e Java
  • 32.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | Exemplos de uso prático de contratos inteligentes 32 Pagamentos automáticos Apostas online Trading de criptomoedas Crowdfunding Votações
  • 33.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | Ethereum é a principal plataforma para ICOs
  • 34.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 34 Ripple • Planos de criar XRP 100 bilhões • Cerca de 2/3 das criptomoedas está com a Ripple • Todas as criptomoedas foram pré- mineradas • Permite troca de pagamentos entre países de forma rápida, barata e confiável
  • 35.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 35 Hyperledger • Projeto open-source e colaborativo • Parte da The Linux Foundation • Sem a necessidade de uma criptomoeda • Transações confidenciais entre as partes • Protocolo de consenso privado
  • 36.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | Comparação entre plataformas Hyperledger Ethereum Ripple Bitcoin Descrição Propósito geral Propósito geral Pagamentos Pagamentos Governança Linux Foundation Ethereum developers Ripple Bitcoin developers Moeda Não ETH XRP BTC Prêmio da mineração Não Sim Não Sim Estado Chave-valor Dados das contas Não Transação Consenso Pluggable Mineração Ripple protocol Mineração Rede Private or Public Private or Public Public Public Privacidade Open to private Open Open Open Contratos inteligentes Múltiplas linguagens de programação Múltiplas linguagens de programação Não Roadmap 36
  • 37.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. |
  • 38.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 38 Casos de uso • Em várias áreas existem projetos envolvendo Blockchain
  • 39.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | DICAS QUE GOSTARIA DE DEIXAR No Brasil já existem projetos explorando Blockchain Se tiverem dicas ou novas soluções, COMPARTILHEM! O Brasil contempla menos de 1% das startups ligadas a Blockchain Vejam projetos que estão acontecendo em outros paises Se envolva com as tecnologias da 4ª Revolução Industrial Aprenda sobre Bitcoin Aprenda sobre Ethereum Blockchain é sobre CONFIANÇA Existem muitas áreas que podem ser aprimoradas com Blockchain As criptomoedas ainda oscilam bastante mas são ótimas oportunidades de investimento Conheçam e estudem as novas tecnologias
  • 40.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. | Referências adicionais • Realizing the Potential of Blockchain: A Multistakeholder Approach to the Stewardship of Blockchain and Cryptocurrencies http://www3.weforum.org/docs/WEF_Realizing_Potential_Blockchain.pdf • Blockchain Revolution https://www.amazon.com/Blockchain-Revolution-Technology-Changing-Business/dp/1101980133 /in/maxgaldinus @fernando.galdino fernando.galdino@oracle.com
  • 41.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 41 Safe Harbor Statement The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 41
  • 42.
    Copyright © 2017,Oracle and/or its affiliates. All rights reserved. 42Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 42