You are viewing a single comment's thread:
Since they are provably fair, the server seed is the current hive block_id, the client seed is the current blocks transaction_merkle_root + salt (to prevent duplicates in fast succession) and the nonce is the block number, It combines the client_seed and nonce into a message, hashes it with HMAC-SHA256 using the server_seed as the key, and then each die roll is the integer value of an 8-hex-digit chunk from the result, modulo the number of sides + 1.