SlideShare a Scribd company logo
1 of 62
Download to read offline
Metadata in the Blockchain:
The OP_RETURN Explosion
Coin Sciences Ltd
http://coinspark.org/
If Bitcoin = Gold 2.0 then …
What is the intrinsic
value of a bitcoin?
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
What has gone wrong? (1)
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Early Internet growth
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
http://homes.cs.washington.edu/~lazowska/faculty.lecture/
innovation/hpcc/internet/hosts.html
What has gone wrong? (2)
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Gartner hype cycle
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
What has gone wrong? (3)
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
3% (PayPal)
What is bitcoin for?
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
A hypothesis…
Bitcoin as communication
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
What can we send?
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
An expensive way to encode information
Fake addresses
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Permanent burden on unspent output list
Multisig addresses (1 of …)
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Temporary burden on unspent output list
The OP_RETURN decision
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
https://bitcoinfoundation.org/2013/10/core-development-update-5/
OP_RETURNs
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Provably prunable, no unspent output
OP_RETURN size limit
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
OP_RETURNs vs TCP/IP
OP_RETURNs TCP/IP Ratio
Address space 2160 (collisions) 232 → 2128 1×
Latency 5 seconds 1 second 5×
Packet size 40 bytes 1.5 KB 36×
Bandwidth ~100 bytes/s
(50% of network!)
5 MB/s
(50% of 100 Mbps)
50,000×
Cost $850,000/GB
(at $315/BTC)
$0.10/GB 10,000,000×
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
So why use bitcoin?
Asynchronicity?
Bitcoin TCP/IP Email
Asynchronous Synchronous Asynchronous
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Notarization
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Bitcoin TCP/IP
Blockchain None
Message chaining
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Bitcoin TCP/IP
Directed acyclic
graph
Request-response
only
Privacy
Bitcoin TCP/IP
Addresses
Pseudonymous
but transaction
chain analysis
IP geolocation,
traceable to
individual via ISP
Payloads Naked in public
Private but seen
by ISPs, switches
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Payment model
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Bitcoin TCP/IP
Per message,
with message
Subscription or pay-
per-use, separate
So bitcoin is suitable for…
•  Tiny payload
•  High value
– Hashes in general
•  Public broadcast
•  Permanently recorded
•  Non-instant
•  Pay-as-you-go
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Financial transactions
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Document notarization
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Bitproof, BlockSign, La Preuve, ProveBit,
Proof of Existence, Stampd, Stampery
Historical records
•  Blog post about stuff in blockchain
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Lots more: http://www.righto.com/2014/02/
ascii-bernanke-wikileaks-photographs.html
Email with scarcity?
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Universal family tree?
•  Show a family tree (DAG)
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
http://recursivediscursion.blogspot.com/2011/04/gentle-introduction-to-graph-theory.html
0
5
10
15
20
25xxxx
26xxxx
27xxxx
28xxxx
29xxxx
30xxxx
31xxxx
32xxxx
33xxxx
34xxxx
35xxxx
36xxxx
37xxxx
Bitcoin block numbers (each column ~70 days)
OP_RETURNs per block
Bitcoin 0.9 released
19th March 2014
More at:
coinsecrets.org
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
OP_RETURNs to block 375000
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
27%
17%
9%
3%2%
2%
40%
Open%Assets%
Blockchain%ID%
CoinSpark%
Ascribe%
Proof%of%Existence%
Factom%
Other%
CoinSpark
CoinSpark
•  Rich OP_RETURN protocol
– Multiple metadata per OP_RETURN
•  Version 1.0 — September 2014
– Assets = lightweight scalable colored coins
– Payment references
•  Version 2.0 — February 2015
– Transaction attachments / messaging
•  Version 3.0: simpler addressing, …
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
CoinSpark assets
•  Assets via OP_RETURN metadata
– Not connected to bitcoin quantity
•  Genesis metadata:
– Quantity, issuer transaction fees
– Compressed web page URL
– Hash of contract and key params
•  Transfer metadata:
– Reference to genesis, quantity, outputs
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
CoinSpark assets for users
•  Lightweight wallet
•  Asset web page
– View in browser
– Hidden metadata
– Domain authenticates issuer
•  Asset contract
– Ready US + UK templates
– Customizable
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
SparkBit wallet
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Asset web page
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Asset contract
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Bitcoin transaction model
Signed by Alice
Alice 10.000
Bob 2.000
Alice 7.999
Miner 0.001
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
CoinSpark asset model
•  Multiple assets per output
– Low burden on network
– No accidental loss
•  Default: all assets to last output
•  Metadata sends to other outputs
– 40 bytes: up to 3 assets, unlimited outputs
•  Asset independence ⇒ scalability
– Issuer provides tracking server for SPV
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Example asset transaction
Signed by Alice
Alice 0.007
Bob 0.001
Alice 0.005
OP_RETURN
Miner 0.001
A
B
C
B
A
C
B
Output 1
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
150
60
60
90
CoinSpark messages
•  Attach text and/or files to a bitcoin or
CoinSpark asset transaction
•  Message discovery via OP_RETURN
– Compressed URL / IP of delivery server
– Outputs for which message intended
– Hash of message + salt
•  Open source delivery server
– Federated, non-centralized model
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
CoinSpark messages vs email
•  Hash proves message authenticity
•  Notarization of message on blockchain
– Contracts, invoices, digital delivery
•  Also: public messages
– Broadcast content + proof of existence
•  Future: message encryption
– Requires public key, not just bitcoin address
•  Challenge: identity (Openname?)
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
CoinSpark OP_RETURN format
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
53	
   50	
   4B	
   CoinSpark marker (“SPK”)
