Translations: Lightweight Contracts/28/en: Difference between revisions
From ArdorDocs
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 00:38, 11 August 2020
"seed" - supply random seed to the contract runner formatted as hex string (default: the public key of the contract account which is useless from randomness perspective). Convert any random value to hex string using the hexConvert API and specify the resulting hex string value as a seed. A seed of less than 16 bytes can be easily brute-forced so make sure your seed is longer. Keep your seed secret, it can be used in the future to validate your contract execution.