CRYPTO NEWS

Crypto platform Rally commits $12M to third-party developers

The ecosystem is gaining momentum as demand for nonfungible tokens and blockchain-based social communities continue to grow.

What is the return of uint(keccak256(_str));?

I’m doing the chapter 1 of the crypto zombies course. uint id = zombies.push(Zombie(_name, _dna)) – 1; NewZombie(id, _name, _dna); } function _generateRandomDna(string _str) private view returns (uint) { uint rand = uint(keccak256(_str)); return rand % dnaModulus; } the return of this is supposed to be a number of 16 numbers. per exemple "8356281049284737". But::Listen

I’m doing the chapter 1 of the crypto zombies course.

        uint id = zombies.push(Zombie(_name, _dna)) - 1;         NewZombie(id, _name, _dna);     }      function _generateRandomDna(string _str) private view returns (uint) {         uint rand = uint(keccak256(_str));         return rand % dnaModulus;     } 

the return of this is supposed to be a number of 16 numbers. per exemple "8356281049284737". But for return rand % dnaModulus; . but i cant figure out what is the return of uint(keccak256(_str)).

Crypto platform Rally commits $12M to third-party developers

Shopping cart
There are no products in the cart!
Continue shopping
0