61	
   FF	
  — Last metadata opcode
···· Last metadata (until end of script)
01	
   60	
   Length of this metadata section—
61	
   FF	
  — Metadata opcode
···· Metadata (up to 95 bytes)
*
Metadata opcodes
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
61	
   7F	
  —
67	
  
72	
  
74	
  
80	
   EF	
  —
Reserved for CoinSpark
Asset genesis (“g”)
Payment reference (“r”)
Asset transfer (“t”)
Your application?
6D	
   Message pointer (“m”)
Every byte is sacred
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Every byte is sacred
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Only encode surprises
000 = omit fields. If this is the first color transfer, assume input and output indices of 0.
Otherwise take the indices from the previous color transfer.
001 = omit fields. If this is the first color transfer, assume input index 0 and output index
1. Otherwise take the indices from the previous color transfer and increment the output
index only.
010 = omit fields. If this is the first color transfer, assume input index 1 and output index
0. Otherwise take the indices from the previous color transfer and increment the input
index only.
011 = omit input index and use 1 byte for output index. If this is the first color transfer,
assume input index 0. Otherwise use the same input index as the previous color transfer.
100 = omit output index and use 1 byte for input index. If this is the first color transfer,
assume output index 0. Otherwise use the same output index as the previous color
transfer.
101 = use 1 byte for input index, 1 byte for output index.
110 = use 1 byte for input index, 2 bytes for output index.
111 = use 2 bytes for input index, 2 bytes for output index.
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Mantissa and exponent
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
625 trillion = 625×1012
??11001001110001	
  
Common domain strings
www.	
  
.at	
  
.au	
  
.be	
  
.biz	
  
.br	
  
.ca	
  
.ch	
  
.cn	
  
.co.jp	
  
.co.kr	
  
.co.uk	
  
.co.za	
  
.co	
  
.com.ar	
  
.com.au	
  
.com.br	
  
.com.cn	
  
.com.mx	
  
.com.tr	
  
.com.tw	
  
.com.ua	
  
.com	
  
.cz	
  
.de	
  
.dk	
  
.edu	
  
.es	
  
.eu	
  
.fr	
  
.gov	
  
.gr	
  
.hk	
  
.hu	
  
.il	
  
.in	
  
.info	
  
.ir	
  
.it	
  
.jp	
  
.kr	
  
.me	
  
.mx	
  
.net	
  
.nl	
  
.no	
  
.org	
  
.pl	
  
.ps	
  
.ro	
  
.ru	
  
.se	
  
.sg	
  
.tr	
  
.tv	
  
.tw	
  
.ua	
  
.uk	
  
