Translations: Lightweight Contracts/28/en

From ArdorDocs
Jump to: navigation, search

"addon.contractRunner.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.