最近の記事
- 固定された記事
- 固定された記事
【CryptoZombies】lesson1 Chapter 11: Keccak256 and Typecasting
Ethereum has the hash function keccak256 built in, which is a version of SHA3. A hash function basically maps an input into a random 256-bit hexadecimal number. A slight change in the input will cause a large change in the hash. イーサリアムにはSH
【CryptoZombies】lesson1 Chapter 8: Working With Structs and Arrays
struct Person { uint age; string name;}Person[] public people; Now we're going to learn how to create new Persons and add them to our people array. // create a New Person:Person satoshi = Person(172, "Satoshi");// Add that person to the A
【CryptoZombies】lesson1 Chapter 3: State Variables & Integers
The uint data type is an unsigned integer, meaning its value must be non-negative. There's also an int data type for signed integers. In Solidity, uint is actually an alias for uint256, a 256-bit unsigned integer. You can declare uints wit