⚠️ Honest disclaimer: Yes, this one is late. The dinosaur went travelling, then came back and started building something. Both count.
Day 5 was about wiring the WishList contract to a real frontend — React, TypeScript, ethers.js, MetaMask. But somewhere between the travel and the code, a project idea formed. Two-week sprint, MVP target. It stays under wraps for now — but the daily insights don't stop.
Today: the dApp. Soon: something real.
The Goal
Take the WishList contract from Day 4 and make it usable in the real world. (If someone feels like fulfilling one of my wishes — I'm not stopping you.)
Solidity: github.com/alena-dev-soft/solidity-learn/contracts/05day/
UI: github.com/alena-dev-soft/wishlist-dapp
What I Built
WishlistV2 — an upgraded contract plus a React dApp on top of it.
Contract additions:
createdAt: block.timestamp — creation timestamp. Like DateTime.UtcNow in C# but in Unix seconds, written permanently on-chain.
deleteWish(uint _index) — removes a wish.…