@CryptoGuideDev - smart contract dev news (@cryptoguide_dev) 's Twitter Profile
@CryptoGuideDev - smart contract dev news

@cryptoguide_dev

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

ID: 1564265306175979520

linkhttps://cryptoguide.dev/ calendar_today29-08-2022 14:54:59

148 Tweet

143 Followers

824 Following

high_byte (@high_byte) 's Twitter Profile Photo

🎄⛽️🎄 EVM Internals - Christmas Edition 🎄⛽️🎄 Did you know... codesize() can never return 0? Here's a fun example:

chrisdior.eth (@chrisdior777) 's Twitter Profile Photo

📝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.

Intigriti (@intigriti) 's Twitter Profile Photo

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!🎫

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!🎫
Andy Li (@andyfeili) 's Twitter Profile Photo

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?

Want to find your first high severity issue on <a href="/code4rena/">Code4rena</a> to get +backstage role? This is one of the most common and easy to spot bug on c4. 

What is the problem here?
@bytes032.xyz (@bytes032) 's Twitter Profile Photo

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.

Pop Punk (@poppunkonchain) 's Twitter Profile Photo

🪂 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

🪂 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
Vlad B. (∎, ∆) (@vladbochok1) 's Twitter Profile Photo

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!

cygaar (@0xcygaar) 's Twitter Profile Photo

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 🫡

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 🫡
cygaar (@0xcygaar) 's Twitter Profile Photo

Seeing a potential re-entrancy exploit with the Steady Stack Scam/Rug Victims 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).

Seeing a potential re-entrancy exploit with the <a href="/SteadyStackNFT/">Steady Stack Scam/Rug Victims</a> 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).
Pop Punk (@poppunkonchain) 's Twitter Profile Photo

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/0x3007… And here's a quick side by side of his function vs. a better one (simplified):

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/0x3007…

And here's a quick side by side of his function vs. a better one (simplified):
Laura Wendel (@lauramaywendel) 's Twitter Profile Photo

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.

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.