sora-xor / rfps

SORA network development public Request for Proposal development process
Apache License 2.0
11 stars 24 forks source link

[RFP]: Integration reliable and unpredictable random number solution for ink! smart contracts #93

Open shlavik opened 7 months ago

shlavik commented 7 months ago

Proposal Due Date

Immediately following the launch of the ink! runtime

Proposal Overview

This proposal is in relation to RFP #65.

In blockchain-based smart contract environments, there exists a problem with obtaining truly random numbers, which are necessary for implementing certain mechanics (games, lotteries, etc.).

One recognized approach to solving this issue is to use an oracle that relays random numbers from a source with sufficiently reliable entropy.

There exists a decentralized, publicly verifiable source of random numbers called Drand (https://drand.love), which provides a new random number every 30 seconds.

Specifically, the proposal is to integrate the DIA xRandom oracle (https://www.diadata.org/app/randomness), created in collaboration with Drand, to the Sora blockchain, providing verifiable random numbers at the smart contract level.

This is a widely recognized solution, and is also used in blockchains with ink! runtimes:

Additionally, the DIA oracle provides price values for a variety of assets, which could serve as a good complement to the existing Band Protocol oracle. This could enable the launch of new synthetic assets on the Sora blockchain. However, this specific RFP primarily focuses on the task of providing a reliable source of random numbers at the ink! smart contract level.

Note: The DIA solution is one possible way to address the task of providing random numbers at the smart contract level on the Sora blockchain. If there is an alternative solution that is not inferior to the one outlined above, that would also be acceptable to the proponent of this proposal.

Proposal Goals

The goal of this proposal is to solve the problem of obtaining reliable and unpredictable random numbers within ink! smart contract environments on the Sora blockchain, which are necessary for implementing various DApps.

Scope of Work

Current Roadblocks and Barriers to Success

Evaluation Metrics and Criteria

Submission Requirements

Developers will be able to deploy ink! smart contracts, the logic of which involves the use of reliable and unpredictable random numbers.

Submission Method

Blockchain: Mainnet

Project Due Date

TBD

Budget Amount

TBD