diff --git a/LICENSE b/LICENSE index 137069b..6891ae5 100644 --- a/LICENSE +++ b/LICENSE @@ -58,7 +58,7 @@ APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright [yyyy] [name of copyright owner] +Copyright 2022 SmilingSix aka David Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 9db8dd1..f9018a4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,31 @@ -# SixDemo_Homework_1 +# Solidity workshops -Brief description. Always write something! -Eg. Homework for Solidity workshops. \ No newline at end of file +Lesson 0. Introduction to blockchain concepts (what is what, consensus, transactions, wallets, nodes, web3) + +Lesson 1. First chapter of CryptoZombies (math, structs, functions, visibility, msg.sender, SafuDot) + +Lesson 2. Using git (git.hsbp.org, git command, init, add, commit, pull, push, using git issues) + +Lesson 3. Second chapter of CryptoZombies (return, mappings, require, inheritance, import, interfaces, multi return, keccak if str + +Lesson 4. TBA + + +## Notes + + Return-ok if utan, megbeszelni: if utani return es revert. + https://git.hsbp.org/flamboush/Balazs_Homework_1/src/branch/master/product_reviews_contract.sol + + mapping(_KeyType => _ValueType) public mappingName + mapping(address => uint) public playerLevel; + ! mapping can be inside struct + ! nested mappings + mapping(uint => mapping(uint => uint)) mymap; + mymap [1][1] = 42; + +## HW for now + + - Create multiple an external function that returns two uint256s based on user input (true or fale). + - Call function of adminChange() of SafuDot from a smart contract + - Create a new repository on git.hsbp.org with the name "Homework 2 - " and add your homework to it. + - Remember to create a README.md and LICENSE to your git repository! diff --git a/pelda_hazi.txt b/pelda_hazi.txt deleted file mode 100644 index e69de29..0000000 diff --git a/pelda_vim b/pelda_vim deleted file mode 100644 index a817833..0000000 --- a/pelda_vim +++ /dev/null @@ -1 +0,0 @@ -beleirod egy fileba