Arxiv:2102.09810V3 [Cs.SE] 18 Aug 2021
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Examining the Lightning Network on a Protocol Level
Examining the Lightning network on a protocol level Rene Pickhardt (Data Science Consultant) https://www.rene-pickhardt.de & https://twitter.com/renepickhardt München 19.7.2018 I've been told I should start any talk with something everybody in the audience should know A standard Bitcoin Transaction has 6 data fields ( The following is a brief summary of https://en.bitcoin.it/wiki/Transaction#Input ) ● Version number (4 Bytes) ● In-Counter (1-9 Bytes) ● List of inputs (depending on the Value of <In-Counter>) ● Out-Counter (1-9 Bytes) ● List of Outputs (depending on the Value of <Out-Counter>) ● Lock_time (4 Bytes) ( Bitcoin Transaction with 3 inputs and 2 outputs Data consists mainly of executable scripts! A chain of Bitcoin Transactions with 3 UTXO ● Outputs are references by the inputs ● The Script in the output defines how the transaction can be spent ● Owning Bitcoins means being able to spend the output of an unspent transaction ○ Provide an input script ○ Concatenate it with with some outputscript of an unspent transaction ○ The combined Script needs to evaluate to True Spending a Pay-to-PubkeyHash (standard TX) ● ScriptPubKey (aka the Output Script) ○ OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG ● ScriptSig: (aka the Input Script) ○ <sig> <pubKey> ● Explainations ○ OP_CODES are the instructions of the script language within Bitcoin ○ <data> is depicted like html tags with lesser than and greater than signs ○ The complete script is concatenated as Input || Output and then being executed on a Stack machine <sig> <pubKey> -
Implementation of Smart Contracts for Blockchain Based Iot Applications
Implementation of smart contracts for blockchain based IoT applications Georgios Papadodimas, Georgios Palaiokrasas, Antoniοs Litke, Theodora Varvarigou Electrical and Computer Engineering Department National Technical University of Athens Athens, Greece [email protected], [email protected], [email protected], [email protected] Abstract—An increasing number of people, organizations [11], funding mechanisms [12] and many more. A milestone and corporations are expressing their interest in the for the course of blockchain technology was the development decentralization technology of the blockchain. The creation of of Ethereum project, offering new solutions by enabling smart the blockchain marks the time when we start building contracts’ implementation and execution. The Ethereum distributed peer-to-peer networks consisting of non-trusting blockchain is a Turing complete platform for executing smart members that interact with each other without a trusted contracts [13], [14], and not just a ledger serving financial intermediary but in a verifiable manner. In this paper, we transactions. It is a suite of tools and protocols for the creation propose a decentralized application (DApp) based on and operation of Decentralized Applications (DApps), blockchain technology for sharing Internet of Things (IoT) “applications that run exactly as programmed without any sensors’ data, and demonstrate various challenges addressed possibility of downtime, censorship, fraud or third-party during the development process. This application combines blockchain technology with IoT and operates through smart interference”. It also supports a contract-oriented, high-level, contracts that are executed on the Ethereum blockchain. More Turing-complete programming language [15], allowing specifically the application is a platform for sharing (buying and anyone to write smart contracts and create DApps. -
Versus Decentralized Prediction Markets for Financial Assets
Wolfgang Pacher Centralized- versus Decentralized Prediction Markets for Financial Assets Are blockchain-based prediction market applications simply the better solution to forecasting financial assets? MASTER THESIS submitted in fulfilment of the requirements for the degree of Master of Science Programme: Master's programme Applied Business Administration Branch of study: General Management Alpen-Adria-Universität Klagenfurt Evaluator Assoc.Prof.Mag.Dr. Alexander Brauneis Alpen-Adria-Universität Klagenfurt Institut für Finanzmanagement Klagenfurt, May 2019 Affidavit I hereby declare in lieu of an oath that - the submitted academic paper is entirely my own work and that no auxiliary materials have been used other than those indicated, - I have fully disclosed all assistance received from third parties during the process of writing the thesis, including any significant advice from supervisors, - any contents taken from the works of third parties or my own works that have been included either literally or in spirit have been appropriately marked and the respective source of the information has been clearly identified with precise bibliographical references (e.g. in footnotes), - to date, I have not submitted this paper to an examining authority either in Austria or abroad and that - when passing on copies of the academic thesis (e.g. in bound, printed or digital form), I will ensure that each copy is fully consistent with the submitted digital version. I understand that the digital version of the academic thesis submitted will be used for the purpose of conducting a plagiarism assessment. I am aware that a declaration contrary to the facts will have legal consequences. Wolfgang Pacher m.p. -
Metamask Pre-Assignment
MMS 562F: Tech Driven Transformation MetaMask Pre-Assignment Campbell R. Harvey Duke University and NBER February 2021 Setup • Metamask is a cryptocurrency wallet that is used to interface with the Ethereum-based Apps • We will be setting up this Wallet on your mobile device (iOS or Android only) – If you are unable to use a mobile device, the end of this deck has a web browser tutorial (Page 19) – If you already have MetaMask on your browser, the end of this deck has a tutorial to link your Web Account to the Mobile App (Page 25) Campbell R. Harvey 2021 2 Setup • Download the Metamask app from the App Store or Google Play Store • Click Get Started • Click Create a new wallet • Create a new account by typing in a password of your choosing and pressing “Create” • Go through the prompts to secure your wallet • Store Secret Backup Phrase in a secure location, ideally paper or a password manager – not on your phone or computer. • Type in secret backup phrase Campbell R. Harvey 2021 3 1 Using MetaMask 1. Network • This determines which Ethereum Network you are using. Click on this to see all network options in a 2 dropdown. For this class we will only discuss or use the Main Ethereum Network and the Ropsten Test Network. 3 Campbell R. Harvey 2021 4 1 Using MetaMask 1. Network • The Ethereum Mainnet is where live ether (ETH) with real value exists and is 2 used for payment and applications. I will refer to this as the “main network” or the “mainnet” 3 Campbell R. -
Deviant Decentralized Exchange
DDEEVVXX Deviant Decentralized Exchange A hybrid exchange leveraging Smartcoins on the Bitshares (BTS) blockchain. CONTENTS 03 What is the current landscape for trading crypto assets? 05 Centralized Exchanges 08 Decentralized Exchanges 11 Hybrid Exchanges 13 DEVX Platform 14 Platform Overview 16 DEVX Smart Coin 17 DEVX off-chain engine - The DEVX Transient Protocol (DEVTP) 19 Trading Process 25 What is the status of development / roadmap for these innovations? 26 DEVX Team 03 Crypto assets are here to stay. According to Apple co-founder Steve Wozniak, Bitcoin and WHAT IS THE blockchain will be the next major IT revolution, and will achieve full CURRENT potential in a decade. According to LANDSCAPE FOR Paypal co-founder Peter Thiel, Bitcoin is the next Digital Gold. TRADING CRYPTO Since Bitcoin’s release in 2009, 1,622 altcoin variants have been issued. ASSETS? 2018 has already broken all records with 345 Initial Coin Offerings, and over US$ 7.7 billion of capital raised. DEVX the next revolution 04 Growth in the number of crypto assets has also driven an increase in crypto asset trading, in order to satisfy the requirements of the increasingly numerous universe of holders, investors, arbitrageurs, market makers, speculators and hedgers. There are presently more than 500 crypto asset exchanges to bring together buyers and sellers, where crypto assets are traded for either different digital currencies, or for other assets such as conventional fiat money. These exchanges operate mostly outside Western countries, and range from fully-online platforms to bricks-and-mortar businesses. Currently, almost two thirds of all daily global crypto asset trading volume results from activity on just ten of these exchanges. -
Prism: Scaling Bitcoin by 10000
Prism: Scaling Bitcoin by 10,000× Lei Yang∗ Vivek Bagaria† Gerui Wang‡ Mohammad Alizadeh∗ David Tse† Giulia Fanti§ Pramod Viswanath‡ ABSTRACT and throughput in the blockchain (§4). A recent theoretical paper Bitcoin is the first fully-decentralized permissionless blockchain described the core protocol and analyzed its security properties [6]. protocol to achieve a high level of security: the ledger it maintains While these theoretical results are promising, it is not clear has guaranteed liveness and consistency properties as long as the ad- how well they can translate into real-world performance. First, the versary has less compute power than the honest nodes. However, its Prism consensus protocol is much more complex than the longest throughput is only 7 transactions per second and the confirmation chain protocol: clients must maintain over 1000 distinct blockchains, latency can be up to hours. Prism is a new blockchain protocol that is which refer to each other to create an intricate directed acyclic graph designed to achieve a natural scaling of Bitcoin’s performance while (DAG) structure, and they must process blocks at very high rates maintaining its full security guarantees. We present an implementa- (e.g., 100-1000s of blocks per second at 100s of Mbps) to update these tion of Prism that achieves a throughput of over 70;000 transactions blockchains and confirm transactions. Second, Prism’s theoretical per second and confirmation latency of tens of seconds on networks analysis relies on several simplifying assumptions (e.g., round-based of up to 1000 EC2 Virtual Machines. The code can be found at [5]. -
Blocksci: Design and Applications of a Blockchain Analysis Platform
BlockSci: Design and applications of a blockchain analysis platform Harry Kalodner Steven Goldfeder Alishah Chator [email protected] [email protected] [email protected] Princeton University Princeton University Johns Hopkins University Malte Möser Arvind Narayanan [email protected] [email protected] Princeton University Princeton University ABSTRACT to partition eectively. In fact, we conjecture that the use of a tra- Analysis of blockchain data is useful for both scientic research ditional, distributed transactional database for blockchain analysis and commercial applications. We present BlockSci, an open-source has innite COST [5], in the sense that no level of parallelism can software platform for blockchain analysis. BlockSci is versatile in outperform an optimized single-threaded implementation. its support for dierent blockchains and analysis tasks. It incorpo- BlockSci comes with batteries included. First, it is not limited rates an in-memory, analytical (rather than transactional) database, to Bitcoin: a parsing step converts a variety of blockchains into making it several hundred times faster than existing tools. We a common, compact format. Currently supported blockchains in- describe BlockSci’s design and present four analyses that illustrate clude Bitcoin, Litecoin, Namecoin, and Zcash (Section 2.1). Smart its capabilities. contract platforms such as Ethereum are outside our scope. Second, This is a working paper that accompanies the rst public release BlockSci includes a library of useful analytic and visualization tools, of BlockSci, available at github.com/citp/BlockSci. We seek input such as identifying special transactions (e.g., CoinJoin) and linking from the community to further develop the software and explore addresses to each other based on well-known heuristics (Section other potential applications. -
Accounting for and Auditing of Digital Assets Digital Assets Working Group
Practice aid Accounting for and auditing of digital assets Digital Assets Working Group Accounting Subgroup Matthew Schell, Chair Kevin Jackson Mark Murray Crowe LLP PwC RSM US LLP Michael Bingham Jin Koo Amy Park US Government Accountability BDO USA LLP Deloitte & Touche LLP Office Corey McLaughlin Beth Paul Brian Fields Cohen & Company PwC KPMG LLP Lan Ming Aleks Zabreyko Rahul Gupta Ernst & Young LLP Connor Group Grant Thornton LLP Christopher Moore Crowe LLP Auditing Subgroup Amy Steele, Chair Angie Hipsher-Williams Shelby Murphy Deloitte & Touche LLP Crowe LLP Deloitte & Touche LLP Michael Bingham Michael Kornstein Christian Randall US Government Accountability Office Ernst & Young LLP Cohen & Company Jay Brodish Sara Krople Jay Schulman PwC Crowe LLP RSM US LLP Damon Busse Bryan Martin Robert Sledge Baker Tilly Virchow Krause, LLP BDO USA LLP KPMG LLP Mary Grace Davenport Dylan McDermott Jagruti Solanki PwC Coinbase Aprio Jeremy Goss Grant Thornton LLP AICPA Senior Committees Financial Reporting Executive Committee Angela Newell, Chair Mark Crowley Jeff Sisk Kelly Ardrey Jr. Sean Lager Dusty Stallings Michelle Avery Mark Northan Lynne Triplett Lee Campbell Bill Schneider Mike Winterscheidt Cathy Clarke Rachel Simons Aleks Zabreyko Assurance Services Executive Committee Jim Burton, Chair Mary Grace Davenport Brad Muniz Christine Anderson Chris Halterman Dyan Rohol Daniel Balla Elaine Howle Kimberly Ellison-Taylor Jennifer Burns Bryan Martin Miklos Vasarhelyi Auditing Standards Board Tracy Harding, Chair AICPA staff Diana Krupica, -
Crypto Garage Developed and Executed the Contract of a P2P
April 19, 2019 Crypto Garage, Inc. NEWS RELEASE Crypto Garage Developed and Executed the Contract of a P2P Protocol Based Crypto Asset Derivative Settled in Bitcoin 〜Executed First Derivative Contract with Blockstream〜 Crypto Garage, Inc. (HQ: Tokyo; Representative Director: Masahito Okuma; Crypto Garage), a Fintech company developing blockchain financial services and also a subsidiary of Digital Garage, Inc. (TSE first section: 4819; HQ: Tokyo; Representative Director, President Executive Officer and Group CEO: Kaoru Hayashi; DG) developed a peer-to- peer crypto asset derivative contract protocol and executed a contract based on this protocol on the Bitcoin Blockchain. Blockstream Corporation (HQ: Victoria Canada; CEO: Adam Back; Blockstream), the global leader in blockchain technology and financial cryptography, and Crypto Garage entered into a derivative contract that locks the future Bitcoin price [on a collared basis] in order to hedge the Bitcoin price fluctuation risk against the US dollar. Crypto Garage developed a P2P derivative technology based on the Discreet Log Contracts (https://dci.mit.edu/smart-contracts) that Thaddeus Dryja from MIT Digital Currency Initiatives proposed. This contract is a smart contract applied on the Bitcoin Blockchain and requires the agreement and posting of collateral by both parties. The agreed terms and collateral are defined on the Bitcoin Blockchain. Since settlement is cryptographically secured, this contract minimizes counterparty risk, such as breach of contract and other contract termination events. Contact: Hiroshi Ikemoto, Leo Shiraishi, Corporate Communication Dept., Digital Garage, Inc. Email: [email protected], TEL: +81-3-6367-1101 April 19, 2019 Crypto Garage, Inc. NEWS RELEASE The bitcoin price for the maturity date is determined by the ICE Cryptocurrency Data Feed, as agreed upon by both parties in advance. -
Decentralized Reputation Model and Trust Framework Blockchain and Smart Contracts
IT 18 062 Examensarbete 30 hp December 2018 Decentralized Reputation Model and Trust Framework Blockchain and Smart contracts Sujata Tamang Institutionen för informationsteknologi Department of Information Technology Abstract Decentralized Reputation Model and Trust Framework: Blockchain and Smart contracts Sujata Tamang Teknisk- naturvetenskaplig fakultet UTH-enheten Blockchain technology is being researched in diverse domains for its ability to provide distributed, decentralized and time-stamped Besöksadress: transactions. It is attributed to by its fault-tolerant and zero- Ångströmlaboratoriet Lägerhyddsvägen 1 downtime characteristics with methods to ensure records of immutable Hus 4, Plan 0 data such that its modification is computationally infeasible. Trust frameworks and reputation models of an online interaction system are Postadress: responsible for providing enough information (e.g., in the form of Box 536 751 21 Uppsala trust score) to infer the trustworthiness of interacting entities. The risk of failure or probability of success when interacting with an Telefon: entity relies on the information provided by the reputation system. 018 – 471 30 03 Thus, it is crucial to have an accurate, reliable and immutable trust Telefax: score assigned by the reputation system. The centralized nature of 018 – 471 30 00 current trust systems, however, leaves the valuable information as such prone to both external and internal attacks. This master's thesis Hemsida: project, therefore, studies the use of blockchain technology as an http://www.teknat.uu.se/student infrastructure for an online interaction system that can guarantee a reliable and immutable trust score. It proposes a system of smart contracts that specify the logic for interactions and models trust among pseudonymous identities of the system. -
Bitcoin Scaling Solutions and Their Downsides by Simona Mola and Zhong Zhang (March 6, 2019, 12:35 PM EST)
Portfolio Media. Inc. | 111 West 19th Street, 5th Floor | New York, NY 10011 | www.law360.com Phone: +1 646 783 7100 | Fax: +1 646 783 7161 | [email protected] Bitcoin Scaling Solutions And Their Downsides By Simona Mola and Zhong Zhang (March 6, 2019, 12:35 PM EST) Bitcoin was designed as a decentralized monetary system and an alternative to central banking. Decentralization implies that no one can unilaterally change the way bitcoin works or its transaction history. Since Satoshi Nakamoto released the original bitcoin whitepaper in 2010,[1] reaching and maintaining decentralization has been the priority of all technological developments. To this end, bitcoin relies on its technological design: open source software, public-key cryptography, blockchain data structure, proof-of- work mining and distributed full nodes. Simona Mola However, it is well known that bitcoin has a scalability problem.[2] We have all heard at least once the comparison between bitcoin and Visa in terms of transaction capacity. That is, while Visa handles an average of 150 million transactions per day as of the end of 2018,[3] bitcoin network processes about 280,000 transactions per day.[4] This capacity is not enough to serve as a global digital medium of exchange. Bitcoin Average Transaction Fee in USD Zhong Zhang Besides the comparison with Visa, which may not be quite parallel, bitcoin’s scaling problem is reflected in its average transaction fees. In the situation of greater market demand for bitcoin transactions, the restriction of the block size to 1 MB leads to a higher average wait time before confirmation and thus greater transaction fees. -
Blockchain, a Catalyst for New Approaches in Insurance
Blockchain, a catalyst for new approaches in insurance Thought up as the underlying architecture for the Bitcoin cryptocurrency in 2008, blockchain technology is currently a hot topic and the subject of numerous studies in sectors outside the payments industry to which it has often been confined in the past. Blockchain is considered by some to represent the next technological revolution after the Internet. In fact, the idea of a decentralised, secure and transparent ledger distributed among users can be relevant to many different fields. The insurance industry, with its highly complex processes, could be a major beneficiary of the technology. By removing intermediaries in a new type of arrangement, blockchain technology could completely upend the insurance value chain: - Development/acceleration of new products/markets for which business models were difficult to define until now. - New approaches to underwriting, contracts and claims management, particularly through a combination of smart contracts and the Internet of Things (IoT). - Overhaul of the modus operandi of insurance agreements. - New reinsurance approaches, particularly internal reinsurance via smart contracts. - Transformation of asset management with automated settlement and delivery of intangibles. Use of blockchain should help to cut acquisition, management, documentation and compliance costs. It should help new players enter the market and new markets to emerge, particularly in developing countries. By simplifying use and increasing transparency, it will also help to improve customer satisfaction. Although the upside is significant, several risks should also be anticipated. These include competition with InsurTechs, a legal framework that will need to evolve, and the challenges of rolling out the technology on a large scale.