Blockchain Protocol Analysis and Security Engineering 2017 | Cyber Initiative

algorithms | blockchain | consensus mechanisms | cryptocurrencies | decentralization | governance | issues/conflicts | papers | people | privacy | quantitative analysis | Research Notes | smart contracts | tools

The conference will explore the use of formal methods, empirical analysis, and risk modeling to better understand security and systemic risk in blockchain protocols.  The conference aims to foster multidisciplinary collaboration among practitioners and researchers in blockchain protocols, distributed systems, cryptography, computer security, and risk management.

Source: Blockchain Protocol Analysis and Security Engineering 2017 | Cyber Initiative

A Fistful of Bitcoins: Characterizing Payments Among Men with No Names | April 2016 | Communications of the ACM

bitcoin | cryptocurrencies | cybercrime | papers | quantitative analysis | Research Notes | tools

Bitcoin is a purely online virtual currency, unbacked by either physical commodities or sovereign obligation; instead, it relies on a combination of cryptographic protection and a peer-to-peer protocol for witnessing settlements. Consequently, Bitcoin has the unintuitive property that while the ownership of money is implicitly anonymous, its flow is globally visible. In this paper we explore this unique characteristic further, using heuristic clustering to group Bitcoin wallets based on evidence of shared authority, and then using re-identification attacks (i.e., empirical purchasing of goods and services) to classify the operators of those clusters. From this analysis, we consider the challenges for those seeking to use Bitcoin for criminal or fraudulent purposes at scale.

Source: A Fistful of Bitcoins: Characterizing Payments Among Men with No Names | April 2016 | Communications of the ACM

Coin Metrics

cryptocurrencies | quantitative analysis | related_projects | Research Notes | tools

Useful resources for investors

This is a list of some resources we have found valuable and think you might, too. It’s a selection of our favorites rather than an attempt to include everything. The resources extend from quantitative tools like ours to long-form research and academic papers. This list, like our website, is probably more useful for investors rather than anyone looking for particularly technical resources. We were not paid to include anything on the list – the only organizations we have formal partnerships with are listed on our sponsors page. This list is subjective and not intended to be complete or exhaustive.

TL;DR version:

Indexes: Bletchley IndexesSmith + CrownCRIXBitwise Hold 10MVIS
Rankings sites: CryptoCompareCoinGeckoOnChainFx
Data: BitInfoChartsCoinDanceBlockchain.infoToken DataStatoshiShabang
Tools and dataviz: SifrdataCorrelationsMapOfCoinsCryptoMapsBitcoin Volatility IndexCrypto Voices, Transactionfee.infoFlipside Crypto
Blogs: Willy WooAri PaulMatt LevineElaine OuChris BurniskePreston Byrne, Tuur Demeester
Research: Ark InvestGrayscaleCoindeskSmith + CrownLedgerCambridge Center for Alternative Finance
Selected papers: Wang and Vergne (2017)Naranayan et al (2017)Carter (2017), Garcia et al (2014)Meiklejohn et al (2013)
Advocacy: Coin Center
Books: Digital GoldCryptoassets: The Innovative Investor’s Guide to Bitcoin and BeyondThe Bitcoin Standard: Sound Money in a Digital Age
Newsletters: Proof of WorkToken EconomyMarty’s Bent

Indexes

We discuss the pros and cons of indexing strategies in this post, now slightly outdated. We still think Bletchley Indexes offer the most thoughtful and consistent approach to index construction. They have recently added a useful total market index. Keep an eye on them. Smith + Crown and a team of academics at CRIX also run indexes; we cover them in the blog post.

Also worth noting is the Bitwise Hold 10 Index. It incorporates some of the innovations that have been publicly discussed over the last few months. True to the name it tracks 10 large caps; but it weights them by 5 year inflation.

Vaneck has a comprehensive selection of indexes which are worth looking at. Digital asset indexes are a much more crowded space than when we first started looking at them!

Rankings sites

