Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
2
votes
Accepted
How much does it cost to generate a random number with Orao and Switchboard?
I am going to paste the response I got from Nik(Orao co-founder) when I shared this question with him
VRF fee is 0.001 SOL
with storage and PRE v0.4.0 it cost about 0.07 SOL to get randomness. as y …
5
votes
How can I generate a random number on Solana?
Depends on what you need the random numbers for.
A little primer on blockchains is that they need to be deterministic and replayable, meaning we cannot achieve true randomness on-chain. … For example, Imagine having two validators running your program and they both call the function to generate a random number. Which number will be picked? How can the transaction be replayed? …