.us	
  
.vn	
  
	
  
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
More domain name compression
•  38 valid characters
– 0 to 9, a to z, -­‐ .	
  
•  Two terminator characters ⇒ 40
– http:// vs https://	
  
•  403 = 64000 < 65536 = 216
– So 3 characters per byte pair
•  Special case: IPv4 address
– Obvious encoding in 4 bytes
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Variable hash length ≥ 96 bits
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
350,000,000 × 109 × 86400 × 365 × 7178 = 296
CoinSpark for Developers
•  Fully open source (MIT/AGPL)
•  Multilingual libraries
– C/C++, Go, Java, JS, PHP, Python, Ruby
•  Fully decentralized
– Server-side elements federated
• Let’s do for bitcoin what
the web did for TCP/IP
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Back to the start…
What is the intrinsic
value of a bitcoin?
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
0.0
0.2
0.4
0.6
0.8
1.0
1.2
2011 2012 2013 2014 2015 2016 2017 2018 2019
Average block size (MB)
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Current limit: 1 MB
Economic
prehistory
Economic
reality
What happens then?
•  Transactions compete for confirmation
– Bidding via miner fee, paid only in bitcoin
•  Real price discovery
– Econ 101: until supply = demand
•  If enough transactions (notarization?) are
worth $10 to sender, all will cost that
– No more cups of coffee!
•  Increasing block size limit just delays this
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
So: bitcoin = global
bidding power for
embedding data in
the blockchain.
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
More from Coin Sciences
MultiChain
•  Private blockchain platform
– Targeted at financial sector
– Drop-in replacement for Bitcoin Core
•  Easy and quick deployment
– Custom network parameters
•  Permission management
•  Native asset support
•  Stable alpha now available
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
Coin Secrets – coinsecrets.org
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
php|python-OP_RETURN
Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
•  Send OP_RETURN using Bitcoin Core
– Doing it yourself is hard work!
•  Store and retrieve any data in blockchain
– Uses OP_RETURNs in chained transactions
– Returns reference like 356115-052075 for
easy and fast retrieval
•  Use on command line or library
– PHP and Python now, Ruby to come
Questions?

More Related Content

What's hot

Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven ArchitectureChris Patterson
 
Large Scale Lakehouse Implementation Using Structured Streaming
Large Scale Lakehouse Implementation Using Structured StreamingLarge Scale Lakehouse Implementation Using Structured Streaming
Large Scale Lakehouse Implementation Using Structured StreamingDatabricks
 
Platform engineering 101
Platform engineering 101Platform engineering 101
Platform engineering 101Sander Knape
 
Delta Lake, un vernis pour parquet
Delta Lake, un vernis pour parquetDelta Lake, un vernis pour parquet
Delta Lake, un vernis pour parquetAlban Phélip
 
ETL tool evaluation criteria
ETL tool evaluation criteriaETL tool evaluation criteria
ETL tool evaluation criteriaAsis Mohanty
 
Streaming architecture patterns
Streaming architecture patternsStreaming architecture patterns
Streaming architecture patternshadooparchbook
 
SplunkLive! Splunk for Security
SplunkLive! Splunk for SecuritySplunkLive! Splunk for Security
SplunkLive! Splunk for SecuritySplunk
 
Databricks + Snowflake: Catalyzing Data and AI Initiatives
Databricks + Snowflake: Catalyzing Data and AI InitiativesDatabricks + Snowflake: Catalyzing Data and AI Initiatives
Databricks + Snowflake: Catalyzing Data and AI InitiativesDatabricks
 
Real-Time Streaming: Intro to Amazon Kinesis
Real-Time Streaming: Intro to Amazon KinesisReal-Time Streaming: Intro to Amazon Kinesis
Real-Time Streaming: Intro to Amazon KinesisAmazon Web Services
 
SIEM (Security Information and Event Management)
SIEM (Security Information and Event Management)SIEM (Security Information and Event Management)
SIEM (Security Information and Event Management)Osama Ellahi
 
Static Analysis of Your OSS Project with Coverity
Static Analysis of Your OSS Project with CoverityStatic Analysis of Your OSS Project with Coverity
Static Analysis of Your OSS Project with CoveritySamsung Open Source Group
 
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen SinkRedis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen SinkDatabricks
 
