BGX Bluepaper MOCK

Total Page:16

File Type:pdf, Size:1020Kb

BGX Bluepaper MOCK ABSTRACT V 1.0 2018.03.27 BGX Blue Paper, v 3.0 Breaking Down of the BGX Platform Technology BGX_BLUEPAPER_3.0 0 ABSTRACT V 3.0 2019.01.09 ABSTRACT This document describes the technological understanding of the BGX Platform, the integrative distributed ledger for a new generation of business networks. The first open- source distributed ledger focusing on digital assets, BGX provides a seamless and easy integration between businesses – using decentralization to construct shared economic mini-ecosystems. The core differentiators of the transformative BGX distributed network is the hierar- chal topology of nodes, the ability to exchange digital assets in reloadable transactions, not just currency, the anchoring of the system, its unique API capabilities, and the dual token system. Among particular importance is the F-BFT Consensus that enables the hierarchal topology, as well as unlimited horizontal and vertical scalability of the network’s through- put. The data processed by the network is placed in a special structure of the DAG (Di- rected Acyclic Graph) instead of blocks; it has the ability to grow in several directions simultaneously, unlike a blockchain. The main theses of the presented model: • Commitment to open and decentralized solutions that allow the use of tech- nology for the benefit of society, aimed at safety and free use; • The main technological solutions essentially depend on the business model and the customer value proposition, the technology and architecture should be maximally harmonized with business priorities; • There is no universal panacea for building the architecture of a modern dis- tributed technological system; to build sustainable solutions, it is necessary to find a compromise between scaling, security, decentralization and the cost of the solution; • The blockchain revolution continues, in addition to popular first-generation networks such as Ethereum and Blockchain, advanced solutions such as IOTA, HASHGRAPH / HEDERA and STELLAR appear. The computational model of new solutions must be based on rigorous mathematical concepts and use provable approaches. The BGX NetworkBGX_BLUEPAPER_3.0 1 CONTENT V 1.0 2018.03.27 CONTENT ABSTRACT ......................................................................................................................................... 1 CONTENT .......................................................................................................................................... 2 1 INTRODUCTION ......................................................................................................................... 4 1.1 BGX Project Scope ............................................................................................................. 4 1.2 BGX Group Innovation Approach ...................................................................................... 4 1.3 Blockchain 3.0 ................................................................................................................... 5 1.4 The BGX Platform .............................................................................................................. 7 1.4.1 The BGX function ......................................................................................................... 7 1.4.2 Platform tokenization .................................................................................................. 8 1.4.3 Usage scenarios ........................................................................................................... 9 1.4.4 Content of the platform ............................................................................................. 12 1.5 Outlook on the blockchain market of 2019 .................................................................... 13 2 TRANSACTIONAL SUB-SYSTEM ................................................................................................ 13 2.1 Payment Process ............................................................................................................. 13 2.1.1 BGX Platform as a Payment System........................................................................... 13 2.1.2 Stable coin approach ................................................................................................. 15 2.1.3 Payment scenarios ........................................................ Error! Bookmark not defined. 2.1.4 Life cycle of the transaction ....................................................................................... 15 2.2 Prerequisites for the formation of a consensus protocol ............................................... 18 2.2.1 Bitcoin Blockchain and its mechanisms for protection .............................................. 18 2.2.2 The Byzantine Generals Problem ............................................................................... 19 2.2.3 Implementation of the consensus mechanism .......................................................... 19 2.2.4 Scalability attempts ................................................................................................... 21 2.2.5 Consensus models in distributed systems ................................................................. 22 2.2.6 Approach of BGX Processing ...................................................................................... 25 2.3 BGX Payment Protocol .................................................................................................... 29 2.3.1 Internal and External Processing ............................................................................... 29 2.3.2 Transaction Structure ................................................................................................ 29 2.3.3 Hashing and Signing of Transaction ........................................................................... 30 2.3.4 Validation and verification of transactions ................................................................ 30 2.3.5 The Base Layer ........................................................................................................... 30 2.3.6 Algorithm protection ................................................................................................. 31 BGX_BLUEPAPER_3.0 2 CONTENT V 3.0 2019.01.09 3 ARTIFICIAL INTELLIGENCE ....................................................................................................... 32 3.1 Machine Learning Approach ........................................................................................... 32 3.2 BGX Fraud Detection Math Model .................................................................................. 34 3.2.1 Model Inception ......................................................................................................... 34 3.2.2 Fuzzy Neural Network ................................................................................................ 36 3.2.3 The Resume ............................................................................................................... 39 4 PLATFORM ARCHITECTURE ..................................................................................................... 40 4.1 Design Approach ............................................................................................................. 40 4.1.1 Architecture as a Policy .............................................................................................. 40 4.1.2 Business Process Overview ........................................................................................ 42 4.1.3 Referencearchitecture ............................................................................................... 44 4.1.4 Stakeholders and Actors ............................................................................................ 48 4.1.5 Assumptions ............................................................................................................... 49 4.2 BGX Network ................................................................................................................... 49 4.2.1 BGX Node ................................................................................................................... 49 4.2.2 Node Interactions ...................................................................................................... 51 4.2.3 Transaction Verification ............................................................................................. 53 4.2.4 Node Authorization Channel ..................................................................................... 54 4.3 User privacy..................................................................................................................... 55 4.4 Interoperability ............................................................................................................... 56 APPLICATION 1: CONSENSUS TYPE ............................................................................................... 58 APPLICATION 2: DISTRIBUTED TRANSACTION SYTEMS ATTACKS .................................................. 60 APPLICATION 3: DECENTRALIZATION PLATFORM DESIGN DESCISION .......................................... 61 APPLICATION 4 KEY TERMS ............................................................................................................ 61 The BGX NetworkBGX_BLUEPAPER_3.0 3 INTRODUCTION V 3.0 2019.01.09 1 INTRODUCTION 1.1 BGX Project Scope BGX is a decentralized solution that eliminates intermediaries and excess costs, while allowing businesses to easily attract new partners. BGX is irreplaceable
Recommended publications
  • Coinbase Explores Crypto ETF (9/6) Coinbase Spoke to Asset Manager Blackrock About Creating a Crypto ETF, Business Insider Reports
    Crypto Week in Review (9/1-9/7) Goldman Sachs CFO Denies Crypto Strategy Shift (9/6) GS CFO Marty Chavez addressed claims from an unsubstantiated report earlier this week that the firm may be delaying previous plans to open a crypto trading desk, calling the report “fake news”. Coinbase Explores Crypto ETF (9/6) Coinbase spoke to asset manager BlackRock about creating a crypto ETF, Business Insider reports. While the current status of the discussions is unclear, BlackRock is said to have “no interest in being a crypto fund issuer,” and SEC approval in the near term remains uncertain. Looking ahead, the Wednesday confirmation of Trump nominee Elad Roisman has the potential to tip the scales towards a more favorable cryptoasset approach. Twitter CEO Comments on Blockchain (9/5) Twitter CEO Jack Dorsey, speaking in a congressional hearing, indicated that blockchain technology could prove useful for “distributed trust and distributed enforcement.” The platform, given its struggles with how best to address fraud, harassment, and other misuse, could be a prime testing ground for decentralized identity solutions. Ripio Facilitates Peer-to-Peer Loans (9/5) Ripio began to facilitate blockchain powered peer-to-peer loans, available to wallet users in Argentina, Mexico, and Brazil. The loans, which utilize the Ripple Credit Network (RCN) token, are funded in RCN and dispensed to users in fiat through a network of local partners. Since all details of the loan and payments are recorded on the Ethereum blockchain, the solution could contribute to wider access to credit for the unbanked. IBM’s Payment Protocol Out of Beta (9/4) Blockchain World Wire, a global blockchain based payments network by IBM, is out of beta, CoinDesk reports.
    [Show full text]
  • A Survey on Volatility Fluctuations in the Decentralized Cryptocurrency Financial Assets
    Journal of Risk and Financial Management Review A Survey on Volatility Fluctuations in the Decentralized Cryptocurrency Financial Assets Nikolaos A. Kyriazis Department of Economics, University of Thessaly, 38333 Volos, Greece; [email protected] Abstract: This study is an integrated survey of GARCH methodologies applications on 67 empirical papers that focus on cryptocurrencies. More sophisticated GARCH models are found to better explain the fluctuations in the volatility of cryptocurrencies. The main characteristics and the optimal approaches for modeling returns and volatility of cryptocurrencies are under scrutiny. Moreover, emphasis is placed on interconnectedness and hedging and/or diversifying abilities, measurement of profit-making and risk, efficiency and herding behavior. This leads to fruitful results and sheds light on a broad spectrum of aspects. In-depth analysis is provided of the speculative character of digital currencies and the possibility of improvement of the risk–return trade-off in investors’ portfolios. Overall, it is found that the inclusion of Bitcoin in portfolios with conventional assets could significantly improve the risk–return trade-off of investors’ decisions. Results on whether Bitcoin resembles gold are split. The same is true about whether Bitcoins volatility presents larger reactions to positive or negative shocks. Cryptocurrency markets are found not to be efficient. This study provides a roadmap for researchers and investors as well as authorities. Keywords: decentralized cryptocurrency; Bitcoin; survey; volatility modelling Citation: Kyriazis, Nikolaos A. 2021. A Survey on Volatility Fluctuations in the Decentralized Cryptocurrency Financial Assets. Journal of Risk and 1. Introduction Financial Management 14: 293. The continuing evolution of cryptocurrency markets and exchanges during the last few https://doi.org/10.3390/jrfm years has aroused sparkling interest amid academic researchers, monetary policymakers, 14070293 regulators, investors and the financial press.
    [Show full text]
  • List of Cryptoassets That Can Be Legally Traded in Indonesia
    List of Cryptoassets That Can Be Legally Traded in Indonesia Approved cryptoassets under Bappebti Regulation No. 7 of 2020 regarding the Stipulation of the List of Cryptoassets that Are Allowed to Be Traded in the Cryptoasset Physical Market. 1. Bitcoin 81. Verge 161. Storm 2. Ethereum 82. Pax gold 162. Vertcoin 3. Tether 83. Matic network 163. Ttc 4. Xrp/ripple 84. Kava 164. Metadium 5. Bitcoin cash 85. Komodo 165. Pumapay 6. Binance coin 86. Steem 166. Nav coin 7. Polkadot 87. Aelf 167. Dmarket 8. Chainlink 88. Fantom 168. Spendcoin 9. Lightcoin 89. Horizen 169. Tael 10. Bitcoin sv 90. Ardor 170. Burst 11. Litecoin 91. Hive 171. Gifto 12. Crypto.com coin 92. Enigma 172. Sentinel protocol 13. Usd coin 93. V. Systems 173. Quantum resistant ledger 14. Eos 94. Z coin 174. Digix gold token 15. Tron 95. Wax 175. Blocknet 16. Cardano 96. Stratis 176. District0x 17. Tezos 97. Ankr 177. Propy 18. Stellar 98. Ark 178. Eminer 19. Neo 99. Syscoin 179. Ost 20. Nem 100. Power ledger 180. Steamdollar 21. Cosmos 101. Stasis euro 181. Particl 22. Wrapped bitcoin 102. Harmony 182. Data 23. Iota 103. Pundi x 183. Sirinlabs 24. Vechain 104. Solve.care 184. Tokenomy 25. Dash 105. Gxchain 185. Digitalnote 26. Ehtereum classic 106. Coti 186. Abyss token 27. Yearn.finance 107. Origin protokol 187. Cake 28. Theta 108. Xinfin network 188. Veriblock 29. Binance usd 109. Btu protocol 189. Hydro 30. Omg network 110. Dad 190. Viberate 31. Maker 111. Orion protocol 191. Rupiahtoken 32. Ontology 112. Cortex 192.
    [Show full text]
  • How Global Is the Cryptocurrency Market?
    How Global Is The Cryptocurrency Market? Gina C. Pieters Trinity University, Economics Department, San Antonio, Texas, USA University of Cambridge, Judge Business School|Cambridge Centre for Alternative Finance, UK Abstract Despite the size and global reach of crypto-markets we dont know how much individual countries have invested in cryptos (market exposure), what share of the market individual countries account for (market power), or how those two measures are related. Movements originating in high market power countries will impact high exposure countries, representing a new channel for financial contagion. This paper constructs multiple estimates of exposure and power, using purchases by state-issued currencies and including adjustments to account for the purchase of cryptocurrencies by other cryptocurrencies. All measures find that the market is highly concentrated in just three currencies|the US dollar, the South Korean Won, and the Japanese Yen account for over 90% of all crypto transactions. Market expo- sure and market power cannot be explained by economic size, income, financial openness, domestic stock market size, or internet access. This analysis also reveals that a country's Bitcoin market share is not representative of a country's crypto-market share: a warning for regulators or researchers focused exclusively on Bitcoin markets. Keywords: Bitcoin; Cryptocurrencies; International Asset Market. JEL Codes: E50, F20, F33, G15 Email address: [email protected] ( Gina C. Pieters) 1. Introduction The FSB's initial assessment is that crypto-assets do not pose risks to global financial stability at this time. This is in part because they are small relative to the financial system. Even at their recent peak, their combined global market value was less than 1% of global GDP.
    [Show full text]
  • Next Steps in the Evolution of Decentralized Oracle Networks
    Chainlink 2.0: Next Steps in the Evolution of Decentralized Oracle Networks Lorenz Breidenbach1 Christian Cachin2 Benedict Chan1 Alex Coventry1 Steve Ellis1 Ari Juels3 Farinaz Koushanfar4 Andrew Miller5 Brendan Magauran1 Daniel Moroz6 Sergey Nazarov1 Alexandru Topliceanu1 Florian Tram`er7 Fan Zhang8 15 April 2021 v1.0 1Chainlink Labs 2The author is a faculty member at University of Bern. He co-authored this work in his separate capacity as an advisor to Chainlink Labs. 3The author is a faculty member at Cornell Tech. He co-authored this work in his separate capacity as Chief Scientist at Chainlink Labs. 4The author is a faculty member at University of California, San Diego. She co-authored this work in her separate capacity as an advisor to Chainlink Labs. 5The author is a faculty member at University of Illinois Urbana-Champaign. He co-authored this work in his separate capacity as an advisor on Chainlink. 6The author is a PhD candidate at Harvard University. He co-authored this work while on leave from Harvard, in his capacity as a researcher at Chainlink Labs. 7The author is a PhD candidate at Stanford University. He co-authored this work in his separate capacity as an advisor to Chainlink Labs. 8The author will be joining the faculty of Duke University in fall 2021. He co-authored this work in his current capacity as a researcher at Chainlink Labs. 1 Abstract In this whitepaper, we articulate a vision for the evolution of Chainlink be- yond its initial conception in the original Chainlink whitepaper. We foresee an increasingly expansive role for oracle networks, one in which they comple- ment and enhance existing and new blockchains by providing fast, reliable, and confidentiality-preserving universal connectivity and off-chain computation for smart contracts.
    [Show full text]
  • A General Taxonomy for Cryptographic Assets
    bravenewcoin.com Table of contents 3 About 4 Foreword 5 Author Profile 6 General Taxonomy: An Overview 7 General Taxonomy Structure 8 Section I: Cryptographic Assets – The new ‘Superclass’ 14 Section II: General Taxonomy Key Metrics for General Crypto Assets 19 Section III: General Taxonomy for Cryptographic Assets Visualization 24 References 25 Contact About Brave New Coin Brave New Coin’s mission is to be the leader in delivering the most accurate, accessible, and comprehensive blockchain data solutions and insights, in ways that anticipate and respond to the needs of an evolving market. BNC is committed to providing the type of trusted information, technical analysis and research that will empower and inform stakeholders across the cryptographic asset marketplace. To that end, The General Taxonomy for Cryptographic Assets has been curated to deliver on the goal of a comprehensive asset classification system which provides a common frame-of-reference for all sector participants. Foreword Today the cryptographic asset sector’s market capitalization is in the hundreds of billions, with a rapidly evolving user community. Since establishing Brave New Coin in 2014 it has been our goal to provide the data, tools and insights needed to support this market as it matures into a dominant asset class. BNC has created the General Taxonomy in response to community requests for greater sector transparency and a uniform classification system for the ever-expanding universe of cryptographic assets. Its intended audience is: Asset Managers Regulators Product Owners Researchers Developers Industry Executives At BNC we want to support an engaged user community and we encourage you to explore, share and utilize the General Taxonomy you see fit.* Finally, I want to add that this document is just the beginning and we welcome your feedback on how we can continue to improve the taxonomy and its relevance to you and your industry sector.
    [Show full text]
  • Momentum/Contrarian Strategy and Volatility of Cryptocurrencies
    Erasmus School of Economics Bachelor Thesis International Bachelor of Economics and Business Economics Momentum/Contrarian Strategy and Volatility of Cryptocurrencies Li Huang, B.Sc. Candidate, CFA Level I Passed Student ID: 428126lh Supervisor: Assistant Professor Laurens Swinkels, Ph.D. Co-assessor: Jorn Zenhorst, Ph.D. 28/08/2018 1 Contents 1. Introduction ............................................................................................................. 3 2. Literature Review .................................................................................................. 10 3. Data and Methodology ......................................................................................... 16 3.1 Cross-Sectional Momentum and Contrarian...................................................... 16 3.2 Time Series Momentum and Contrarian ......................................................... 21 i). Basic Regression .............................................................................................. 21 ii). Sign Regression .............................................................................................. 24 iii). Historical Profitability .................................................................................... 25 3.3 Variance Determination ..................................................................................... 27 3.4 Factors for Variance Prediction .......................................................................... 33 4. Results .....................................................................................................................
    [Show full text]
  • Blockchain Characteristics and the Cross-Section of Cryptocurrency Returns
    DISCUSSION PAPER SERIES DP13724 (v. 8) Blockchain Characteristics and the Cross-Section of Cryptocurrency Returns Siddharth Bhambhwani, Stefanos Delikouras and George Korniotis FINANCIAL ECONOMICS ISSN 0265-8003 Blockchain Characteristics and the Cross-Section of Cryptocurrency Returns Siddharth Bhambhwani, Stefanos Delikouras and George Korniotis Discussion Paper DP13724 First Published 09 May 2019 This Revision 23 July 2021 Centre for Economic Policy Research 33 Great Sutton Street, London EC1V 0DX, UK Tel: +44 (0)20 7183 8801 www.cepr.org This Discussion Paper is issued under the auspices of the Centre’s research programmes: Financial Economics Any opinions expressed here are those of the author(s) and not those of the Centre for Economic Policy Research. Research disseminated by CEPR may include views on policy, but the Centre itself takes no institutional policy positions. The Centre for Economic Policy Research was established in 1983 as an educational charity, to promote independent analysis and public discussion of open economies and the relations among them. It is pluralist and non-partisan, bringing economic research to bear on the analysis of medium- and long-run policy questions. These Discussion Papers often represent preliminary or incomplete work, circulated to encourage discussion and comment. Citation and use of such a paper should take account of its provisional character. Copyright: Siddharth Bhambhwani, Stefanos Delikouras and George Korniotis Blockchain Characteristics and the Cross-Section of Cryptocurrency Returns Abstract We show that cryptocurrency returns relate to asset pricing factors derived from two blockchain characteristics, growth in aggregate computing power and network size. Consistent with theoretical models, cryptocurrency returns have positive risk exposures to these blockchain-based factors, which carry positive risk prices.
    [Show full text]
  • Blockchain Consensus Algorithms: a Survey
    1 Blockchain Consensus Algorithms: A Survey Md Sadek Ferdous, Member, IEEE, Mohammad Jabed Morshed Chowdhury, Mohammad A. Hoque, Member, IEEE, and Alan Colman F Abstract—In recent years, blockchain technology has received unpar- of Bitcoin [1] that was introduced in 2008. While crypto- alleled attention from academia, industry, and governments all around currencies have emerged as the principal and the most pop- the world. It is considered a technological breakthrough anticipated to ular application of blockchain technology, many enthusiasts disrupt several application domains touching all spheres of our lives. from different disciplines have identified and proposed a The sky-rocket anticipation of its potential has caused a wide-scale plethora of applications of blockchain in a multitude of exploration of its usage in different application domains. This has resul- ted in a plethora of blockchain systems for various purposes. However, application domains [2], [3]. The possibility of exploiting many of these blockchain systems suffer from serious shortcomings blockchain in so many areas has created huge anticipation related to their performance and security, which need to be addressed surrounding blockchain systems. Indeed, it is regarded as before any wide-scale adoption can be achieved. A crucial component one of the fundamental technologies to revolutionise the of any blockchain system is its underlying consensus algorithm, which landscapes of the identified application domains. in many ways, determines its performance and security. Therefore, to A blockchain system is, fundamentally, a distributed address the limitations of different blockchain systems, several existing system that relies on a consensus algorithm that ensures as well novel consensus algorithms have been introduced.
    [Show full text]
  • Working Papers No
    UNIVERSITY OF WARSAW FACULTY OF ECONOMIC SCIENCES Working Papers No. 15/2019 (300) LÉVY PROCESSES ON THE CRYPTOCURRENCY MARKET DAMIAN ZIĘBA Warsaw 2019 WORKING PAPERS 15/2019 (300) Lévy processes on the cryptocurrency market Damian Zięba University of Warsaw, Faculty of Economic Sciences [email protected] Abstract: Lévy processes are very often used in financial modelling since they address various characteristics of financial data. One of those characteristics is the heavy-tailedness of probability density functions - a very common empirical stylized fact on the cryptocurrency market. The aim of this study was to determine which type of Lévy motion fits the data of cryptocurrencies better, namely Alpha-Stable distribution or one of distributions from the family of generalized hyperbolic motions. The log-returns of 227 cryptocurrencies, standardized by the realized volatility estimated with the GARCH (1,1), were fitted to 11 types of distributions. The results show that the generalized hyperbolic motions fit the cryptocurrency data much more accurately than the Alpha-Stable distribution, similarly as in the case of TOP100 NASDAQ stocks. In the further stage of the analysis, it is shown how the distribution of cryptocurrency data varies over time, i.e. before, during, and after the ‘boom-period’ of 2017/2018. Keywords: cryptocurrency market, distribution fitting, Generalized Hyperbolic distribution, Alpha-Stable distribution, Lévy process JEL codes: C10, C30, G15 Acknowledgments: I would like to gratefully acknowledge prof. Wojciech Charemza for his meaningful comments which helped to improve the paper. Working Papers contain preliminary research results. Please consider this when citing the paper. Please contact the authors to give comments or to obtain revised version.
    [Show full text]
  • Stealth Address, Ring Signatures, Monero Comparison to Zero.Cash
    Anonymous Crypto Currency Stealth Address, Ring Signatures, Monero Comparison to Zero.Cash 60 M$ Nicolas T. Courtois 17 B$ with help of Rebekah Mercer, Huanyu Ma, Mary Maller 300 M$ - University College London, UK Crypto Coin Privacy Topics $ Bitcoin vs. Monero vs. ZCash Chaum e-cash Privacy / anonymity: – for senders [Ring Signatures,ZK proofs] – for receivers [Stealth Address methods] – for the transaction amount [CT]X CT=Confidential Transactions, not studied here 2 Nicolas T. Courtois 2013-2016 PK-based currencies blockchain says: 1 coin belongs to pkA t t+1 t+2 blockchain …. ….………………. 5 Crypto Coin Privacy Pb In Bitcoin Q: Does Monero/ZCash remove this problem???? 4 Nicolas T. Courtois 2009-2016 **Bitcoin vs. Monero private key = b spend key b view key v public PK= b.G spend pub B=b.G view pub V=v.G H(PK) => 01… One Time Destination key H(r.V).G+B, R same user? PK1 PK random R=r.G 2 Tracking 0.29394 BTC 1.74582 BTC publish R with tx key v, B Transaction 1OO MNR to D21… H(PK3) H(PK4) 1.99 BTC same user? 1OO MNR to 2A7… 1OOO MNR 1OO MNR to Z93… 1OO MNR to P32… Advanced Crypto Magic 5 Commitments are used to Shield Coins: , 6 nobody can see what is inside. only the owner can open , they NEVER actually get opened 6 ZCash = a Large Scale Mixer “normal” yellow coins are “destroyed” and they exist as a mix of coins “normal” coins or “shielded” coins like in bitcoin many coins one of the coins that from many ? is on the ledger is pk_i are placed “re-born” and sent on the ledger to , but it is (via an algorithm called ) “normal” coin impossible to tell like in bitcoin which one? 5 Double Spending? cannot be done twice! S is revealed , r remains secret 6 Digital Signatures Zero-Knowledge 0.
    [Show full text]
  • 14. Lightning Network and Cross-Chain Swaps
    MITOCW | 14. Lightning Network and Cross-chain Swaps The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational resources for free. To make a donation or to view additional materials from hundreds of MIT courses, visit MIT OpenCourseWare at ocw.mit.edu. TADGE DRYJA: Last class, I talked about payment channels and lightning network. So today we'll talk a bit more about payment channels. We'll recap a little bit, and we'll talk about some optimizations, one of which is key addition, the other is hash trees. And then we'll talk about cross-chain swaps or cross-chain atomic swaps. OK, so last time, the sort of main idea of these payment channels is you've got this commitment transaction and each party holds a sort of different transaction that has the same amounts but slightly different scripts. So it's spending from a shared funding transaction. And it's sending out to-- the one that's held by Alice on her hard drive sends to Bob in the clear. Bob just gets his eight coins with no ifs, ands, or buts. However, when Alice broadcasts this, she needs to wait 100 blocks. She needs to wait a day. And if she reveals this key to Bob, now Bob can use Bob's key in this revocable key, and Bob can get these coins immediately. And the opposite is for Bob. So when Bob has his transaction, it's got Alice's signature. He doesn't store his own, because he can just compute it quickly.
    [Show full text]