QRNGchip x Smart Contract Connection
To ascertain the authenticity of the QRNG and ensure it is not a pseudorandom, we devised a robust solution aimed at precluding the dissemination of inferior quality random number generation across the network. This solution involves embedding each device with a unique private key. Subsequently, the smart contract is employed to verify the integrity and origin of the random numbers generated by confirming the private key associated with each device. This approach provides a verifiable means of ensuring that the random numbers supplied are genuinely quantum-generated.
The way this process works is described in several steps:
Generate a new certificate using OpenSSL, secp256r1, and store it on the chip.
Request the public key from the chip via API and convert it to EOS format (EOS_R1).
Automatically generate a new generator account and assign this key to it, recording the pair (generator - chip public key) in the blockchain.
The user is provided with the generator name and a default owner key, which the owner must change later.
Last updated