Request the random number

The contract sends a function to the RND contract to request a random number.

  • Simply add the contract interface
  • Call the request function on the contract
  • Have a function that will be called back with a UINT parameter which will contain the random number.

Provable, unmodifieable but not predictable

Using 'ECDSA' (Elliptic Curve Digital Signature Algorithm) the contract can prove that the oracles public key hashed it with the seed provided.