We like CryptoCompare for extractable historical data. They have a great API too.

CoinGecko creates very interesting quantitative rankings. They offer a refreshing alternative to the CoinMarketCap school of ranking which is rather uncritical at times, and promotes the misleading “market cap” indicator. CoinGecko grades cryptoassets on developer activity, the strength of community, and the amount of public interest, building a quality indicator which can help investors avoid dead or stagnating projects.

CoinGecko do excellent work

 

OnChainFx is a great product. OCFX does a few interesting things; it focuses on the impact of monetary policy on valuation, which has been a sorely overlooked topic until now. Most interestingly, it lays out clearly the float and pending supply of a set of major cryptoassets, and extrapolates network value to 2050, assuming no change in unit price. This lets investors very easily measure the impact inflation will have on various cryptoasset networks. Another interesting indicator that holds a lot of promise is the ‘Vladimir club cost;’ or what it would cost to own 1% of 1% of the asset’s eventual supply. Onchainfx integrates some Coinmetrics data – we suggest using them for your rankings. (Full disclosure: OnChainFx is a Coinmetrics sponsor.)

Data sources

We are inspired by BitInfoCharts; they offer an absolute treasure trove of blockchain data.

CoinDance do valuable work to illuminate the bitcoin ecosystem, especially when it comes to decoding what the miners are up to.

Blockchain.info have a fantastic assortment of data and charts, and we wish this sort of information existed for every cryptocurrency.

For tokens (something we don’t spend very much time on), Tokendata is a clean and minimalistic data source evidencing that most large tokensales have been fairly poor investments thus far.

Statoshi.info is a very thorough service which collects incredibly detailed Bitcoin data from a full node. We wish this level of detail existed for other blockchains.

Shabang.io is a very cool new service that catalogues lightning network nodes and segwit usage.

Tools and visualizations

Sifrdata is a really unique resource. People with a finance or statistics background will really appreciate it. It covers rolling correlations, sharpe ratios, correlation clustering, the distribution of returns, and volatility of major cryptocurrencies, among other things.

If you like mean-variance optimization, and want a dynamic correlation tool with a lot of choice, play around with this excellent correlation matrix, developed by Jonas Verhoelen.

MapOfCoins is a very cool evolutionary graph of a huge number of cryptoassets, and lets you easily determine their history. It’s sadly not being updated at present, but nevertheless still very interesting.

CryptoMaps is a real-time visualization of the market heavily inspired by Finviz. It’s currently somewhat flawed due to odd segmentation decisions, and a lower limit on the size of the rectangles representing small-caps, which results in the inclusion of many ultra small caps that probably don’t merit consideration in the sample. Nevertheless it’s an easy way to picture how the market is faring in real time. You’ll notice that it’s heavily correlated.

The Bitcoin Volatility Index is a nifty site. Since so many finance professionals insist Bitcoin can’t be a store of value since it’s too volatile, it’s nice to have a visualization on hand. The site also does Ethereum and Litecoin.

Cryptovoices is a really interesting site – mainly oriented around a podcast – which also boasts some very thoughtful ratios, graphs, and indicators. We particularly like the network price-to-sales ratio which they run for a variety of public blockchains. This is a very clever ratio which models blockchains a bit like typical rent-extracting assets. Keep an eye on cryptovoices.

Transactionfee.info creates some interesting charts aggregating Bitcoin payments, rather than just transactions (which can bundle many payments). Counting outputs as payments is a far richer picture of Bitcoin development than simply looking at transactions. Due to higher batching rates, the relationship between transactions and outputs has inflected. This is a useful analysis that our data doesn’t account for presently.

Flipside Crypto runs a github index which blends together github data for cryptoasset projects and synthesizes it into a single indicator. If you click through to individual projects, the data is presented in digestible form. (Full disclosure: Flipside is a Coinmetrics sponsor.)

Blogs we read

