Lost in blockchain,but loving every minute of it😊

Joined November 2024
98 Photos and videos
Prince Barney | Blockchain Engineer ⚙️ retweeted
Learning how to write Unit tests yourself without heavily depending on AI is one of the best ways to scale up... I just found a bug now and AI initially dismissed the issue as intended behavior...lol
3
1
23
939
Prince Barney | Blockchain Engineer ⚙️ retweeted
This is a business logic flaw, not a code bug. The entire premise of "store a secret on-chain" is broken. → `private` does not mean secret → `internal` does not mean hidden → If it's on-chain, it's readable by everyone ⚠️ Never store passwords, API keys, or sensitive data in contract storage.
1
1
6
198
Prince Barney | Blockchain Engineer ⚙️ retweeted
The `private` keyword in Solidity doesn't mean what you think it means. Marking a variable as `private` only restricts other contracts from reading it. Anyone can still read it directly from the blockchain. This misunderstanding has led to real security vulnerabilities. 🧵
3
11
35
1,135
🐉 ✅Day 145 Mastering Blockchain💯 Continuation: Section 2 Full Stack Web3 Crash Course Learned about Viem clients: •Public Client •Wallet Client •Test Client Also worked on sending contract tx(s) setup from the frontend Didn't show up perfectly today,but I showed up⚒️ 🙂
1
9
74
🦕 ✅Day 144 of Mastering Blockchain💯 Started Section 2 of the Full Stack Web3 Crash Course Built a simple HTML page & connected MetaMask using window.ethereum used: -viem's Client; walletClient Also organized invariant tests into fail-on-revert & continue-on-revert setups 😃
3
14
90
🐉 ✅Day 143 Mastering Blockchain💯 Finished Section 1 of Full Stack Web3 Crash Course. Reviewed: •Async programming •HTML/CSS/JS on the course •WSL workflow First time using VS Code Go Live to render a README in the browser. Pretty cool😛 Small steps.Consistent progress⚒️
2
12
65
🐲 ✅Day 142 Mastering Blockchain💯 Began Web3 Frontend Crash Course today🫡 Reviewed WSL,Linux environment setup,& VS Code integration.Strong foundations make everything else easier😃 Often progress isn't building features—it's reinforcing fundamentals🙂 Ready for tomorrow💪
1
11
46
🐉 ✅Day 141 Mastering Blockchain 💯 Finished the Solidity Smart Contract Development course on Cyfrin Updraft😝 Next up:Web3 frontend crash course🚀 I will revisit my past crowdfunding project with new invariant testing knowledge(fail/revert handling) New knowledge > ego🙂
12
59
🦖 ✅Day 140 Mastering Blockchain💯 Spent few hours updating obsolete drivers but progress is progress🙂 Built Price Feed Handler: BarneyStableCoin Lesson: Handlers need flexibility to explore more protocol states & uncover hidden bugs Reviewed: .Tx type 1(0x0)-EIP 2929 & 2930
2
9
41
✅Day 139 Mastering Blockchain🔥 Learned ghost variables in Foundry invariant tests -Great for spotting hidden bugs. Also found out depth in foundry.toml controls call execution limits. Wi-Fi fought me today, but still showed up ⚒️ Still pushing 😮‍💨 #Web3 #Solidity
1
3
24
🐳 ✅ Day 138 of Mastering Blockchain 💯 Worked on invariant test handlers for my BarneyStableCoin: -redeemCollateral handler -mintBSC handler Big lesson: Always prank external calls in handlers. Miss it, and tests fail for reasons that aren't immediately obvious. Thread🧵👇
1
1
17
Chainlink Data Streams: •off-Chain aggregation -> Data Decentralized Oracle Networks (DONs). •DON-signed reports sent to Data Streams Aggregator Networks.(off-Chain). •on-chain verification before consumption by Chainlink Verifier Contract. Makes Financial tools work better💪
18
🙂 Still building. Today was light—mostly reviewing my BarneyStableCoin code and regaining momentum after a few off days. Not every day is heavy development. Some days are just reset clarity. Back tomorrow with deeper work.
7
27
🦎 ✅Day 137 Mastering Blockchain💯 Learned the difference between: •Stateless fuzzing •Stateful fuzzing(invariant tests) Chainlink Data Streams: •DONs aggregate data off-chain •cheaper faster retrieval •optimized for high-frequency markets Airdrop contract review DONE💪
3
10
126
🐍 ✅Day 136 Mastering Blockchain💯 Unit tests for BarneyStableCoin engine DONE! Revisited signature mechanics: •r, s, v components •vm.sign in Foundry tests cast wallet sign for signing messages Reviewed how airdrops use signatures incentives to drive protocol adoption
2
7
69
🐉 ✅Day 135 Mastering Blockchain💯 Built the liquidation logic for my BarneyStableCoin protocol. Had to refactor collateral redemption into layered internal/public functions to support liquidation flow correctly Big lesson today: stablecoins survive on collateral health
1
5
37
🐢 Day 134 Mastering Blockchain💯 BarneyStableCoin logic: •burnBSC •redeemCollateral(tricky) •redeemBSCForCollateral(still refactoring flow) nascentxyz audit repo review→audit-ready contracts readiness(devs) Chainlink VRF: •rollDice randomness contract .Nailed VRF quiz✅
1
5
58
Prince Barney | Blockchain Engineer ⚙️ retweeted
Started to aggregate ZK resources I personally used for learning. There's a lot of "awesome ZK" repos, but some of them are lists of lists of lists. If you know anything worth adding, issue a PR or send me a carrier pigeon with a link github.com/0xluk3/ZK-resourc…
4
11
125
5,025
🐉 ✅Day 133 Mastering Blockchain💯 Learnt: IF YOU DON'T LEARN & IMPLEMENT FAST YOU WILL FAIL. AI will rapidly outpace you if you don’t adapt. Think In Systems. Be creative. Implement. Understand Logic. Shine.
6
29
🐉 ✅Day 132 of Mastering Blockchain💯 Completed Chainlink Functions module Built & funded a Functions subscription to: •manage & fund requests •track executions Fetched live weather data via JavaScript & delivered it onChain final quiz ✅ Contracts reach beyond blockchain🙂
6
39