Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EC Verified Random Function #268

Closed
3 tasks done
ProgramCrafter opened this issue Jul 3, 2023 · 6 comments
Closed
3 tasks done

EC Verified Random Function #268

ProgramCrafter opened this issue Jul 3, 2023 · 6 comments
Assignees
Labels
Approved This proposal is approved by the committee footstep This is a TON Footstep issue

Comments

@ProgramCrafter
Copy link
Contributor

ProgramCrafter commented Jul 3, 2023

Summary

Create contract that checks ECVRF proofs and decodes provably fair random numbers.

Context

Random numbers embedded in TON Blockchain can be manipulated by validators, ECVRF cannot - it can be useful for onchain lotteries, NFT revealing and so on.

Goals

  • Create contract that checks ECVRF proofs and logs random numbers

Deliverables

  • Create contract with tests
  • Publish the contract under MIT license

Definition of Done

  • Contract created
  • Tests created
  • Contract published

Reward

  • Standard TON Footstep NFT
  • 1000$ in TON

Total: 1000$

Oriental Release Date

In 1 day after approval.

@ProgramCrafter ProgramCrafter added the footstep This is a TON Footstep issue label Jul 3, 2023
@ProgramCrafter
Copy link
Contributor Author

I'm ready to complete this footstep.

ECVRF depends on curve arithmetics, and it's heavily optimized by new testnet opcodes. Thus, the contract isn't going to work in mainnet for a while.

ProgramCrafter added a commit to ProgramCrafter/ecvrf-verified-randomness that referenced this issue Jul 3, 2023
@delovoyhomie delovoyhomie added the Approved This proposal is approved by the committee label Jul 5, 2023
@ProgramCrafter
Copy link
Contributor Author

Repository link: https://github.com/ProgramCrafter/ecvrf-verified-randomness

Wallet address: EQDauBLfiuJZCZxjRVyNHDd17tJiJCVTLi3YqKM74TKj9cA1
Nickname for the Hall of Fame: @ProgramCrafter

@ProgramCrafter
Copy link
Contributor Author

@delovoyhomie pinging, since this seems to have been forgotten for a while...

@delovoyhomie
Copy link
Collaborator

@ProgramCrafter, thank you for waiting for the lengthy code review process. It is now completed, and the rewards will be sent out soon.

@delovoyhomie
Copy link
Collaborator

Rewards sent! Thank you foe the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved This proposal is approved by the committee footstep This is a TON Footstep issue
Projects
None yet
Development

No branches or pull requests

2 participants