Willy Woo doesn’t just write a blog. His indicators, visualizations, and models are incredibly influential. I’d classify almost every post on his page as a must-read. His charts page in particular is very illuminating. To the best of our knowledge, Willy devised the market to transaction value (MTV ratio), which he now calls the network value to transactions ratio (NVT ratio).

Ari Paul hasn’t been active in the cryptoasset space very long since migrating from traditional asset management, but he has become very influential. Now launching a cryptoasset fund, Ari may become more limited in what he has to say, so treasure his posts while you still can.

Matt Levine doesn’t exclusively cover cryptoassets, but his popular daily column for Bloomberg has become dominated by the topic of late, or as he calls it, “blockchain blockchain blockchain.” Matt is continually entertained by the stories of ICOs, hacks, novel financial products, and market manipulation, and he expresses his generally skeptical view in a fairly good-natured way. The main lesson from his column is that there is nothing new under the sun; only new ways to do old things. Bonus: a Coinmetrics founder was quoted on Levine’s blog at length recently! Tweet us if you find it.

I don’t have much to say about Elaine Ou’s fantastic blog aside from the fact that it’s an absolute gem.

Chris Burniske pushes the envelope on valuation models, which he generously publishes for everyone’s benefit. Chris also popularized the market to transaction value measure which we use here. He is also thoughtful about nomenclature; Chris is probably responsible for the shift to “cryptoasset,” and he’s leading the charge in leaving the misleading “market cap” behind in favor of “network value.”

If you are in the mood for a much more skeptical look at cryptoassets and tokens, Preston Byrne runs a blog which can safely be described as contrarian. Preston is a UK-trained lawyer with a penchant for unraveling some of the more extravagant claims made by founders and promoters. Investors owe it to themselves to consider tail risks and regulatory action, and Preston’s blog is an excellent starting point.

The well-known Bitcoin investor and industry critic Tuur Demeester doesn’t write very often, but when he does, it’s worth reading.

You may perceive the constituents of this list as too fond of bitcoin or overly skeptical; if any commentators emerge with a thoughtful defense of ICO mania, we will gladly include them.

Research platforms

The investment management firm Ark Invest posts frequently on bitcoin’s investable qualities. They were well ahead of the game, voicing this conviction and taking a public position in the troughs of the 2015 bear market, well before the recent market inflection. Their research can be found here but the essential reading is their white paper: Bitcoin: Ringing the Bell for a New Asset Class. The essential contention is that cryptocurrencies represent a radically new asset class, crucially different from commodities, currencies, and property (which they are commonly compared to) along three dimensions: politico-economic features, correlations of returns, and the nature of return profiles. This is vital reading for those crossing over from the traditional finance world of sharpe ratios and mean variance optimization.

The Digital Currency Group cannot be overlooked when it comes to digital asset markets. One overlooked contribution of theirs to the space is investment research. Grayscale released an excellent investment thesis for Ethereum Classic [pdf warning] to support the launch of their ETC fund back in May. Whether or not you agree with their criticisms of Ethereum, this may indeed become the template for cryptoasset investment theses. It describes key aspects of investability which are crucial for investors: history and launch; governance; economics and monetary policy; target market size; incentive structures.

The DCG subsidiary, Coindesk, boasts the most comprehensive and professional industry research setup in the space. Much of it is public but some key reports are paywalled, which isn’t surprising given the rigor and detail. One of the pitfalls of issuing research in such a fast-moving sector is the near-instant obsoletion of your work. Their Q1 2017 “State of Blockchain” looks curiously out of date now, boasting of the $25b cryptocurrency market cap and ICO funds totaling $36m. However, these reports are invaluable – especially if you’re an institutional investor needing to justify your investment to skeptical clients.

The excellent Smith + Crown win a spot for their contributions to research. They have created a searchable repository of digital currency-related publications which aggregates a huge amount of papers, tagged appropriately. Additionally, they have written a good number of currency profiles, covering even relatively obscure ones in detail.

