Daniel Luca 🦄 Profile picture
Head of Tech @edenblockvc | Dev, Security, Investor | ex @fiatdao, @ConsenSysAudits, @alethioethstats @consensys🦇🔊 | crypto since '17
Jan 5, 2023 17 tweets 8 min read
How to anonymize Ethereum requests and protect your identity.

We all have the right to privacy.

Here's a tool that will help you stay anonymous:

🧵 Check it out yourself. It's open source, and it costs nothing to use.

github.com/EdenBlockVC/sp…
Sep 27, 2022 29 tweets 7 min read
🦼 Solidity's `try/catch` has a catch.
And you probably don't know about it.

Short and sweet thread about this Solidity feature.
🧵👇 😎 As always, we're also going to learn something from going through this journey.

This try/catch feature was added in Solidity 0.6. It was added as a response to low-level calls, something many devs were already using.
Sep 2, 2022 21 tweets 5 min read
Solidity advanced tip time.

When extending or inheriting a few contracts, the order of inheritance matters.

I will explain below, with a proof of concept.

🧵👇 There are numerous cases where you create a contract and you inherit implementation from another contract. Most of the time, you'll inherit a bunch of OpenZeppelin @openzeppelin implementations.

🏄 For example, you want to create an ERC20 and will write something like this:
Apr 19, 2022 50 tweets 10 min read
My jab at explaining



🧵 1/∞ I was honestly intrigued by the promise of $1M that made me read the whole article @muellerberndt shared.
Jan 11, 2022 17 tweets 4 min read
We will release our latest white paper soon™️.

Until then, here are some essential things about @fiatdao

🛎️🧵👇 🏺FIAT DAO is the #️⃣1️⃣ first protocol to allow borrowing against fixed-income assets.

🆘Is the market going down? Don't feel like investing in volatile assets?

🆙Fixed-income assets should be your go-to asset class.
Oct 6, 2021 13 tweets 2 min read
There's an algorithm that can be used to randomly shuffle an array on-chain.

This algorithm is known as Fisher-Yates Shuffle or the Knuth Shuffle.

🧵👇 Let's assume this is the original array to be shuffled.

1⃣2⃣3⃣4⃣5⃣
Sep 17, 2021 12 tweets 5 min read
Just got an airdrop of 298,131 XCH tokens.

When I looked into the project a bit, I found out they are a scam.

Let me walk you through.

🧵👇🏼 First I had to check the tx that actually did the airdrop.

Looks like a pretty standard "push to all people" airdrop.

etherscan.io/tx/0x7d678e4c1…
Sep 16, 2021 9 tweets 4 min read
I just saw this tweet from Solana where they say 400,000 tps.

It's true that in order to have transactions "per second" you need to process them. The problem was the transactions were in the queue, not yet processed. It seems the real speed is 1000 tps.

solanascan.io
Apr 8, 2021 8 tweets 2 min read
Checking different ways to write a loop in Solidity this happened.

🧵👇 Check out this code.

gist.github.com/cleanunicorn/8…