@CryptoGuideDev - smart contract dev news (@CryptoGuide_Dev) profile picture

Guides to writing smart contract code on the blockchain. Aimed at developers. (#solidity #evm #blockchainengineering)

Spain
Joined August 2022
@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.
205
471
143
4,817
963,355
@CryptoGuideDev - smart contract dev news retweeted
HOW TO BUY $OXBT BRC-20 token on Bitcoin. On @Apple iOS 👇 for beginners
103
334
35
1,239
301,240
@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:
20
53
6
207
37,158
@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):
24
6
4
102
26,410
@CryptoGuideDev - smart contract dev news retweeted
Timeline is flooded with auditoooors, and yet ...
23
9
5
245
50,204
@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).
42
25
7
313
87,821
@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 🫡
41
34
5
388
145,363
@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
7
55
4
290
34,265
@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!
11
30
6
173
38,927
@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
13
20
3
114
24,310
@CryptoGuideDev - smart contract dev news retweeted
28 ways to miss vulnerabilities in an audit 🧵
10
36
4
126
16,224
@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.
21
89
16
374
65,237
@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?
15
36
2
264
50,251
@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!🎫
35
49
1
381
106,405
@CryptoGuideDev - smart contract dev news retweeted
Let's talk about Panic vs Error. A 🧵 to create some Panic.
2
17
1
58
9,223
@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.
2
11
59
7,052
@CryptoGuideDev - smart contract dev news retweeted
Created my first Spot the Bug Challenge. Can you find the issue ->
16
20
1
161
34,173
@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!
5
20
4
97
15,280
@CryptoGuideDev - smart contract dev news retweeted
🎄⛽️🎄 EVM Internals - Christmas Edition 🎄⛽️🎄 Did you know... codesize() can never return 0? Here's a fun example:
5
22
2
135
32,591
@CryptoGuideDev - smart contract dev news retweeted
How to prevent unwanted "delagatecall" to your contract? This 🧵 is based on @Uniswap v3's "NoDelegateCall.sol" contract. But before we unwrap the trick, we need to understand "delegatecall."
10
23
1
120
16,752