Informações no Blockchainda rede Bitcoin
Edilson Osorio Junior - Fev/2016
Mensagem do Minerador (Coinbase)https://blockchain.info/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73
Usar http://www.rapidtables.com/convert/number/hex-to-ascii.htm para converter o hexadecimal
"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
Mensagem do Minerador (Coinbase)
Utilizando campos OP_scripts como carteira multi-assinada
Bitcoin Paper
https://blockchain.info/tx/54e48e5f5c656b26c3bca14a8c95aa583d07ebe84dde3b7dd4a78f4e4186e713
Códigos hexadecimais encadeados, enviados para carteiras fictícias através do campo utilizado para carteiras multi-assinadas OP_1 (max 520 bytes, porém 517 bytes utilizáveis)
Utilizando endereço de wallet para mensagemEndereço bitcoin possui até 34 caracteres
https://en.bitcoin.it/wiki/Vanitygen
http://bitcoinvanitygen.com/index.php (risco de roubo = não confiável)
Exemplo:
● 1CounterpartyXXXXXXXXXXXXXXXUWLpVr● 1oriGMy27TK1YyrJuYxPvRparcf5HKuxs
Nelson Mandela (1918-2013)
"I am fundamentally an optimist. Whether that comes from nature or nurture, I cannot say. Part of being optimistic is keeping one’s head pointed toward the sun, one’s feet moving forward. There were many dark moments when my faith in humanity was sorely tested, but I would not and could not give myself up to despair. That way lays defeat and death."
"I learned that courage was not the absence of fear, but the triumph over it. The brave man is not he who does not feel afraid, but he who conquers that fear."
"Difficulties break some men but make others. No axe is sharp enough to cut the soul of a sinner who keeps on trying, one armed with the hope that he will rise even in the end."
Armazenamento no endereço público
Armazenamento no endereço públicoTransação:
https://blockchain.info/tx/8881a937a437ff6ce83be3a89d77ea88ee12315f37f7ef0dd3742c30eef92dba
Hex 334E656C736F6E2D4D616E64656C612E6A70673F = [nome do arquivo]
Armazenamento no endereço públicoHASH160 (160 bits = 20 bytes * 8)
Logo bitcoin
https://blockexplorer.com/tx/ceb1a7fb57ef8b75ac59b56dd859d5cb3ab5c31168aa55eb3819cd5ddbd3d806
https://blockexplorer.com/tx/9173744691ac25f3cd94f35d4fc0e0a2b9d1ab17b4fe562acc07660552f95518
HASH160 3d79626567696e206c696e653d3132382073697a
"ybegin line=128 siz"
Armazenamento no endereço público
● Endereço: 1749vn7Y5mhjZEYzHPCme3zFZ5mFkD2Z7p
● Mensagem armazenada no HASH160
● Verificar decodificando o hex
Armazenando no endereço públicoMensagem de 20 caracteres
Ex. "Bitcoin na FGV " (+ 6 espaços ao final) = 426974636f696e206e6120464756202020202020
Para converter: http://www.rapidtables.com/convert/number/ascii-to-hex.htm
https://blockchain.info/q/hashtoaddress/426974636f696e206e6120464756202020202020
https://blockchain.info/address/1749vn7Y5mhjZEYzHPCme3zFZ5mFkD2Z7p
Campo OP_RETURN● Baixou de 80 bytes para 40 bytes por motivo de spam (e tamanho de
bloco, etc.), mas voltou recentemente para 80 bytes● Utilizado para armazenar informação em hexadecimal
As informações registradas no OP_RETURN podem representar:
● Trading● Votação● Smart property● Smart contracts● Programa de milhagem● Controle de acesso● Uma moeda própria
"A transfer of trust in a trustless
world." - anônimo
Aula: Informações no Blockchain da Rede Bitcoin
Edilson Osório Junior
osoriojr at originalmy dot com
@eddieoz
OriginalMy.com | CEO
Fev/2016