Random Selection OnChain? - question

Hello guys, hope you are doing well.

Questions are:

  • Can I store address list OnChain?
  • Can I randomly select one of the list OnChain code?

If it’s possible, please post reference or examples.

Yes, but why increase data and fees for something that can be derived off-chain?

No, you can however randomly select an address off-chain and use that as an input.

Would need more context but maybe start here for Plutus Tutorials?

1 Like