Filter
Exclude
Time range
-
Near
Saturday is for research! πŸ” Diving deeper into the @CNPYNetwork documentation today. Knowledge Participation = Success in this space. Stay curious, stay rewarded! πŸ“šπŸ’‘ #LearningWeb3 #CNPY #Canopy #CryptoResearch
14
Saturday is for research! πŸ” Diving deeper into the @CNPYNetwork @aeredium @quipnetwork documentation today. Knowledge Participation = Success in this space. Stay curious, stay rewarded! πŸ“·#LearningWeb3
2
Built an Escrow Smart Contract in Solidity #learningweb3 Features: 1. ETH deposit 2. Delivery confirmation 3. Seller payment release 4. Refund system 5. State management with enum Learned: payable, require(), msg.sender, msg.value, call() code:- github.com/noshock/Escrow-sm… #Solidity
Built a Crowdfunding Smart Contract in Solidity. Features: 1. Donate ETH 2. Campaign deadline 3. Goal-based funding Learned: mapping, payable, msg.value, block.timestamp, call() Code available on GitHub: github.com/noshock/CrowdFund… #Solidity #Web3 #Ethereum #Blockchain
2
56
Day 34 (Phase 2) #learningweb3 Hashing in Solidity Same input same algorithm β†’ same hash Same input different algorithms β†’ different hash keccak256 / sha256 / ripemd160 #Solidity #Web3
Day 33 (Phase 2) #learningweb3 send β†’ 2300 gas bool transfer β†’ 2300 gas auto revert call β†’ flexible most used call is preferred in modern contracts. #Solidity #Web3
2
29
Day 32 (Phase 2) #learningweb3 immutable vs constant immutable β†’ set in constructor constant β†’ set at compile time normal β†’ can change anytime Gas efficiency matters. #Solidity #Web3
Day 31 (Phase 2) #learningweb3 receive β†’ ETH (no data) fallback β†’ data / unknown calls ETH data β†’ fallback Tested behavior in Remix. #Solidity #Web3
2
42
Day 31 (Phase 2) #learningweb3 receive β†’ ETH (no data) fallback β†’ data / unknown calls ETH data β†’ fallback Tested behavior in Remix. #Solidity #Web3
Day 30 #learningweb3 Modifiers in Solidity Reusable logic Cleaner code Access control (onlyOwner) #Solidity #Web3
2
35
Day 30 #learningweb3 Modifiers in Solidity Reusable logic Cleaner code Access control (onlyOwner) #Solidity #Web3
Day 29 #learningweb3 payable in Solidity Allows sending & receiving ETH msg.value β†’ ETH sent 1 ETH = 10^18 wei #Solidity #Web3
3
35
Day 29 #learningweb3 payable in Solidity Allows sending & receiving ETH msg.value β†’ ETH sent 1 ETH = 10^18 wei #Solidity #Web3
Day 28 #learningweb3 revert & assert revert β†’ custom errors gas efficient assert β†’ internal checks (should never fail) Use them wisely for safer contracts. #Solidity #Web3
2
36
If you’re also learning Web3, follow along, let’s figure it out together. #Web3β€Œβ€Œ #CT #learningweb3
1
3
30
Day 28 #learningweb3 revert & assert revert β†’ custom errors gas efficient assert β†’ internal checks (should never fail) Use them wisely for safer contracts. #Solidity #Web3
Day 27 #learningweb3 require() = gatekeeper in Solidity Validates inputs Reverts on failure Used for access control #Solidity #Web3
3
33
Day 27 #learningweb3 require() = gatekeeper in Solidity Validates inputs Reverts on failure Used for access control #Solidity #Web3
Day 26 #learningweb3 Calling parent functions in Solidity. Direct call β†’ specific parent super β†’ next in inheritance chain Execution follows linearization, not intuition. #Solidity #Web3
3
29
Day 25 #learningweb3 Passing constructor params in multiple inheritance. Execution depends on inheritance order, not constructor order. B, A β†’ runs as B β†’ A β†’ Child #Solidity #Web3
Day 24 #learningweb3 Overriding in multiple inheritance. Same function in multiple parents - must use override(A, B, C) Closest override wins. #Solidity #Web3
3
37
Day 21 #learningweb3 Inheritance in Solidity = code reuse modular design. Explored overriding with virtual/override and multilevel inheritance. Key idea: closest override wins. Smart contracts are starting to feel like real system design. #Solidity #Web3
Day 20 #learningweb3 Understanding visibility in Solidity: Who can access what Public, private, internal, and external each define contract interaction and security Tested inheritance external calls between contract This is where smart contract design gets real. #Solidity #Web3
3
51
Day 19 #learningweb3 Leveling up with advanced mappings in Solidity. Nested mappings = storing multiple data points per user. This is how real dApps manage complex state. #Solidity #Web3
Day 18 of my 30-day challenge #learningweb3 Learned about structs in Solidity β€” a way to group related data into a single unit. β€’ Struct creation β€’ Arrays of structs β€’ memory vs storage β€’ Using constructor with struct #Solidity #Web3 #30DayChallenge
4
40
Day 16 of my 30-day challenge #learningweb3 Today I learned about dynamic bytes in Solidity. bytes is a dynamic array of byte values that can grow and shrink during execution. Operations: push β†’ adds a new byte at the end pop β†’ removes the last byte Important: bytes supports indexing (data[0]) length changes dynamically more gas efficient than string for low-level operations Use cases: data encoding handling raw binary data optimization in smart contracts Extra activity: Working on SpeedRunEthereum crowdfunding challenge Day 16 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
Day 15 of my 30-day challenge: #learningweb3 Today I learned about bytes in Solidity. Bytes is a dynamic array of byte values used to store raw binary data. Each element in a byte array represents 1 byte (8 bits). bytes1 to bytes32β€”fixed-size byte arrays bytesβ€”dynamic byte array Example: function setvalue() public{ temp1 = "abcde"; temp2 = "abcdefghij"; } Important: 1 byte = 8 bits 1 hexadecimal digit = 4 bits 1 byte = 2 hexadecimal digits (0–9, a–f) Extra activity: Started SpeedRunEthereum crowdfunding challenge Day 15 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
2
31
Day 15 of my 30-day challenge: #learningweb3 Today I learned about bytes in Solidity. Bytes is a dynamic array of byte values used to store raw binary data. Each element in a byte array represents 1 byte (8 bits). bytes1 to bytes32β€”fixed-size byte arrays bytesβ€”dynamic byte array Example: function setvalue() public{ temp1 = "abcde"; temp2 = "abcdefghij"; } Important: 1 byte = 8 bits 1 hexadecimal digit = 4 bits 1 byte = 2 hexadecimal digits (0–9, a–f) Extra activity: Started SpeedRunEthereum crowdfunding challenge Day 15 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
Day 14 of my 30-day challenge #learningweb3 Today I learned about dynamic arrays in Solidity. Dynamic arrays can grow and shrink in size during execution. push β†’ adds a new element at the end of the array Example: arr.push(100); //[10,0,30,40,90,80,5,100] pop β†’ removes the last element of the array Example: arr.pop(); Important: push() increases the array length pop() decreases the array length pop() only removes the last element Extra activity: Completed SpeedRunEthereum Tokenization challenge lnkd.in/g2CgdajK Airdrops: Claimed @ofc_the_club token Performed swaps on Stabilizer Day 14 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
3
44
Day 14 of my 30-day challenge #learningweb3 Today I learned about dynamic arrays in Solidity. Dynamic arrays can grow and shrink in size during execution. push β†’ adds a new element at the end of the array Example: arr.push(100); //[10,0,30,40,90,80,5,100] pop β†’ removes the last element of the array Example: arr.pop(); Important: push() increases the array length pop() decreases the array length pop() only removes the last element Extra activity: Completed SpeedRunEthereum Tokenization challenge lnkd.in/g2CgdajK Airdrops: Claimed @ofc_the_club token Performed swaps on Stabilizer Day 14 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
3
41
Day 13 of my 30-day challenge #learningweb3 Today I learned about fixed-size arrays in Solidity. A fixed-size array has a constant length defined at the time of declaration. Operations: Get β†’ read values using index Update β†’ modify value at a specific index Delete β†’ resets value to default (0), does not remove the element Length β†’ returns arr.length, which cannot be increased or decreased Example: uint[5] public arr = [10, 20, 30, 40, 50]; The size of a fixed array is immutable, so elements cannot be added or removed. Day 13 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
Day 12 of my 30-day challenge #learningweb3 Today I learned about break and continue statements in Solidity. These are used to control the flow of loops. break β†’ stops the loop completely continue β†’ skips the current iteration and moves to the next one Example (continue): for (uint i = 0; i < 10; i = 2) { if(i == 6){ continue; } count = 5; } This loop skips when i = 6 and continues execution. Example (break): for (uint i = 0; i < 10; i = 2) { if(i == 6){ break; } count = 5; } This loop stops completely when i becomes 6. Important: Loops should be used carefully in Solidity because they consume gas. Extra activity: Started SpeedRunEthereum Tokenization challenge Airdrops: β€’ Stabilizer – swaps & NFT collection β€’ Nexus – earning points β€’ Shelbynet – working on learning project Day 12 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
3
20
Day 12 of my 30-day challenge #learningweb3 Today I learned about break and continue statements in Solidity. These are used to control the flow of loops. break β†’ stops the loop completely continue β†’ skips the current iteration and moves to the next one Example (continue): for (uint i = 0; i < 10; i = 2) { if(i == 6){ continue; } count = 5; } This loop skips when i = 6 and continues execution. Example (break): for (uint i = 0; i < 10; i = 2) { if(i == 6){ break; } count = 5; } This loop stops completely when i becomes 6. Important: Loops should be used carefully in Solidity because they consume gas. Extra activity: Started SpeedRunEthereum Tokenization challenge Airdrops: β€’ Stabilizer – swaps & NFT collection β€’ Nexus – earning points β€’ Shelbynet – working on learning project Day 12 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
Day 11 of my 30-day challenge #learningweb3 Today I learned about loops in Solidity: for loops, while loops, and do-while loops. Loops are used to execute a block of code multiple times based on a condition. For loop β†’ used when the number of iterations is known While loop β†’ runs as long as the condition is true Do-while loop β†’ runs at least once before checking the condition Loops consume gas, so using large loops in smart contracts can be expensive and risky. Example: for (uint i=0; i<10; i=i 2) { count = count 5; } --Loops run 5 times. --each time add 5. --5 Γ— 5 = 25 Extra activity: β€’ Stabilizer – swaps & NFT collection β€’ Robinhood – NFT mint β€’ Nexus – earning points β€’ Shelbynet – working on learning project Day 11 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
2
37
Day 11 of my 30-day challenge #learningweb3 Today I learned about loops in Solidity: for loops, while loops, and do-while loops. Loops are used to execute a block of code multiple times based on a condition. For loop β†’ used when the number of iterations is known While loop β†’ runs as long as the condition is true Do-while loop β†’ runs at least once before checking the condition Loops consume gas, so using large loops in smart contracts can be expensive and risky. Example: for (uint i=0; i<10; i=i 2) { count = count 5; } --Loops run 5 times. --each time add 5. --5 Γ— 5 = 25 Extra activity: β€’ Stabilizer – swaps & NFT collection β€’ Robinhood – NFT mint β€’ Nexus – earning points β€’ Shelbynet – working on learning project Day 11 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
Day 10 of my 30-day challenge #learningweb3 Today I learned about the ternary operator in Solidity. The ternary operator is a shorter way to write if-else conditions in a single line. Syntax: condition ? value_if_true : value_if_false; Example: function check(uint _x) public pure returns (string memory) { return _x > 100 ? "greater" : "equal or smaller"; } This makes the code more readable and efficient for simple conditions. Day 10 done. #30DayChallenge #Consistency #Solidity #Web3 #DailyLearning
3
41