Scripting smart contracts for distributed ledger technology
SoK: Research Perspectives and Challenges for Bitcoin and Cryptocurrencies