
Guides to writing smart contract code on the blockchain. Aimed at developers. (#solidity #evm #blockchainengineering)
Spain
Joined August 2022
- Tweets147
- Following804
- Followers138
- Likes5
@CryptoGuideDev - smart contract dev news retweeted
The most effective software engineers I know always had a tendency to revert to writing "C" style code.
Nothing seems to come close in terms of readability / maintainability.
@CryptoGuideDev - smart contract dev news retweeted
One beautiful trick that I have learned from @0xWeisss :
1/4 Isn't it annoying when you have to read the contracts in etherscan like that:
@CryptoGuideDev - smart contract dev news retweeted
Anyone else not going to sleep tonight because Ben's $PSYOP token contract is adding an additional unnecessary ~2,000 gas to every single token transfer?
Here's his contract:
etherscan.io/address/0x30070…
And here's a quick side by side of his function vs. a better one (simplified):
@CryptoGuideDev - smart contract dev news retweeted
Timeline is flooded with auditoooors, and yet ...
@CryptoGuideDev - smart contract dev news retweeted
Seeing a potential re-entrancy exploit with the @SteadyStackNFT contract.
Looks like anyone on the goldlist can re-use their signatures to mint as many NFTs as they want.
There's no supply check on this function so someone could mint out the remaining supply (limited by gas).
@CryptoGuideDev - smart contract dev news retweeted
If anyone knows the people that run the @WaltsVault_NFT project, I have a list of improvements they should make to their smart contract.
I don't normally do public audits before a mint, but the code is already live so why not 🫡
@CryptoGuideDev - smart contract dev news retweeted
My favorite ZK books:
1. The MoonMath Manual by @LeastAuthority
2. Proofs, Args, and ZK by @SuccinctJT
3. The Halo2 book by @zcash
@CryptoGuideDev - smart contract dev news retweeted
1/12
I have found a bit of time to make the another disclosure of my finding, so here's the 2nd issue I've identified in the @openzeppelin library!
@CryptoGuideDev - smart contract dev news retweeted
🪂 Sending Tokens Efficiently 🪂
The bull market is coming and gas prices are pumping.
You shouldn’t be over paying for gas and spending more than you need to, costing yourself thousands of dollars.
Here’s a tool that can you save you money when sending tokens in bulk.
1/16
@CryptoGuideDev - smart contract dev news retweeted
Allow me to unveil the enigmatic concept of read-only-reentrancy.
Recently, a new exploit utilizing this vulnerability came to light, spurring me to dedicate the last 48 hours to curating an enlightening 🧵 for the benefit of the entire community to grasp its nuances.
@CryptoGuideDev - smart contract dev news retweeted
Want to find your first high severity issue on @code4rena to get +backstage role? This is one of the most common and easy to spot bug on c4.
What is the problem here?
@CryptoGuideDev - smart contract dev news retweeted
Can you spot the vulnerability? 🔎
Show us how you'd get a victim to change their email! 👇
The best explanation gets a 25€ SWAG voucher!🎫
@CryptoGuideDev - smart contract dev news retweeted
Let's talk about Panic vs Error.
A 🧵 to create some Panic.
@CryptoGuideDev - smart contract dev news retweeted
📝Tips for smart contract auditing approach✅
Part 1 of 3 posts:
1/ Read the project's docs, specs, and whitepaper to understand what the smart contracts are meant to do.
@CryptoGuideDev - smart contract dev news retweeted
Created my first Spot the Bug Challenge. Can you find the issue ->
@CryptoGuideDev - smart contract dev news retweeted
Let's talk about "REVERT," a savior opcode introduced in EIP-140 and became a part of @solidity_lang in 0.4.10.
A 🧵 that will REVERT!
@CryptoGuideDev - smart contract dev news retweeted
🎄⛽️🎄 EVM Internals - Christmas Edition 🎄⛽️🎄
Did you know... codesize() can never return 0?
Here's a fun example:




























