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

use chainlink to get random number #135

Open
osaguild opened this issue Nov 5, 2022 · 0 comments
Open

use chainlink to get random number #135

osaguild opened this issue Nov 5, 2022 · 0 comments
Labels

Comments

@osaguild
Copy link
Contributor

osaguild commented Nov 5, 2022

flow image

  • user call send()
    • transfer IceCandy and reveal it.
    • call requestRandomWords()
    • emit event for requesting random number
  • automate contract receive trigger event
    • mint new icecandy with random number
    • user receive icecandy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant