Is there any way to get acces to dfinity‘s randomness with Motoko? @chenyan @enzo
4 Likes
+1 having a source of randomness would be great
3 Likes
Summarizing the duplicate forum post here:
import Random "mo:base/Random"
...
// 32-bytes of entropy.
let beacon : Blob = await Random.blob();
2 Likes