A Visual Introduction to Event Sourcing and CQRS by Lorenzo Nicora
A Visual Introduction to Event Sourcing and CQRS by Lorenzo NicoraA Visual Introduction to Event Sourcing and CQRS by Lorenzo Nicora
A Visual Introduction to Event Sourcing and CQRS by Lorenzo NicoraOpenCredo
 
RethinkConn 2022!
RethinkConn 2022!RethinkConn 2022!
RethinkConn 2022!NATS
 
Intro to High Performance Computing in the AWS Cloud
Intro to High Performance Computing in the AWS CloudIntro to High Performance Computing in the AWS Cloud
Intro to High Performance Computing in the AWS CloudAmazon Web Services
 
Elastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ CiscoElastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ CiscoElasticsearch
 
Getting Started with Splunk Enterprise
Getting Started with Splunk EnterpriseGetting Started with Splunk Enterprise
Getting Started with Splunk EnterpriseSplunk
 

What's hot (20)

Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
 
Large Scale Lakehouse Implementation Using Structured Streaming
Large Scale Lakehouse Implementation Using Structured StreamingLarge Scale Lakehouse Implementation Using Structured Streaming
Large Scale Lakehouse Implementation Using Structured Streaming
 
Platform engineering 101
Platform engineering 101Platform engineering 101
Platform engineering 101
 
Delta Lake, un vernis pour parquet
Delta Lake, un vernis pour parquetDelta Lake, un vernis pour parquet
Delta Lake, un vernis pour parquet
 
ETL tool evaluation criteria
ETL tool evaluation criteriaETL tool evaluation criteria
ETL tool evaluation criteria
 
Netflix Data Pipeline With Kafka
Netflix Data Pipeline With KafkaNetflix Data Pipeline With Kafka
Netflix Data Pipeline With Kafka
 
SRE vs DevOps
SRE vs DevOpsSRE vs DevOps
SRE vs DevOps
 
Streaming architecture patterns
Streaming architecture patternsStreaming architecture patterns
Streaming architecture patterns
 
SplunkLive! Splunk for Security
SplunkLive! Splunk for SecuritySplunkLive! Splunk for Security
SplunkLive! Splunk for Security
 
Databricks + Snowflake: Catalyzing Data and AI Initiatives
Databricks + Snowflake: Catalyzing Data and AI InitiativesDatabricks + Snowflake: Catalyzing Data and AI Initiatives
Databricks + Snowflake: Catalyzing Data and AI Initiatives
 
Real-Time Streaming: Intro to Amazon Kinesis
Real-Time Streaming: Intro to Amazon KinesisReal-Time Streaming: Intro to Amazon Kinesis
Real-Time Streaming: Intro to Amazon Kinesis
 
SIEM (Security Information and Event Management)
SIEM (Security Information and Event Management)SIEM (Security Information and Event Management)
SIEM (Security Information and Event Management)
 
Azure sentinel
Azure sentinelAzure sentinel
Azure sentinel
 
Static Analysis of Your OSS Project with Coverity
Static Analysis of Your OSS Project with CoverityStatic Analysis of Your OSS Project with Coverity
Static Analysis of Your OSS Project with Coverity
 
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen SinkRedis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
 
A Visual Introduction to Event Sourcing and CQRS by Lorenzo Nicora
A Visual Introduction to Event Sourcing and CQRS by Lorenzo NicoraA Visual Introduction to Event Sourcing and CQRS by Lorenzo Nicora
A Visual Introduction to Event Sourcing and CQRS by Lorenzo Nicora
 
RethinkConn 2022!
RethinkConn 2022!RethinkConn 2022!
RethinkConn 2022!
 
Intro to High Performance Computing in the AWS Cloud
Intro to High Performance Computing in the AWS CloudIntro to High Performance Computing in the AWS Cloud
Intro to High Performance Computing in the AWS Cloud
 
Elastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ CiscoElastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ Cisco
 
Getting Started with Splunk Enterprise
Getting Started with Splunk EnterpriseGetting Started with Splunk Enterprise
Getting Started with Splunk Enterprise
 

