Onchain Randomness

Onchain randomness on Sui. Use when generating random values in Move smart contracts, working with the Random object (0x8) or RandomGenerator, securing randomness-consuming functions against composition attacks, PTB attacks, or state leakage, implementing commit-reveal patterns, balancing gas across execution paths, or integrating randomness from TypeScript. For general Move security patterns, see the `move-security` skill. For Move language fundamentals, see the `sui-move` skill. For TypeScript SDK patterns, see the `sui-sdks` skill.

jiayaoqijia Updated

File contents

jiayaoqijia/cryptoskill/tree/main/skills/chains/mystenlabs-onchain-randomness commit af7cb6aba1

Frequently asked questions

npx skillmds@latest add jiayaoqijia/onchain-randomness