欢迎来到环境100文库! | 帮助中心 分享价值,成长自我!

环境100文库

换一换
首页 环境100文库 > 资源分类 > PDF文档下载
 

PPY(peerplay)白皮书.pdf

  • 资源ID:3483       资源大小:448.76KB        全文页数:12页
  • 资源格式: PDF        下载权限:游客/注册会员/VIP会员    下载费用:10碳币 【人民币10元】
快捷注册下载 游客一键下载
会员登录下载
三方登录下载: 微信开放平台登录 QQ登录   微博登录  
下载资源需要10碳币 【人民币10元】
邮箱/手机:
温馨提示:
支付成功后,系统会自动生成账号(用户名和密码都是您填写的邮箱或者手机号),方便下次登录下载和查询订单;
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,既可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰   

PPY(peerplay)白皮书.pdf

Peerplays A Provably Fair Blockchain-Based Gaming Plat Jonathan Baha’i, Michael P. Maloney May 2016 Abstract The online betting and gambling industry has been constantly plagued with accusations of fraudandcheatingbybothplayersandsystemadministrators.IntheUnitedStatesalone,over a dozen online gaming sites have either gone bankrupt or been forcefully shut down by authorities since 2011, resultingintens of millions of dollars indeposits that haveyet tobe returned to players. Despite these setbacks, the industry continues to grow, and players continue to risk depositing their funds into centrally owned and operated gaming websites. Provably fair online gaming is badly needed. Enter Peerplays, a solution for provably fair blockchain-based gaming that allows users todesigntheir ownspecializedtokens or chips, buy or sell gateway tokens for popular cryptocurrencies likeBitcoinor Ether andthenwager these tokens in on-chain games. There is no “house” in Peerplays, but instead players are matched with other users for peer-to-peer gameplaythroughaseriesof smart contracts. Thesecontractsescrowthefunds wageredbyeachplayer andthenreleasethemtothewinner ​after specificconditionswithina gamearemet andverified. Smart contracts arebuilt directly intothenativeblockchaincode rather than a virtual scripting machine, which makes transaction processing fast enoughto enable millions of players to interact almost simultaneously. Table of Contents ​Introduction Blockchain Consensus Native Smart Contracts Provably Fair Gaming Profit Sharing Fee distribut​ion Flowchart Mega-Jackpots and PowerUp Points Open Source GUI Trustless Asset Exchange Wagering Hosted Public Client Portals Server-Side Tournament Hosting Conclusion References Introduction A Peer-to-Peer Marketplace is an online exchange that brings people and/or businesses together to deal with each other directly without having to go through traditional slowand expensive multi-party networks. In thesemarketplaces, motivatedindividuals withresources and specific skills or talents can simply connect withwillingcustomers througha3rdparty “dispatch” service, consisting of either an online plat or mobile app to facilitate a commercial exchangeof goodsorservicesandpaymentbetweenthebuyerandseller.Airbnb, eBay,Etsy,Freelancer,Kickstarter,Mr.Delivery,andUberareexamplesofthemostsuccessful of Peer-to-Peer networking models today. Withtheadvent of blockchaintechnologies, andspecificallytheplatcalled​Graphene​,itis nowpossibletolaunchapeer-to-peer dispatchservicethat runs almost entirely onits own. Grapheneis​anopen-source, MITlicensed, decentralizedblockchaintechnologythatutilizesa Delegated Proof of Stake DPoS consensus mechanism, ​which leverages the power of stakeholder voting to resolve consensus issues in a fair and democratic way. Commercial interactions between users facilitated by Graphenearecheaper andfaster thanatraditional companyduetogreatlyreducedoverheadcosts, whilemembershipandoperationalcriteriais still flexible enough to grow and adapt through a democratic process. Even better, all actions on the blockchain are publicly accessible for audit and verification, eliminating the possibility of cheating. Andsincedecentralizedblockchains cannot easily be turnedoff or shut downbyexternalagencies,blockchain-basedcompaniesmaybeamongthe first organizations inhistory toenjoy completeglobal autonomy. This has recentlysparkeda worldwidemovement topromoteandexploreblockchaintechnologiesasapotential catalyst for new social, political, cooperative, and for-profit business models. One such model addressed by Peerplays is the creation of a provably fair and auditable gaming plat, because the online betting and gambling industry has been constantly plaguedwithaccusations of fraudandcheatingby bothplayers andsystemadministrators.​1 Peerplays alsooffers analternativefor payment processingof wagers, as thecurrent legacy systemofteninvolvescomplexlegalcompliancehurdleswhichhavetobedealtwithseparately in each country of operation.​2 If payment processing can be outsourcedtoadecentralized blockchain, 3rdpartygamingpartnerscanunburdenthemselvesinwaysthatlowerthebarrier to entry into the marketplace. Blockchain Consensus Graphene, thetechnology behindPeerplays, is thesameplatusedbyBitShares, Steem, andMuse. It currentlyoffersthefastest blockproductiontimesandthehighest throughput of any decentralized blockchain consensus mechanismavailable- supporting3secondblocks and a potential throughput capacity of over 100,000 transactions per second.​3 On a Graphene-based blockchain, stakeholders elect trusted signing “witnesses”, andaperiodic, randomly chosen deterministic block signing order allows each witness toknowwhentheir turn to sign is approaching. Thus, block production speedis only limitedby thebandwidth capacityof thesigningnodesandthespeedof light -whichisabout1secondforapacketto circletheglobe- meaningahighbandwidthnetwork couldachieveabout 1secondaverage block times. The high throughput capacity of a Graphene-based blockchain is due to a number of architectural specifications modelledafter theLMAXonlineFXtrading exchange, whichhas achieved upwards of 6 million transactions per second TPS.​4 Some of these highly streamlineddesignparametersincludethe​limitingofthecorebusinesslogictoasinglethread, theremovingofcryptographicoperationshashesandsignaturesfromthecorebusinesslogic, the division of validation into state-dependent and state-independent checks, theuseof an object oriented data model, and keeping databases memory-resident.​5 AddingnewfeaturestoaGrapheneblockchainrequiresstakeholderapproval,butthisprocess is a largely seamless experience for users because most will use the lightweight or hosted clients, andonly full nodes arerequiredtoupgrade. OntheBitShares network, for example, hard forks usually take a few hours and disruption for most users is minimal to none. Native Smart Contracts Here is what Daniel Larimer, lead developer for Graphene, says about running Smart Contracts on Graphene The BitShares Decentralized Asset Exchange uses an order matching algorithmwhich is a wonderful exampleof onesuch“natively supported” smart contract.​6​Thisfeatureallowsbuy and sell orders between users to be filled instantly and has been proven in stress tests to handlethousandsof uniquetransactionsper second.​7Furthermore,wecanusetheanalogy​of “openingandfillingorders” withinamarketplacetodescribePeerplays​player matching-the operationthroughwhichplayersinteract withoneanother usingthegamingtournamentsmart contracts. Tobegintheprocess, eachplayer opensan“order”whichisthenacceptedand“filled”bythe appropriate on-chain smart contract. The smart contract then matches pairs or groups of playerstogether, arbitratesthetermsandrulesof thegamebetweenplayersandreleasesthe funds to the winner. We have coined the term ​Peerplays Marketplace​ to describe this feature. Step1 APlayer opens/broadcastsan​Offer toContract​,henceforthreferredtoasOTC, intothePeerplays Marketplace. EachOTCcontains theappropriatefundstobuy-into thedesiredgame, aswell asother datarequiredtodefinethetermsinwhichhewishes to engage in the desired game or tournament. Step 2​ OTCs are matched by a player matching order matching algorithm. Step 3 After players are matched, game play begins and players voluntarily interact compete witheachother tofulfill theconditionsset forthbytherulesof theparticular game or tournament and their agreement with the Smart Contract. Step4 Funds areunlockedby theSmart Contract andsent tothewinner, minusany fees whichtheblockchainautomatically distributes totheappropriateplacesviaprofit sharing section 4. Additionally, anessential element for mostgamesonPeerplaysincludestheon-chainRandom Number Generator RNG and shuffle programwhich cangeneratenumbers whicharethen encryptedtoaplayer’sprivate/publickeypairingandpublishedontheblockchain.Playersare then able to publish or reveal blinded cryptographicsignatures to“prove” their positions or holdings inthegame, andfast andreliableblocktimesmeanstheycandosowiththespeed and frequency necessary to facilitate real-time gameplay for on-chain casino card games, popular board games, and other games of skill. Provably Fair Gaming Peerplays is a universally auditable plat. All smart contracts arewritteninopen-source code, soit is easy toverify that theyarefunctioningasadvertised. BybroadcastinganOTC, eachplayer essentially entersintoan“arbitrationagreement”withtheblockchain, after which time their only recourse is to follow the rules. The release of escrowed funds is always dependent onvoluntarymovesorlackthereofonthepartofeachplayer,sofailuretoper these actions in a timely manner, or failure to produce the “winning hand” automatically removes a player’s eligibility to receive the jackpot payout. Bywayofexplanation,letuscreateahypotheticalgamecalled​HighCard​.Herearetherulesof this game Two players place an initial wager ante, and then each is dealt asinglecardfroma52card deck. After eachplayer looksat her card, aroundofbettingensues,oreitherplayercanfold.If both remain, then each reveals their card and the highest card wins. Note suits would also have to be ranked fromhigh to low, for example diamonds low, then clubs, thenhearts, and then spades high. Toplay this gameonPeerplays, eachplayer opens anOTCfor thegamewhichincludesthe appropriateante. After theyarematched, thesmart contractlocksuptheirfundsandtheRNG deals each of thema card “face down” - meaning each player’s cardis publishedonthe blockchain but encrypted to their private/public key pair. Then, theyareeachbeabletoviewtheir individual cardswithout revealingittotheother,and maketheir decisionsonwhether tobetorfold.Bettinginvolvessendingadditionalfundstothe smart contract toescrow. If either player folds, thenthesmart contract releasesthefundsto theother player. If onebetsandtheother calls, or if bothpassontheroundofbetting,thenit is time to reveal the cards. Todothis, eachuser must publishthedecryptedversionof their secret, whichcanthenbe proved to be equal to the encrypted version by re-encrypting it with their public key. This “proof” is validated automatically by the blockchain code when the user publishes the decryptedversion.Thesmartcontractthenawardsthefundstotheplayerwiththehighercard. If either player failstoreveal their proof withinacertaintimelimit,theyautomaticallyforfeitthe jackpot. At launch, Peerplayswill allowplayerstochoosesingle-eliminationtournamentbracketswhich facilitatemulti-player tournamentsbypairingoffplayersinhead-to-headcompetitionthrougha seriesof rounds. Therandomizedplayer matchingalgorithmwill prevent or greatlyreducethe abilityfor playerstocollude, andindividual head-to-headgamesarenotsubjecttocollusionin the same way as multi-player tables. Thesearejust afewof thebasictoolsandfeatureswhichwillbeavailableonPeerplays.Using onlythesefunctionswehaveoutlinedhere, analmostunlimitedvarietyofon-chaingamescan be written and implemented. Profit Sharing ThePeerplays network earns revenuefromvariousoperationslikethecreationandtradingof digital asset tokens by users, and the perance of certain customoperations, but most notably fromtherake- whichisapercentageof eachjackpot deductedasafee. Thismodel allows thenetwork tofinancially benefit fromthetrustlessarbitrationof eachtournament and thus prevents Peerplays from having to act as a “house” and bet against its users. Every time a fee is collected, the blockchain automatically splits it into a virtual account governed by a smart contract which distributes the fees in three directions. ​The largest percentageis distributedat regular intervals intotheaccountsof Peerplayscoretoken holders as profit sharing. ​This means that core token holders receive a portion of every jackpot paidinanyof the​certifiedwageringinstruments​, alongwithaportionoftherestofthe network fees. Another termfor thecoretokens is ​Fee-BackedAssetsor ​FBAs​, becausethey entitletheholder toaportionofthefeescollectedbythenetwork.​8​Thenextportionisdirected towardsblockchainmaintenance, suchasforpayingblockproducersandfixingbugs.Andthe third portion is sent to the ​Mega-Jackpot virtual accumulation account outlinedinthenext section. AllofthesefeesandpercentagesaredeterminedbytheelectedPeerplaysCommittee members, who are voted for by the Peerplays token holders. Theflowchartbelowexplainshowplayer’sfeesaredistributedNote Hosted clients never have control over players funds, they merely offer an “access point” into Peerplays. Mega-Jackpots and PowerUp Points Mega-Jackpot tournaments areaway for thePeerplays network tooccasionallybecomethe sponsor of large tournament jackpots by utilizing the network’s unique “profit sharing” capabilities. Peerplays automatically allocates asmall percentageof everynetworkfeeintoa smart contract-secured virtual account called the ​Mega-Jackpot Fund​. This smart contract thenautomatically schedules andhosts Mega-Jackpot tournament events, andthefundsare unlocked and instantly transferred to the tournament winners. PowerUp points are the user-reward tokens of the Peerplays network, and are distributed according to win-loss records and amounts wagered, amo

注意事项

本文(PPY(peerplay)白皮书.pdf)为本站会员(币链财经)主动上传,环境100文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知环境100文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2017 环境100文库版权所有
国家工信部备案号:京ICP备16041442号-6

收起
展开