Similar to Metadata in the Blockchain: The OP_RETURN Explosion

Fredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesFredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesAlex Akselrod
 
Crypto Wallets: A Technical Perspective (Nakov at OpenFest 2018)
Crypto Wallets: A Technical Perspective (Nakov at OpenFest 2018)Crypto Wallets: A Technical Perspective (Nakov at OpenFest 2018)
Crypto Wallets: A Technical Perspective (Nakov at OpenFest 2018)Svetlin Nakov
 
Blockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationBlockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationPaperchain
 
J.burke HackMiami6
J.burke HackMiami6J.burke HackMiami6
J.burke HackMiami6Jesse Burke
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsMatthias Zimmermann
 
Cryptocurrencies and Blockchain - An opportunity for Startups and Companies
Cryptocurrencies and Blockchain - An opportunity for Startups and CompaniesCryptocurrencies and Blockchain - An opportunity for Startups and Companies
Cryptocurrencies and Blockchain - An opportunity for Startups and CompaniesMarco Vasapollo
 
An Investor's Guide to Web3 / Crypto / Blockchain
An Investor's Guide to Web3 / Crypto / BlockchainAn Investor's Guide to Web3 / Crypto / Blockchain
An Investor's Guide to Web3 / Crypto / BlockchainBernard Leong
 
Blockchain, Bitcoin, Crypto assets, Initial Coin Offer workshop
Blockchain, Bitcoin, Crypto assets, Initial Coin Offer workshopBlockchain, Bitcoin, Crypto assets, Initial Coin Offer workshop
Blockchain, Bitcoin, Crypto assets, Initial Coin Offer workshopNext Space Pvt. Ltd
 
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2
 
New Business Models enabled by Blockchain
New Business Models enabled by BlockchainNew Business Models enabled by Blockchain
New Business Models enabled by BlockchainSlash
 
Blockchain-enabled Exchange: Architecture, First Experiences and Outlook
Blockchain-enabled Exchange: Architecture, First Experiences and OutlookBlockchain-enabled Exchange: Architecture, First Experiences and Outlook
Blockchain-enabled Exchange: Architecture, First Experiences and OutlookSergey Ivliev
 
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?Digipolis Antwerpen
 
Presentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosPresentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosGiorgos Topalidis
 
Presentation topalidis giorgos
Presentation topalidis giorgosPresentation topalidis giorgos
Presentation topalidis giorgosGiorgos Topalidis
 
Unsung heroes Validator & Infra provider.pdf
Unsung heroes Validator & Infra provider.pdfUnsung heroes Validator & Infra provider.pdf
Unsung heroes Validator & Infra provider.pdfJiyun Kim
 
One library for all Java encryption
One library for all Java encryptionOne library for all Java encryption
One library for all Java encryptionDan Cvrcek
 
Ergo Presentation - Tokyo
Ergo Presentation - TokyoErgo Presentation - Tokyo
Ergo Presentation - TokyoAlex Chepurnoy
 
Blockchain, AI and Machine Learning
Blockchain, AI and Machine LearningBlockchain, AI and Machine Learning
Blockchain, AI and Machine LearningTao Wang
 
Algorand Educate: Intro to Algorand
Algorand Educate: Intro to AlgorandAlgorand Educate: Intro to Algorand
Algorand Educate: Intro to AlgorandTinaBregovi
 

Similar to Metadata in the Blockchain: The OP_RETURN Explosion (20)

Fredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesFredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slides
 
Crypto Wallets: A Technical Perspective (Nakov at OpenFest 2018)
Crypto Wallets: A Technical Perspective (Nakov at OpenFest 2018)Crypto Wallets: A Technical Perspective (Nakov at OpenFest 2018)
Crypto Wallets: A Technical Perspective (Nakov at OpenFest 2018)
 
Blockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationBlockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentation
 
J.burke HackMiami6
J.burke HackMiami6J.burke HackMiami6
J.burke HackMiami6
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business Applications
 
Cryptocurrencies and Blockchain - An opportunity for Startups and Companies
Cryptocurrencies and Blockchain - An opportunity for Startups and CompaniesCryptocurrencies and Blockchain - An opportunity for Startups and Companies
Cryptocurrencies and Blockchain - An opportunity for Startups and Companies
 
