Orbs 백서

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 11쪽 중 10쪽

ets such as Trezor. On the other hand, Ethereum also has severe limitations on transaction scale caused by high fees, network congestion and low 78 transaction throughput. The inability to scale Kin on top of Ethereum has led the project to consider a migration of the tokens to another blockchain infrastructure. The difficulty with this plan was that the scalable blockchain solutions considered as an alternative to Ethereum did not have the same well integrated ecosystem. Performing a one-way migration to them would jeopardize the ability of some parties to integrate with the token. Instead, a better strategy would be to base the Kin token on a hybrid solution of two blockchains. The first blockchain would be Ethereum, used primarily for its extensive ecosystem of integrations. The second blockchain would be a scalable solution like the Orbs platform. These would be two different implementations of the ​same token. Users would be able to perform a 1:1 swap of tokens between the two implementations and the total amount of circulating tokens on both implementations would always equal the original number of tokens created during the Kin ICO. 79 Polyglot Cross-Chain Contracts It seems that often a better strategy to a one-way migration between token implementations is the addition of a new implementation in parallel. This would provide us with a hybrid solution relying on multiple different blockchains at the same time. Strategy such as this introduces a significant technological challenge - how would we combine multiple different blockchains into one solution? How would they communicate? Traditionally, smart contracts are limited in their ability to access external sources and can only rely on data existing on the blockchain itself. Such is the case with Ethereum contracts for example. This limitation is not surprising because smart contracts operate within a closed system of trust. External data, provided by an entity often labeled as an ​oracle​, simply cannot be trusted like the data stored on chain. The Orbs platform overcomes this inherent limitation of smart contracts by introducing cross-chain contracts​. These smart contracts running on top of Orbs can read data from other blockchains in a secure and trusted way. Just like a smart contract can read variables from the secure on-chain Orbs storage, the smart contract can also read a variable from Ethereum. This expansion opens up an exciting new class of decentralized applications. Applications that can span multiple blockchains and choose the most appropriate one to hold every piece of its data. Another interesting ability made possible with this technology is to seamlessly import smart contracts developed originally for other blockchains directly into the Orbs platform. Consider a system of smart contracts originally designed for Ethereum. Normally, to migrate it to another blockchain infrastructure would require a complete rewrite. The Orbs platform is able to run these existing smart contracts almost as is. Accordingly, the Orbs platform is designed to support the execution of multiple languages of smart contracts. The most popular smart contract language today for smart contracts is Ethereum Solidity . As decentralized applications become mainstream, forcing engineers to 80 transition to specialized languages for smart contract development creates undeniable friction. Orbs’ design supports the development of smart contracts using common and widespread languages such as Python, Java and JavaScript, thus lowering the barrier of development for established brands even further. Because Orbs has lower redundancy of smart contract execution it is okay for the accounting to be loose compared to platforms like Ethereum. This means that it is not limited to languages that compile to custom bytecodes such as Solidity and EVM, which can bill code execution accurate to the opcode level. 80 ​https://solidity.readthedocs.io/en/develop/ 80 Designing for Consumers Brands and Trust In our discussion about consensus we have observed that we cannot practically design a decentralized system for consumers that is completely trustless. This is different from the decentralized ideal behind systems like Bitcoin, where end users are theoretically expected to verify that the client software they use conforms to the protocol by reviewing its source code and compiling it by themselves. Even if an end user downloads a precompiled binary, they are at least theoretically expected to validate that the signature of this binary matches the community consensus. We can assume that the typical consumer is uneducated about cryptocurrencies and these extreme security measures. They are probably not looking to use decentralized consumer products for the idealistic benefits that decentralization and trustlessness provide. Decentralization is a design choice made by applications. Consumers that are using an application are normally unaware whether the application is decentralized or not. We can therefore assume that the relationship between a consumer and the brand providing the product that the consumer is using involves ​trust​. If such a brand would abuse the trust placed in it by its users, for example by leaking secrets like private keys that users must provide to client apps, its image and reputation will suffer the consequences in addition to any legal ramifications. Mobile and Web Clients The delivery mechanisms that can bring a consumer product today to the hands of millions of end users are agnostic as to whether this product is decentralized or not. Consumers are using mobile and web clients almost exclusively. This is different from the primary vehicle for systems like Bitcoin, where end users are theoretically expected to run a client that is also a full fledged node. Only after synchronizing the entire block history can the client truly trust that its perception of state is accurate. 81 DES IGNING FOR CONSUMERS Mobile and web clients do not have this privilege. Storing the entire block history requires significant storage space and the synchronization process takes a long time and ample bandwidth . The resource constraints of mobile and web clients are too severe to make this 81 practical. Therefore, when designing a blockchain system for consumers, we can only rely on what the industry refers to as ​ light clients​ . Such clients connect to one or more ​ full nodes which they can query to read blockchain data or send transactions through. Though they employ some heuristic proofs of the validity of the data they are getting, they do expect to have a certain degree of trust with the nodes they connect to. Orbs mechanisms such as Ordering of Opaque Transactions and ​ Network-Owned Secrets simplify the light client protocol and can significantly reduce the required level of trust. Consumer Patterns of Network Access Consumers also have a typical pattern of network access that may influence infrastructure design. Consumers are likely to access a single account from multiple devices concurrently. For example, on the go they may rely on their mobile phone to access an app, in the office rely on their laptop and at home use a tablet to access the same app. Certain design decisions on the infrastructure layer can make the platform incompatible with such patterns. Consider the use of ​ nonce in transactions on Ethereum. The purpose of the nonce is to assure uniqueness of a transaction and make sure the network does not process the same transaction twice. Ethereum clients need to put sequential numbering in the nonce field that increments on every transaction sent from an account. Ethereum relies on this numbering and will not process a transaction until its predecessor is confirmed. This mechanism is not suited for use by multiple devices concurrently, as the sequence numbering needs to be synchronized across devices. We are working to avoid this complication entirely by using a non-sequential mechanism to add uniqueness to transactions. This comes at a cost of limiting client transactions to an explicit time window of execution, which is an important feature by itself, giving end users a bound to how long a transaction can wait before being either processed or discarded. Another common access pattern by consumers is the transmission of multiple requests in parallel instead of one after the other. Consider a peer-to-peer advertising platform where a group chat user shares an advertisement with the entire group. If the user needs to reward all group members for receiving the content, they would probably transmit multiple transactions in parallel. On Ethereum, confirmation time for each transaction can take 15 seconds . How is 82 the nonce calculated in this case? A standard implementation would be to increment the nonce on the client-side and send all transactions in parallel with sequential nonce numbers. Now, assume that one of the transactions failed for some reason. The platform would not process the subsequent transactions because a transaction having the first unused nonce 81 ​ https://ethereum.stackexchange.com/questions/143/what-are-the-ethereum-disk-space-needs 82 ​ https://etherscan.io/chart/blocktime 82 was not confirmed. This edge condition is once again circumvented on the Orbs platform by using a non-sequential mechanism. Infrastructure Implications of Churn Churn, short for ​ churn rate​ , is a measure of the number of individuals or items moving out of a collective group over a specific period. When applied to consumer applications, churn refers to the proportion of end users who leave and stop using the product during a given time period. This may be to due to a variety of reasons like customer dissatisfaction, better alternatives from competition, disappearance amongst the noise and a generally shrinking attention span. Churn is a fact of life in the consumer space. It is not uncommon for consumer products to lose the vast majority of their user base to churn. Figures like 5% of all registered users are active in a given month are within the norm and illustrate just how severe the phenomenon is. When the decentralized app being developed involves a token that consumers use, churn is likely to dictate how distribution behaves over time. As the number of users lost to churn increases monotonously, so does the number of tokens left inaccessible inside the wallets that they possessed. Since the supply of such tokens is often limited, we may discover eventually that the majority of tokens end up locked forever out of circulation. This is problematic from another aspect as well, since the bootstrap of such token economies usually relies on stimulus in the form of subsidies - where large amounts of tokens are distributed to groups of consumers in order to spark a critical mass of use. We may discover that the bulk of the amount used for subsidies ends up in the hands of users who will never use it. Careful design of the token protocol layer can go a long way towards dealing with churn gracefully. We’ll show this with a simplified example. Suppose that the token smart contracts allow recycling of introductory subsidies back to the subsidizing body, in case the wallet was not used in the 12 months following the subsidy. This behavior, although crude, will eliminate the problem of churn quite effectively. Normally, giving someone the permission to reclaim funds out of a user’s account creates a risk of embezzlement. But in this case the rules for recycling are clear and transparent, and enforced by a decentralized smart contract, so nobody is in control of the users’ funds. Consumer Apps and Open Source Blockchain solutions, such as the Orbs platform, are normally open source and have a permissive intellectual property policy. Nevertheless, there are dozens of different open source licenses and the particular choice of license may affect how applicable it is for the consumer app use case. Consumer brands can be very particular about their use of open source licenses. Any open source technology used by these brands must be careful to allow them to protect their assets, 83 particularly, reliance on the GPL family of open source licenses may impact a brand’s ability 83 to incorporate this code in a closed source asset such as its mobile app. This family of licenses is popular in many blockchain projects like Ethereum. GPL licenses are ​ copyleft​ , meaning that software that is derived from GPL-licensed code is required to adopt the same license. If a closed source app, for example, is using a GPL-licensed library, it is in risk of being required to open source itself - a legal liability that most brands will not accept. The Orbs platform has a clear open source policy and relies within its ecosystem only on the MIT license . This is one of the most permissive open source licenses available which 84 explicitly makes no impact on consumer apps and their commercial assets. Unlike GPL, MIT-licensed software can be used in commercial closed source applications without any limitation. The Problem of Private Keys Cryptocurrencies have yet to penetrate the mainstream consumer market. For comparison, Facebook, one of the top consumer products today, has a reach of over 2 billion users worldwide . The total number of users worldwide who have ever operated a cryptocurrency 85 wallet is only estimated under 20 million . This gap stems from a multitude of reasons, one of 86 which is a severe technical barrier of entry. Access to a cryptocurrency wallet is synonymous with knowing a single secret - the wallet’s private key​ . This key is immutable and cannot be recovered if lost. In order to protect the wallet against attempts to guess the key with brute force, a high degree of entropy is commonly used; Bitcoin wallets, for example, use 256 bit keys. Safeguarding such private keys from being stolen or lost is not an easy task. Consumers are not capable of maintaining the procedures required to manage and protect strong cryptographic keys as large organizations do, and do only moderately well with simple authentication methods, such as passwords, PIN codes, recovery questions, biometrics etc. Simple authentications by themselves are not safe for protecting valuable assets, such as identities or large funds, and are usually used as part of an authentication protocol that includes actions in the “real world”, such as delays, fallback between different authentication challenges (for example, try PIN code, or fall back to security questions), multi-factor authentication, access notifications, timelocks, and more. Current technology only enables such protocols to be executed on centralized repositories (i.e. a bank’s computer system can enforce a delay between failed PIN code entry attempts, but decentralized blockchains cannot). 83 ​ https://en.wikipedia.org/wiki/GNU_General_Public_License 84 ​ https://en.wikipedia.org/wiki/MIT_License 85 ​ https://newsroom.fb.com/company-info/ 86 ​ http://jbs.cam.ac.uk/faculty-research/centres/alternative-finance/publications/global-cryptocurrency 84 Decentralized Secret Bearing One of the unique novelties in the Orbs platform is that it enables the platform to store and use secrets, particularly secret cryptographic keys. This is done using novel protocols that make use of secret sharing and threshold cryptography, enabling operations like signing or decrypting a document with the decentrally-stored key. This functionality opens the door to a plethora of interesting business cases: signing a blockchain’s state with a single canonical signature, signing transactions to be executed on other blockchains, notarizing the state of other (connected) blockchains, signing API calls for 3rd-party infrastructure, and many more. An interesting use-case for decentralized secret bearing is saving cryptographically-strong private keys in a decentralized way and enforcing a secure authentication protocol which may include delays, multi-factor authentication and other methods popular with consumers - on a decentralized platform. Full details about this mechanism are published in a separate technical white paper. 85 The Orbs Federation The network built around the Orbs platform is envisioned as a community of ecosystem participants, primarily comprised of organizations that make the target audience of Orbs - decentralized consumer businesses and established consumer brands transitioning into blockchain. For example, organizations like PumaPay, Zinc or Kin and companies like ironSource and Kik Interactive. This collection of organizations and companies is aligned as independent but equal members of a ​federation​. The primary roles of members in the Orbs federation include: ● Operating ​consensus nodesin the network and actively participating in the consensus process. ● Contributing to the open source development of Orbs and evolving the platform over time as their own requirements come to light. ● Providing decentralized governance for the platform such as reaching consensus over core updates to the protocol. Pre-launch Design Partners The Orbs platform is initially designed in a requirements-driven approach through close work with a set of ​design partners​. The production requirements of these design partners shape the iterative process by which the system is designed. The initial design partners also act as the founding members of the Orbs federation and operate the first set of consensus nodes. This first set also acts as the first customers of the platform and the developers of the first decentralized applications that run on top of it. The collaboration process with design partners is designed to be completely open and transparent. All insights learned in the process are published on public channels for the benefit of the Orbs community. The Orbs reference implementation codebase is an open source project maintained publicly on GitHub . The code is provided with the permissive MIT license 87 87 ​https://github.com/orbs-network 86 THE O RBS FEDERATION for free public use. New members of the Orbs ecosystem are encouraged to contribute to the codebase and become active members of the Orbs federation by running nodes. The role of the Orbs project is kicking off this new ecosystem. The initial design is proposed to the Orbs community by publishing this position paper and a set of technical white papers, and by providing the first reference open source implementation for the community to build on. When the protocol is well defined, the platform can launch. This initial design also provides the scaffold for decentralized governance which will steer the platform once the federation is formed. True to its decentralized nature, the platform will not be governed by a single entity like the Orbs project and its founding team. Beyond a leadership role in the early days of pre-launch, the Orbs project will not be involved in ongoing governance but will continue research and development in the field, like other participants, and propose protocol modifications for the federation to evaluate. Governance The model of a federation has been established in the industry and demonstrated in principle in projects like Stellar and Ripple. Contrary to a ​consortium​, where a centralized governing body adds each chosen member to the collective, a ​federation has no point of centralized governance. Organizations and companies can join the collective by approaching some of the existing members and asking them for sponsorship. Once a new member is designated by other members, they gain their initial status. One of the primary roles of a federation member is operating a consensus node. A consensus node is elected to participate in the consensus process of a vir
프로젝트로 돌아가기