And of course, you have good old academia. Last year, Ledgera bespoke peer reviewed digital currency journal, was launched to publish some of the best work in the space. It is not exclusively technical in content, either. The inaugural issue had a refreshingly varied set of articles, from a largely impenetrable post on ring confidential transactions, to a work of political philosophy comparing governance structures on blockchains to the contract theory of Hobbes, Rousseau, and Rawls.

Lastly, it’s worth giving some attention to the Cambridge Center for Alternative Finance, who do an excellent job of covering cryptoassets and the corporate blockchain space more generally. Their global cryptocurrency benchmarking study is incredibly thorough. They have an ambitious research agenda planned for 2018.

Selected papers

Recent articles that have caught our attention include the BlockSci working paper, created to accompany the open source BlockSci tool for blockchain analysis. This represents a significant improvement in the tools available to the public for answering difficult questions about popular blockchains. They use the tool to demonstrate an attack on Dash’s privacy, to show how multisig transactions hurt confidentiality, and interestingly, to make better estimates about the velocity of major cryptocurrencies.

Another paper we like is Buzz Factor or Innovation Potential: What Explains Cryptocurrencies’ Returns? by Wang and Vergne which unpacks the return drivers of major cryptocurrencies over a yearlong period. They find that, when accounting for various factors, that buzz is negatively associated with weekly returns. Attention should be given to their methodology which quantifies developer activity to try to capture innovation.

While its inclusion is somewhat nepotistic, we believe this paper is also important. It is written by one of Coinmetrics’ creators. The 2017 paper A Cross-Sectional Overview of Cryptoasset Governance and Implications for Investors is a master’s thesis covering governance structures in the industry. It has a useful survey of the top 50 circulating cryptoassets by network value (as of July 29, 2017) with detailed analysis of the governance models on display. The paper is aimed at educating investors about the relative lack of shareholder (tokenholder) rights in the industry. It also discusses a few of the functioning models of cryptoasset governance.

Garcia et al’s 2014 paper The digital traces of bubbles: feedback cycles between socio-economic signals in the Bitcoin economy may be dated by cryptocurrency standards, but it is still a thorough exposition of the relationship between social sentiment and Bitcoin price. They cover an early period in Bitcoin’s history, but the relationships. Rather than naively correlating google trends and bitcoin price like other academics do, Garcia et al notice a feedback loop between social buzz and price. This means that search volumes combine with price rises to drive positive loops which cause reflexive bitcoin behavior – in both directions. A full awareness of these relationships is absolutely vital to unpacking sentiment data.

In our view, A Fistful of Bitcoins: Characterizing Payments Among Men with No Names by Meiklejohn et al (2013) is the canonical paper on serious empirical analysis of the Bitcoin economy. The researchers use a variety of techniques to determine how Bitcoin is actually used over time. This involves a robust and nuanced analysis of UTXOs, heuristic-driven transaction volume estimates, user clustering, and more exotic empirical techniques. They even transacted with 334 Bitcoin services — choosing a variety of exchanges, gambling sites, vendors, wallets, and other merchants to determine their addresses and estimate their impact on transaction volume. A Fistful of Bitcoins is a stunningly useful and informative paper, even 4 years on.

Advocacy

Coin Center is a nonprofit think tank based in Washington D.C. which seeks to educate policymakers about cryptocurrencies and advocate for reasonable and fair regulation. They also serve the dual purpose of educating members of the public about the latest regulatory developments. The US is only one among many countries that can regulate digital currencies and tokens, but given that regulators like to follow the leader, what happens in US Congress tends to reverberate worldwide. Coin Center boasts impressive access to Congress, and they produce pithy explainers for journalists and original research to boot.

Investors who know the history of alternative currencies know that regulators can be an existential threat. Bitcoin and its many descendants are decentralized and hence largely immune to being closed down by regulators, but they can still be hamstrung if, for instance, exchanging fiat for digital currency is suddenly outlawed.