An Investor's Guide to Web3 / Crypto / Blockchain
An Investor's Guide to Web3 / Crypto / BlockchainAn Investor's Guide to Web3 / Crypto / Blockchain
An Investor's Guide to Web3 / Crypto / Blockchain
 
Blockchain, Bitcoin, Crypto assets, Initial Coin Offer workshop
Blockchain, Bitcoin, Crypto assets, Initial Coin Offer workshopBlockchain, Bitcoin, Crypto assets, Initial Coin Offer workshop
Blockchain, Bitcoin, Crypto assets, Initial Coin Offer workshop
 
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
 
New Business Models enabled by Blockchain
New Business Models enabled by BlockchainNew Business Models enabled by Blockchain
New Business Models enabled by Blockchain
 
Blockchain-enabled Exchange: Architecture, First Experiences and Outlook
Blockchain-enabled Exchange: Architecture, First Experiences and OutlookBlockchain-enabled Exchange: Architecture, First Experiences and Outlook
Blockchain-enabled Exchange: Architecture, First Experiences and Outlook
 
Masterclass on Bitcoin, Ethereum & Cryptoassets
Masterclass on Bitcoin, Ethereum & CryptoassetsMasterclass on Bitcoin, Ethereum & Cryptoassets
Masterclass on Bitcoin, Ethereum & Cryptoassets
 
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
 
Presentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosPresentation_Topalidis_Giorgos
Presentation_Topalidis_Giorgos
 
Presentation topalidis giorgos
Presentation topalidis giorgosPresentation topalidis giorgos
Presentation topalidis giorgos
 
Unsung heroes Validator & Infra provider.pdf
Unsung heroes Validator & Infra provider.pdfUnsung heroes Validator & Infra provider.pdf
Unsung heroes Validator & Infra provider.pdf
 
One library for all Java encryption
One library for all Java encryptionOne library for all Java encryption
One library for all Java encryption
 
Ergo Presentation - Tokyo
Ergo Presentation - TokyoErgo Presentation - Tokyo
Ergo Presentation - Tokyo
 
Blockchain, AI and Machine Learning
Blockchain, AI and Machine LearningBlockchain, AI and Machine Learning
Blockchain, AI and Machine Learning
 
Algorand Educate: Intro to Algorand
Algorand Educate: Intro to AlgorandAlgorand Educate: Intro to Algorand
Algorand Educate: Intro to Algorand
 

Recently uploaded

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 

