Keccak: Adding Pseudorandom Numbers to your Smart Contract
Brandon
Oct 28
Warning: this is not a secure way to add random numbers to your smart contract, if you plan to deploy this to any sort of mainnet- you should look into something like Chainlink’s VRF. Using the approach that we are going to discuss in the article is for learning purposes only, and deploying this code to mainnet will expose your contract to a number of attack vectors. This is your warning, don’t try to sue me if you don’t listen and end up losing your DAO’s treasury.The ‘why’:So you’ve been wo...
ParagraphParagraph

Brandon

Written by
Brandon
Subscribe

2025 Paragraph Technologies Inc

PopularTrendingPrivacyTermsHome
Search...Ctrl+K

Brandon

Subscribe