Day 29 of my Smart Contract Security Researcher journey ๐
Created a HelperConfig script to separate network configs from deployment logic. Supports Sepolia and Anvil, and spins up VRFCoordinatorV2.5 + LINK mocks locally for testing.
#Solidity#SmartContracts#Foundry
Day 28 of my Smart Contract Security Researcher journey ๐
Refactored my winner selection logic to avoid duplicates.
Used a swap and shrink approach where I pick a random index, store the winner, replace it with the last eligible member, then shrink the array.
#SmartContracts
Day 27 of my Smart Contract Security Researcher journey ๐
Today I implemented fulfillRandomWords to handle the randomness callback.
The function filters eligible members, selects random winners, calculates the payout, updates state, and then distributes the rewards.
#Chainlink
Day 26 of my Smart Contract Security Researcher journey ๐
I implemented checkUpkeep and performUpkeep.
checkUpkeep verifies conditions like time passed, DAO state, treasury balance, and enough eligible members.
If everything is true performUpkeep triggers the next step.
#Web3
Day 25 of building ๐
Today I focused on testing the DAO membership logic.
I implemented and wrote tests for the joinDAO and leaveDAO functions to ensure: โข Users can successfully join the DAO
โข Members can leave correctly
โข State updates happen as expected
#SmartContracts
Day 24 of my Smart Contract Security Researcher journey ๐
Today I learned about gas-efficient array removal using swap and pop.
Without shifting the entire array you swap the element to remove with the last one and then pop() the array.
#SmartContracts#Foundry
Day 23 of my Smart Contract Security Researcher journey
Today I finalized the idea for the project Iโll be building next using the knowledge from the Foundry Fundamentals course
It involves automation, randomness, and a treasury system working together on-chain.๐ฅณ
#SmartContracts
Day 22 of my Smart Contract Security Researcher journey ๐
I officially finished the Foundry Fundamentals course
Didnโt deploy to testnet yet but thatโs intentional.
Next step: build my own project from scratch using everything Iโve learned then deploy it.
#SmartContracts
Day 21 of my Smart Contract Security Researcher journey ๐
Missed two days, but consistency > perfection.
Today: created an interaction script to programmatically create a VRF subscription with Chainlink.
Broadcast โก๏ธ createSubscription() โก๏ธ return subId โก๏ธ update config.
#Web3
Day 20 of my Smart Contract Security Researcher journey ๐
Slow day, but progress is progress.
Started writing unit tests for my contracts today
Security starts with testing.
#SmartContracts#Solidity#Web3
Day 19 of my Smart Contract Security Researcher journey
Today I built a HelperConfig contract to manage multi-network configurations (Sepolia + local Anvil) and deployed a VRFCoordinatorV2_5 mock for local testing.
Also wrote a deployment script.
#SmartContracts
Day 18 of my Smart Contract Security Researcher journey ๐
Rebuilt my Raffle contract from scratch using Chainlink VRF + Automation.
Now I truly understand enums, upkeep logic, and the full randomness flow.
Rebuilding without copying.
#SmartContracts#Web3Security
Day 17 of my Smart Contract Security Researcher journey ๐
Today I learned how to automate a lottery using Chainlink Automation
Now the contract automatically picks a winner and restarts the lottery once the previous round is complete.
No manual intervention.
#SmartContracts
Day 16 of my Smart Contract Security Researcher journey ๐
Learned a key step in using Chainlink VRF for verifiable on-chain randomness ๐ฒ
Understanding the request โ callback flow is crucial for secure lotteries and games.
Leveling up daily.
#SmartContracts#Solidity#Web3
@alexabelonix Thanks for sharing this opportunity. Iโm currently building my smart contract security skills using Foundry and documenting my journey publicly. Iโm still early in my path, but Iโm very committed to learning and contributing.
Day 15 as a Smart Contract Security Researcher ๐
Busy month with exams but I pushed code to my first repo.
Built and tested a small contract using Foundry fundamentals.
Check it out: https://t.co/ux6r1F8UUJ
#SmartContracts#Blockchain#Foundry