BOG RNG V1 has been superceded by BOG RNG V2. Lifetime support will be available for this version however we urge all new projects to use the the more economical and powerful V2 RNG. Read the new docs here:BOG RNG V2
BogRNG allows applications to get Randomness On-Chain in a verifiably secure fashion. A hash is stored in the Oracle contract of the next random number to be provided so that it can be checked by the contract receiving the random number to ensure the random number provided has not been changed based on the nature of the request.
This is a simple but secure method of providing random numbers on-chain which allows developers to easily integrate it into their project instead of trying to roll their own solution.
Currently the Oracle charges a flat fee of 0.25 BOG per request, this will be modified in the future to be pegged to a constant dollar amount using our Oracles once the price of BOG increases.
Please also see the note at the bottom - we are offering free credit to early adopters of our Oracle.
To get a random number your contract should call requestRandomness on the oracle.
Your contract should implement the IReceivesBogRand interface - the receiveRandomness function will be called back by the Oracle in a separate transaction once your contract has made a request and will provide you with the random number. This function must not consume more than 200K of gas.
BogRNG Address: 0x3886F3f047ec3914E12b5732222603f7E962f5Eb