DappScout Profile Banner
DappScout Profile
DappScout

@DappScout

Followers
31
Following
183
Statuses
117

Exploring Web3 🔎 Learning Blockchain & Smart Contracts daily 📚 | Building for the decentralized future 🌍 Telegram @DappScout

Wrocław, Polska
Joined November 2024
Don't wanna be here? Send us removal request.
@DappScout
DappScout
2 days
@radcipher Good read. Thanks for sharing brother🙏
0
0
2
@DappScout
DappScout
3 days
At what stage did you start participating in the public contests? What is necessary to start? #Web3 @CodeHawks
0
0
1
@DappScout
DappScout
3 days
@radcipher 👋
0
0
1
@DappScout
DappScout
4 days
@ddimitrovv22 Awesome, thanks for sharing this😯 I probably wouldn't have come across it otherwise
0
0
2
@DappScout
DappScout
4 days
That tripped me up while writing tests😵‍💫 ✨When you call a payable function and send Ether with it (msg.value), the EVM transfers the balance to the contract before executing any code—so before validation. In functions that rely on msg.sender, the updated balance will already be reflected. Is this related to reentrancy attacks? 🤔
0
0
2
@DappScout
DappScout
5 days
@Slavcheww Thank you, chief💪🔥
0
0
3
@DappScout
DappScout
5 days
@radcipher @CyfrinUpdraft @PatrickAlphaC Same goal, so I hope we will meet at the top🗻✊
1
0
3
@DappScout
DappScout
5 days
@0xAlexSR Sometimes rest is essential to reach your goals. Take your time, I’m rooting for you 🫡
0
0
2
@DappScout
DappScout
6 days
🧨When testing in Foundry, you can capture and decode emitted events: ✨Example: Vm.Log[] memory logs = vm.getRecordedLogs(); bytes32 topic0 = logs[0].topics[0]; // first topic is the event signature assertEq(topic0, keccak256("DataStored(address,uint256)"), "Event signature mismatch"); This ensures the correct event was emitted📝
0
0
1
@DappScout
DappScout
6 days
📌 Quick notes for you: How to use these cheat codes in testing:
Tweet media one
0
0
3
@DappScout
DappScout
7 days
@0xAlexSR Is it helpful for beginners? It looks like it can be useful for newbies🤔
1
0
1
@DappScout
DappScout
7 days
🧐 If you're starting out like me, that's good to know:
Tweet media one
0
0
1
@DappScout
DappScout
8 days
@0xT1MOH @fromeo_016 30-5-30-5-30-15 and then repeat 😁
0
0
2
@DappScout
DappScout
8 days
✨ While testing, these cheatcodes for tracking emitted events will save you so much time... Trust me, I know what I'm talking about🥲 👉Use vm.recordLogs() to capture events and 👉vm.getRecordedLogs() to verify them
0
0
3
@DappScout
DappScout
10 days
Working on Foundry tests - lots of mistakes, lots of learning, but I’m constantly moving forward!🫡 The Foundry docs are proving to be a solid resource!💎
0
0
2
@DappScout
DappScout
10 days
@0xAlexSR Taking risks are necessary for progress and growth. Rooting for you man💪
0
0
2
@DappScout
DappScout
10 days
RT @DappScout: What project ideas would you recommend for beginner in Solidity/Foundry? Or are there any repos that are worth checking ou…
0
1
0
@DappScout
DappScout
12 days
🔔While testing contracts you will need to know how manipulate time🔔 In Foundry, you can manipulate time with: 🔥vm.warp(timestamp): Set a custom block timestamp. 🔥vm.skip(seconds): Fast-forward time by a set duration. Ethereum timestamps are Unix-based, second-precise, and not entirely immutable, because miners have some control ✅
0
0
4