Astar 백서

Astar

원문

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

he operator’s staking amount is low because ​ q ​ is far from the ideal value. As a result, even if the ratio of Staking to smart contracts increases, the reward paid to Operators is not much different from the ideal state. Also, the lower green line which represents the average annual interest rate of Staking rewards has been reduced, giving the incentive for Staker to take validators to Stake in order to maintain balance. As an extreme example, figure13 shows a graph when ​ q = 1 ​ . ​ 0. At this time, no one has taken Staking for the smart contract, and the reward will be as follows. Rewards ​ stakers ​ validators ​ ​ : ​ ​ Rewards ​ stakers ​ contracts ​ ​ : ​ ​ Rewards ​ operators ​ = 1 : 0 : 0 Figure 13: The inflation graph of ​ q ​ = 1 ​ . ​ 0. When figure13, the green line that represents the average annual rate of reward for Staking is lower than ideal because the reward that the Operator gets is zero and ​ q is far from ideal. In this case, too, Staker creates an incentive to take Stakes on smart contracts to maintain balance. Note that the red line that represents the overall inflation rate and the blue line that represents the inflation rate due to the Staking reward overlap, making the latter invisible. Also, note that these graphs meet the following closings: • The average annual interest functions ​ i ​ staking ​ , i ​ operator ​ are monotonic with respect to x. • The average annual interest functions ​ i ​ staking ​ , i ​ operator ​ maximizes when q is an ideal value. • I ​ Staking ​ , I ​ Operator ​ , I ​ maximize when ​ xandq ​ are both ideal values. • I ​ 0 ​ ​ is the lower limit of the inflation rate. • Always satisfy ​ Rewards ​ staking ​ : ​ Rewards ​ operator ​ = 5 + 1 : 4 = 6 : 4 = 3 : 2 when ​ q ​ is the ideal value. In other words, when ​ q ​ is the ideal value, it satisfies ​ I ​ staking ​ : ​ I ​ operator ​ = 3 : 2. By adding the above-inflation model, we will adjust the incentives of Plasm users and encourage the actions expected of Plasm Network. 13.2 Transaction fee The transaction fee mechanism follows Polkadot’s transaction fee adjustment algorithm[23]. Plasm Network does not have an organization called Treasury to store funds. The network does not manipulate governance funds(Alternative, Plasm Network community address exists). At Polkadot, about 20% of the transaction fee goes to the validator and the rest goes to Treasury. Plasm Network remits about 20% to the validator, while the rest is burned. This serves as a tax levy to secure the value of the currency in tax monetary theory. The value of the token is secured by burning 80% of the transaction fee as a tax. Burning tokens at a fixed rate also restrain the supply inflation in the inflation model described above. 13.3 Validator Staking The Staking and security mechanisms for the Validator follow Polkadot’s NPoS algorithm[27]. 13.4 Collator Staking The collator is responsible for collecting Parachain transactions, monitoring transactions in blocks, and sending block certificates to Relaychain validators. Plasm Network’s Validator acts as a Collator while Plasm Network participates as Polkadot’s Parachain. At this time, the variables in the inflation model are changed according to the demand of Collator. 13.5 PoA Staking PoA is an algorithm that forms consensus only with authenticated validators. Plasm Network initially launches as PoA Network. Initially, the rewards are allocated equally to PoA participants. The reward paid to the validator at this time is the fixed value of ​ Rewards ​ stakers ​ validators in the above-inflation model. After that, validators and users can take Staking. At this time, the variables in the inflation model are changed according to the number of PoA and the situation. Plasm Network plans to seamlessly change the algorithm for securing the chain in the order of PoA to PoA Staking then to Collator and finally Validator Staking (NPoS). 14 Plasm as a Service Plasm as a Service(PlaaS) is a tool to deploy and manage a Plasma child chain easily under the Plasm parachain on Polkadot. Figure14 shows the main screen of Plasm as a Service. Figure 14: Plasm as a Service. "Plasm" is a set of Substrate Runtime Module Libraries (SRML) which makes it easier to use Plasma functions on Substrate. By using Plasm, any developers can make a child chain and deploy a Plasma application. Plasma applications take a di ff erent approach from a traditional approach. The limited capability of a layer 1 smart contract makes many DApps impractical. What Plasma application is doing is making a set of Plasma components mainly on "o ff -chain" and connect them to the main chain. Plasma applications are next-generation technology which gives developers new possibilities. However, Deploying and managing a Plasma application is not easy. As you can see from the figure2, Plasma consists of several components. It is di ffi cult and takes time to implement these components from scratch. Plasma specific knowledge and high technical skills are also needed. To solve these problems, the Plasm team provides a GUI tool which makes it easier to deploy and manage Plapps. 14.1 Functions PlaaS makes it easy to deploy and manage Plasma applications. More specifically, a user can create an application by the following steps. 1. GetStart: Move to the main page to make a Plasma application. 2. Generate Plasma App: Choose a template to make a Plasma application. As a default setting, Plasma Cash[20], one of the Plasma standards for payments is prepared. Other templates like Plasma Prime and Plasma ZK-SNARKs 3. Settings: Fill out application information that is required to run a template. 4. Deploy a Contract and a Child Chain: Deploy the application and child chain that was created at step 3. And, 1. Deploy a smart contract on the parent chain. 2. Deploy a server which has the DB of the child chain. 3. Deploy the operator’s account. 4. Generate the genesis account. 5. Console: Manage the status of the Plapps. Specifically, 1. The status of the parent chain 2. The status of DB on a child chain 3. Operator’s account 4. Registered accounts including the genesis account are controllable. Through the functions listed above, developers can deploy and manage Plasma applications easily. 14.2 Demo You can try a simple PlaaS application. (※​ This demo doesn’t deploy an application ​ )​ https://mock.d3dg769h9ndpcf.amplifyapp.com 15 Conclusion Through the Plasm Project, we provide all developers with new methods to make decentralized and scalable applications, especially on Polkadot. Since the Polkadot relay chain does not support smart contracts, scalable smart contract platforms are necessary to build applications on top of it. Therefore, Plasma makes the Polkadot network more valuable. In addition to that, since it is complicated to make Plasma applications, we have provided Plasm as a Service to make it much easier. All developers will be able to make customized Plasma applications by using Plasm libraries depending on their needs. In terms of Plasm chain, the participant can buy and sell a particular application and its ecosystem like M&A. The individuals are creating not only a Plasma application but also an economy itself. Hence, a Plasma application is more than an application. We are very excited to see the future of the decentralized Plasma ecosystem. 16 Acknowledgment Many thanks go out to Web3 Foundation, the creator of Polkadot and Parity Technologies, the creator of Substrate for making innovative protocols. Thanks to Cryptoeconomics Lab for reviewing and cooperating with us. References [1] Robert B. Reich, “Saving Capitalism: For the Many, Not the Few” ​ https://www.jstage. jst.go.jp/article/lecgsa/15/0/15_139/_pdf/-char/en [2] Mastering BitCoin : ​ https://github.com/bitcoinbook/bitcoinbook [3] Ethereum : ​ https://www.ethereum.org/ [4] Ethereum Transaction Throughput: ​ https://www.coindesk.com/information/ will-ethereum-scale [5] Visa Transaction Throughput: ​ https://hackernoon.com/ the-blockchain-scalability-problem-the-race-for-visa-like-transaction-speed-5cce48f9d44 [6] ALIPAY Transaction Throughput : ​ https://www.barrons.com/articles/ alibaba-records-25-3-billion-in-singles-day-sales-1510538618 [7] Segwit : ​ https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki [8] StateChannel : Je ff Coleman, Liam Horne, and Li Xuanji “Counterfactual: Generalized State Channels”, June 12, 2018, ​ https://l4.ventures/papers/statechannels.pdf [9] Sharding : Loi Luu, Viswesh Narayanan, Chaodong Zheng, Kunal Baweja, Seth Gilbert, Pra-teek Saxena, “A Secure Sharding Protocol For Open Blockchains”, https://www.bubifans. ​ ​ com/ueditor/php/upload/file/20181015/1539597837236127.pdf [10] Plasma : Joseph Poon, Vitalik Buterin, “Plasma: Scalable Autonomous Smart Contracts” August 11, 2017 ​ https://plasma.io/plasma.pdf [11] Ethereum “almost full” as controversial coin gobbles up capac- ity : https://www.bloomberg.com/news/articles/2019-08-26/ ethereum-almost-full-as-controversial-coin-gobbles-up-capacity [12] About Predicate : ​ https://docs.plasma.group/projects/spec/en/latest/src/ 02-contracts/predicate-contract.html [13] OVM, Ben Jones, Karl Floersh, "Optimistic Game Semantics", January, 2020, ​ https:// github.com/plasma-group/website/blob/master/optimistic-game-semantics.pdf [14] Plasma Components ​ https://docs.plasma.group/projects/spec/en/latest/src/ 05-client-architecture/introduction.html [15] Polkadot: DR. GAVIN WOOD, “POLKADOT: VISION FOR A HETEROGENEOUS MULTI-CHAIN FRAMEWORK” ​ https://polkadot.network/PolkaDotPaper.pdf [16] Substrate ​ https://www.parity.io/substrate/ [17] ink! ​ https://github.com/paritytech/ink/wiki [18] PlasmaRust Framework ​ https://github.com/cryptoeconomicslab/ ​ ​ plasma-rust-framework [19] Cryptoeconomics Lab ​ https://www.cryptoeconomicslab.com/
프로젝트로 돌아가기