Recently uploaded (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Metadata in the Blockchain: The OP_RETURN Explosion

  • 1. Metadata in the Blockchain: The OP_RETURN Explosion Coin Sciences Ltd http://coinspark.org/
  • 2. If Bitcoin = Gold 2.0 then … What is the intrinsic value of a bitcoin? Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 3. What has gone wrong? (1) Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 4. Early Internet growth Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ http://homes.cs.washington.edu/~lazowska/faculty.lecture/ innovation/hpcc/internet/hosts.html
  • 5. What has gone wrong? (2) Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 6. Gartner hype cycle Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 7. What has gone wrong? (3) Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ 3% (PayPal)
  • 8. What is bitcoin for? Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 10. Bitcoin as communication Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 11. What can we send? Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ An expensive way to encode information
  • 12. Fake addresses Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Permanent burden on unspent output list
  • 13. Multisig addresses (1 of …) Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Temporary burden on unspent output list
  • 14. The OP_RETURN decision Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ https://bitcoinfoundation.org/2013/10/core-development-update-5/
  • 15. OP_RETURNs Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Provably prunable, no unspent output
  • 16. OP_RETURN size limit Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 17. OP_RETURNs vs TCP/IP OP_RETURNs TCP/IP Ratio Address space 2160 (collisions) 232 → 2128 1× Latency 5 seconds 1 second 5× Packet size 40 bytes 1.5 KB 36× Bandwidth ~100 bytes/s (50% of network!) 5 MB/s (50% of 100 Mbps) 50,000× Cost $850,000/GB (at $315/BTC) $0.10/GB 10,000,000× Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 18. So why use bitcoin?
  • 19. Asynchronicity? Bitcoin TCP/IP Email Asynchronous Synchronous Asynchronous Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 20. Notarization Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Bitcoin TCP/IP Blockchain None
  • 21. Message chaining Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Bitcoin TCP/IP Directed acyclic graph Request-response only
  • 22. Privacy Bitcoin TCP/IP Addresses Pseudonymous but transaction chain analysis IP geolocation, traceable to individual via ISP Payloads Naked in public Private but seen by ISPs, switches Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 23. Payment model Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Bitcoin TCP/IP Per message, with message Subscription or pay- per-use, separate
  • 24. So bitcoin is suitable for… •  Tiny payload •  High value – Hashes in general •  Public broadcast •  Permanently recorded •  Non-instant •  Pay-as-you-go Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 25. Financial transactions Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 26. Document notarization Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Bitproof, BlockSign, La Preuve, ProveBit, Proof of Existence, Stampd, Stampery
  • 27. Historical records •  Blog post about stuff in blockchain Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Lots more: http://www.righto.com/2014/02/ ascii-bernanke-wikileaks-photographs.html
  • 28. Email with scarcity? Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 29. Universal family tree? •  Show a family tree (DAG) Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ http://recursivediscursion.blogspot.com/2011/04/gentle-introduction-to-graph-theory.html
  • 30. 0 5 10 15 20 25xxxx 26xxxx 27xxxx 28xxxx 29xxxx 30xxxx 31xxxx 32xxxx 33xxxx 34xxxx 35xxxx 36xxxx 37xxxx Bitcoin block numbers (each column ~70 days) OP_RETURNs per block Bitcoin 0.9 released 19th March 2014 More at: coinsecrets.org Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 31. OP_RETURNs to block 375000 Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ 27% 17% 9% 3%2% 2% 40% Open%Assets% Blockchain%ID% CoinSpark% Ascribe% Proof%of%Existence% Factom% Other%
  • 33. CoinSpark •  Rich OP_RETURN protocol – Multiple metadata per OP_RETURN •  Version 1.0 — September 2014 – Assets = lightweight scalable colored coins – Payment references •  Version 2.0 — February 2015 – Transaction attachments / messaging •  Version 3.0: simpler addressing, … Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 34. CoinSpark assets •  Assets via OP_RETURN metadata – Not connected to bitcoin quantity •  Genesis metadata: – Quantity, issuer transaction fees – Compressed web page URL – Hash of contract and key params •  Transfer metadata: – Reference to genesis, quantity, outputs Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 35. CoinSpark assets for users •  Lightweight wallet •  Asset web page – View in browser – Hidden metadata – Domain authenticates issuer •  Asset contract – Ready US + UK templates – Customizable Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 36. SparkBit wallet Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 37. Asset web page Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 38. Asset contract Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 39. Bitcoin transaction model Signed by Alice Alice 10.000 Bob 2.000 Alice 7.999 Miner 0.001 Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 40. CoinSpark asset model •  Multiple assets per output – Low burden on network – No accidental loss •  Default: all assets to last output •  Metadata sends to other outputs – 40 bytes: up to 3 assets, unlimited outputs •  Asset independence ⇒ scalability – Issuer provides tracking server for SPV Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 41. Example asset transaction Signed by Alice Alice 0.007 Bob 0.001 Alice 0.005 OP_RETURN Miner 0.001 A B C B A C B Output 1 Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ 150 60 60 90
  • 42. CoinSpark messages •  Attach text and/or files to a bitcoin or CoinSpark asset transaction •  Message discovery via OP_RETURN – Compressed URL / IP of delivery server – Outputs for which message intended – Hash of message + salt •  Open source delivery server – Federated, non-centralized model Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 43. CoinSpark messages vs email •  Hash proves message authenticity •  Notarization of message on blockchain – Contracts, invoices, digital delivery •  Also: public messages – Broadcast content + proof of existence •  Future: message encryption – Requires public key, not just bitcoin address •  Challenge: identity (Openname?) Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 44. CoinSpark OP_RETURN format Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ 53   50   4B   CoinSpark marker (“SPK”) 61   FF  — Last metadata opcode ···· Last metadata (until end of script) 01   60   Length of this metadata section— 61   FF  — Metadata opcode ···· Metadata (up to 95 bytes) *
  • 45. Metadata opcodes Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ 61   7F  — 67   72   74   80   EF  — Reserved for CoinSpark Asset genesis (“g”) Payment reference (“r”) Asset transfer (“t”) Your application? 6D   Message pointer (“m”)
  • 46. Every byte is sacred Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 47. Every byte is sacred Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 48. Only encode surprises 000 = omit fields. If this is the first color transfer, assume input and output indices of 0. Otherwise take the indices from the previous color transfer. 001 = omit fields. If this is the first color transfer, assume input index 0 and output index 1. Otherwise take the indices from the previous color transfer and increment the output index only. 010 = omit fields. If this is the first color transfer, assume input index 1 and output index 0. Otherwise take the indices from the previous color transfer and increment the input index only. 011 = omit input index and use 1 byte for output index. If this is the first color transfer, assume input index 0. Otherwise use the same input index as the previous color transfer. 100 = omit output index and use 1 byte for input index. If this is the first color transfer, assume output index 0. Otherwise use the same output index as the previous color transfer. 101 = use 1 byte for input index, 1 byte for output index. 110 = use 1 byte for input index, 2 bytes for output index. 111 = use 2 bytes for input index, 2 bytes for output index. Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 49. Mantissa and exponent Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ 625 trillion = 625×1012 ??11001001110001  
  • 50. Common domain strings www.   .at   .au   .be   .biz   .br   .ca   .ch   .cn   .co.jp   .co.kr   .co.uk   .co.za   .co   .com.ar   .com.au   .com.br   .com.cn   .com.mx   .com.tr   .com.tw   .com.ua   .com   .cz   .de   .dk   .edu   .es   .eu   .fr   .gov   .gr   .hk   .hu   .il   .in   .info   .ir   .it   .jp   .kr   .me   .mx   .net   .nl   .no   .org   .pl   .ps   .ro   .ru   .se   .sg   .tr   .tv   .tw   .ua   .uk   .us   .vn     Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 51. More domain name compression •  38 valid characters – 0 to 9, a to z, -­‐ .   •  Two terminator characters ⇒ 40 – http:// vs https://   •  403 = 64000 < 65536 = 216 – So 3 characters per byte pair •  Special case: IPv4 address – Obvious encoding in 4 bytes Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 52. Variable hash length ≥ 96 bits Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ 350,000,000 × 109 × 86400 × 365 × 7178 = 296
  • 53. CoinSpark for Developers •  Fully open source (MIT/AGPL) •  Multilingual libraries – C/C++, Go, Java, JS, PHP, Python, Ruby •  Fully decentralized – Server-side elements federated • Let’s do for bitcoin what the web did for TCP/IP Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 54. Back to the start… What is the intrinsic value of a bitcoin? Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 55. 0.0 0.2 0.4 0.6 0.8 1.0 1.2 2011 2012 2013 2014 2015 2016 2017 2018 2019 Average block size (MB) Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ Current limit: 1 MB Economic prehistory Economic reality
  • 56. What happens then? •  Transactions compete for confirmation – Bidding via miner fee, paid only in bitcoin •  Real price discovery – Econ 101: until supply = demand •  If enough transactions (notarization?) are worth $10 to sender, all will cost that – No more cups of coffee! •  Increasing block size limit just delays this Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 57. So: bitcoin = global bidding power for embedding data in the blockchain. Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 58. More from Coin Sciences
  • 59. MultiChain •  Private blockchain platform – Targeted at financial sector – Drop-in replacement for Bitcoin Core •  Easy and quick deployment – Custom network parameters •  Permission management •  Native asset support •  Stable alpha now available Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 60. Coin Secrets – coinsecrets.org Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/
  • 61. php|python-OP_RETURN Coin Sciences Ltd Metadata in the Blockchain http://coinspark.org/ •  Send OP_RETURN using Bitcoin Core – Doing it yourself is hard work! •  Store and retrieve any data in blockchain – Uses OP_RETURNs in chained transactions – Returns reference like 356115-052075 for easy and fast retrieval •  Use on command line or library – PHP and Python now, Ruby to come