The value of digital currencies and cryptoassets is evident to everyone involved in the space, but regulators and the media need a bit more convincing. Coin Center does very useful things like proposing a safe harbor framework for nodes, thus protecting users from being accountable for the money-transmitting implications of node traffic;  clarifying whether or not cryptocurrencies should be treated as securities; and explaining why bitcoin isn’t to blame for ransomware attacks.

Many bitcoiners and digital currency enthusiasts would be surprised to hear that they have advocates in frequent contact with US Congress, helping establish a fair framework for eventual regulation. It’s a dirty word to many, but regulation does not mean closing down all digital currency activity, but could instead mean consumer protection, clarifying securities laws, simplifying money transmitter frameworks, protecting individuals from exchange failures, and so on. Coin Center has flown under the radar thus far but deserves to be a key element of your research if you care about the long-term health of the digital currency market.

Books

There are a surprising number of books already published about this novel industry. Nathaniel Popper’s Digital Gold: Bitcoin and the Inside Story of the Misfits and Millionaires Trying to Reinvent Money is a very thorough look at Bitcoin’s history, pre-history, and political underpinnings. It is largely non-technical, but is essential reading for anyone seeking an understanding of why the digital currency is so popular. Everyone I have referred this book to has subsequently bought Bitcoin. It is about a year out of date, which is an eon in the cryptocurrency world, but it is still a very worthwhile read. Where else will you learn about the impact Mark Karpeles’ cat Tibanne had on the history of Bitcoin?

Chris Burniske and coauthor Jack Tatar jumped into the fray with their offering, entitledCryptoassets: The Innovative Investor’s Guide to Bitcoin and Beyond. This to our knowledge is the first book-length approach of these assets from an investment standpoint. Chris has great credentials in the space and this is a vital read. It is a nicely-paced read which enables investors with any level of expertise gain an understanding of the asset class. The sections on taxonomy and valuation are particularly valuable.

Lastly, Saifedean Ammous is publishing The Bitcoin Standard: Sound Money in a Digital Age in hardback early next year. He made early drafts available to the public, and if the finished product is anything like those, this book will be very influential. It’s a look at the economics of the system and how bitcoin can underpin a new era of sound money. Importantly, is plainly and comprehensibly written with no excessive ornamentation or jargon. Anyone can find value in this book; it’s not just for economists or technologists.

Other books aren’t on this list because I haven’t read them. If you have a burning desire to have them included in this list, feel free to send them our way. (Edit: still haven’t received any books…) (Edit2: still waiting…)

Newsletters

Proof of Work is a very cool newsletter from fund manager Eric Meltzer. It delivers weekly updates about cryptoasset projects directly from the founders and top devs themselves. Turns out there’s a fairly high correlation between the viability of a project and the transparency of the founding team. Funny that!

Token Economy is a weekly newsletter run by Stefano Bernardi and Yannick Roux that does an excellent job of distilling the most important developments in the space. It includes new launches, commentary, links to influential posts, and occasionally some criticism, which is useful.

Marty’s Ƀent is an entertaining daily Bitcoin-oriented newsletter detailing the latest thoughts of, well, Marty. It’s informal and occasionally vulgar, but it’s all in good fun. Marty deserves plaudits for being amazingly consistent. He will deliver something thought-provoking to your inbox every day, without fail.

*  *  *

We hope you have found this list useful. If you think something deserves to be on here, get in touch at @coinmetrics. We can’t guarantee we’ll put it on there – this list is mainly for resources which we use and have actively benefited from. This list is actively curated.

Last updated: Feb. 19, 2018.

Technological Sovereignty

papers | related_projects | Research Notes | tools

Technological Sovereignty, Vol. 2

We deserve to have other technologies, something better than what we nowadays call “Information and Communication Technologies”. This book deals with its psychological, social, political, ecological and economic costs while it relates experiences to create Technological Sovereignty. The authors bring us closer to other ways of desiring, designing, producing and maintaining technologies. Experiences and initiatives to develop freedom, autonomy and social justice while creating autonomous mobile telephony systems, simultaneous translation networks, leaks platforms, security tools, sovereign algorithms ethical servers and appropriate technologies among others. The texts are by Alex Haché, Benjamin Cadon, COATI, Carolina, Kali Kaneko, Loreto Bravo, Maxigas and Margarita Padilla.

