You simply need to use some unique hash as random source
Lol don't do that, for random numbers use chainlink or another oracle
Block hash are not known why block did not mained.
Hello friends I want to write a special contract and deploy it through truffle or hardhat My problem: I get a clone from the seadrop contract and execute the yarn init and ya...
Hello everyone, I am just faced with unique identifiers in solidity. In my project users should be able to register themselves and later user should be able to add a car post...
Hi all, will the solidity language still be relevant to enter blockchain development ? or will this soon change due to the slowness and difficulty of scaling ethereum ?
Hello! Are you looking for a developer that will help you to develop your Defi project? I will create and publish a robust Defi system from PancakeSwap, UniSwap V2 / V3 ...
Hi all, does someone know why I cant recreate the same contract using create2 after calling selfdestruct? The below is a Foundry test: // SPDX-License-Identifier: UNLICENSED...
i am trying some testing on uniswap and i get this: Your swap is expected to fail. Try increasing your slippage tolerance. Note: fee-on-transfer and rebase tokens are incompat...
How to tell if my browser/ pc is compromised or my seed phrase? Ages ago I downloaded some software and it ended up draining my wallet, not fussed as it’s my dev wallet and ...
why you should iterate over a mapping?
Wagmi ? No nuxt or sveltekit then it's another damnshell for so many scamming react garbage.
hi I started do some experiments with blockchain using python and...Also received such coins. I was interested in what I've got and tried find out what I could do with it. So...
Обсуждают сегодня