Coding smart contracts in Solidity!
- Contracts
- State Variables and Integers
- Math Operations
- Structs
- Arrays
- Function Declarations
- Structs and Arrays
- Private/Public Functions
- More Functions
- Keccac256 and Typecasting
- Events
- Web3.js
- Contact
My solutions to CryptoZombies solidity coding exercises Lesson 1.
This project aims to teach the solidity programming language.
My motivation is to practise coding anytime anywhere
- solidity - version ^0.4.25
Coded solutions directly on cryptozombies.io website
How to create a struct in solidity:
struct Zombie { string name; uint dna; }
How to declare an event:
event NewZombie(uint zombieId, string name, uint dna);
How to fire the event
emit NewZombie(id, _name, _dna);
Project is: in progress
Credits to CryptoZombies. Project inspired by https://cryptozombies.io
Created by Raynold - feel free to contact me!