Source: Introduction · Soveranía Technológica

BlockSci: a platform for blockchain science and exploration

quantitative analysis | related_projects | Research Notes | tools

The Bitcoin blockchain — currently 140GB and growing — contains a massive amount of data that can give us insights into the Bitcoin ecosystem, including how users, businesses, and miners operate. Today we’re announcing BlockSci, an open-source software tool that enables fast and expressive analysis of Bitcoin’s and many other blockchains, and an accompanying working paper that explains its design and applications. Our Jupyter notebook demonstrates some of BlockSci’s capabilities.Current tools for blockchain analysis depend on general-purpose databases that have full support for transactions. But that’s unnecessary for blockchain analysis where the data structures are append-only. We take advantage of this observation in the design of our custom in-memory blockchain database as well as an analysis library.BlockSci’s core infrastructure is written in C++ and optimized for speed. (For example, traversing every transaction input and output on the Bitcoin blockchain takes only 10.3 seconds on our r4.2xlarge EC2 machine.) To make analysis more convenient, we provide Python bindings and a Jupyter notebook interface. This interface is slower, but is ideal for exploratory analyses and allows users to quickly iterate when developing new queries.The code below shows the convenience of traversing the blockchain using straightforward Python idioms, built-in currency conversion using historical exchange-rate data, and the use of pandas DataFrames for analysis and visualization..fees = [sum(block.fees) for block in chain.range(‘2017’)]times = [block.time for block in chain.range(‘2017’)]converter = blocksci.CurrencyConverter()df = pandas.DataFrame({“Fee”:fees}, index=times)df = converter.satoshi_to_currency_df(df, chain)When plotted, it results in the following graph showing the average transaction fee per block:BlockSci uses a custom data format; it comes with a parser that generates this data from the serialized blockchain format recorded by cryptocurrency nodes such as bitcoind. The parser supports incremental updates when new blocks are received, and making it easy to stay up to date with the latest version of the blockchain. We’ve used BlockSci to analyze Bitcoin, Bitcoin Cash, Litecoin, Namecoin, Dash, and ZCash; many other cryptocurrencies make no changes to the blockchain format, and so should be supported with no changes to BlockSci.In our working paper, we present four analyses that show BlockSci’s usefulness for answering research questions. We show how multisignatures unfortunately weaken privacy and confidentiality; we apply the cluster intersection attack to Dash, a privacy-focused altcoin; we analyze inefficiencies in the usage of block space; and we present improved methods for estimating of how often coins change possession as opposed to just being shuffled around.Here’s an illustrative example. Exploratory graph analysis using BlockSci allowed us to discover a behavioral pattern in the usage of multisignatures that weakens security. Multisignatures are a security-enhancing mechanism that distribute control of an address over a number of different public keys. Surprisingly, we found that users often negate this security by moving their funds from a multisig address to a regular address and then back again after a period of a few hours to days. We think this happens when users are changing the access control policy on their wallet, although it is unclear why they transfer their funds to a regular address in the interim, and not directly to the new multisig address. This pattern of behavior has led over $12 million dollars to be left insecure over the course of  over 22,000 transactions. What users may not appreciate is that the temporary weakening of security is advertised to potential attackers on the blockchain.There’s far more to explore on public blockchains. BlockSci is publicly available now, and we hope you’ll find it useful. It is easy to get started using the EC2 image we’ve released, which includes the Bitcoin blockchain data in addition to the tool. BlockSci is open-source, and we welcome contributions. This is an alpha release; we’re continuing to improve it and the interface may change a bit in future releases. We look forward to working with the community and to hearing about other creative uses of the data and the to

Source: BlockSci: a platform for blockchain science and exploration