Timeline for Use any Random Function in anchor lang
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 13, 2022 at 6:32 | vote | accept | Abdullah Qureshi | ||
Nov 12, 2022 at 8:06 | comment | added | Setmax | duplicate question stackoverflow.com/questions/70693497/… | |
Nov 11, 2022 at 14:07 | history | became hot network question | |||
Nov 11, 2022 at 12:16 | answer | added | Abdullah Qureshi | timeline score: 3 | |
Nov 11, 2022 at 10:31 | comment | added | Abdullah Qureshi | yes, I did that it is supported in rust but when using anchor lang it is not supported as the randomness of a function can be guessed which can be a security issue as well as you can run out of compute units if the random range is too large. | |
Nov 11, 2022 at 6:33 | answer | added | Swaroop Maddu | timeline score: 4 | |
Nov 11, 2022 at 6:22 | comment | added | Muhammad Fahad Saeed | I am pretty sure that you can can use rust functionality on anchor lang. have you tried implementing rand in you code? | |
Nov 11, 2022 at 6:06 | history | asked | Abdullah Qureshi | CC BY-SA 4.0 |