LOADING...
LOADING...
LOADING...
当前位置: 玩币族首页 > 行情分析 > Chainlink 推出链上可验证随机函数(VRF),将首先用于DeFi 游戏 PoolTogether

Chainlink 推出链上可验证随机函数(VRF),将首先用于DeFi 游戏 PoolTogether

2020-05-12 区块律动BlockBeat 来源:区块链网络

律动 BlockBeats 消息,5 月 11 日,Chainlink 宣布推出一种可验证随机函数 (VRF),允许生成链上可信随机性。目前该程序正在测试网上进行安全性审查,它将首先与以太坊 (ETH) 区块链尝试集成。

据律动了解,生随机数的所有过程可以分为两大类:真随机数和伪随机数。真正的随机性可以通过一些基本程序产生,比如掷骰子或掷硬币。伪随机性是通过计算生成的,通常借助于伪随机数生成器 (pseudo- orandom number generator, PRNG)。在实践中,后者的使用更为突出,因为它可以方便地集成到各种计算机应用程序中。关键是要确保这些算法生成的随机数确实是不可预测的。直到现在,即使是去中心化的应用程序也必须依赖于随机的集中来源。

Chainlink 解决这个问题的方法使用了旧的密码原语,并利用了去中心化的激励机制。一个想要利用 Chailink 的 VRF 的智能合约,将一个种子传递给节点,然后节点使用其密钥生成一个随机数。结果和密码证明一起在链上发布。任何人都可以用 oracle 的公钥来验证它,就像比特币签名一样。恶意节点不能返回伪造的随机数,因为签名不匹配,且恶意节点将面临罚款。

目前正在探索的第一个用例是无损彩票 PoolTogether。尽管它被称为「游戏」,但它更多的是一种激励储蓄的机制。参与用户锁仓本金并购入「存款票」,一票一抽赢取奖励。但参与用户即使没有赢取大奖,也可全额取回本金。到目前为止,该游戏的游戏管理员一直在使用高度集中的随机资源,这可能会成为争论的来源。

对于 Chainlink 如何解决游戏故有的一些问题,Chainlink 的创始人兼 CEO 表示,「在区块链游戏中,我的观点是去中心化区块链游戏将不受中心化游戏问题的影响。而中心化的游戏的问题主要集中在一些想法上,这些想法要么是创造游戏的人,为了自己的利益而操纵游戏,要么是他们贬低了游戏中的商品价值。」


原文链接:https://cointelegraph.com


Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats Beats. The program is currently being tested online for Security Review and will first attempt to integrate with the ETH blockchain. According to the law, all processes of generating random numbers can be divided into two categories: true random numbers and pseudo random numbers. True randomness can be generated by some basic procedure, such as rolling dice or flipping coins. PSEUDORANDOM is generated by computation, usually with the aid of the PSEUDORANDOM number generator number generator, PRNG. In practice, the latter is more prominent because it can be easily integrated into a variety of computer applications. The key is to ensure that the random numbers generated by these algorithms are indeed unpredictable. Until now, even decentralized applications have had to rely on random centralized sources. CHAINLINK's solution to this problem uses old cryptographic primitives and utilizes a decentralized incentive mechanism. A smart contract that wants to take advantage of Chailink's VRF, passing a seed to a node, which then uses its key to generate a random number. The results are posted on the chain along with the proof of the password. Anyone can verify it with an oracle public key, just like a bitcoin signature. A malicious node can not return a forged random number because the signatures do not match and the malicious node faces a fine. The first use case currently being explored is lossless lottery pool together. Although it is called a "game" , it is more of a mechanism to stimulate savings. Participating customers lock up the principal and purchase the "deposit ticket" . One vote and one draw will win the reward. But participating users can get their full principal back even if they don't win the Grand Prize. So far, the game's game administrators have been using highly centralized random resources, which could be a source of contention. As for CHAINLINK's solution to some of the game's problems, Chainlink's founder and CEO said, "in Blockchain Games, my view is that decentralized blockchain games will not be affected by centralized games. ". The problem with Centralized Games is that they focus on the idea that the people who create them are manipulating them for their own benefit, or that they are devaluing the goods in the game. "

—-

编译者/作者:区块律动BlockBeat

玩币族申明:玩币族作为开放的资讯翻译/分享平台,所提供的所有资讯仅代表作者个人观点,与玩币族平台立场无关,且不构成任何投资理财建议。文章版权归原作者所有。

知识 Chainlink
LOADING...
LOADING...