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.
🧵👇
This weekend I visited Sibiu, which is the home base for
@ElrondNetwork
Naturally, I wanted to meet in person as many people as I could from the team and we had really interesting conversations.
The problems with Ethereum:
- Best minds in blockchain? Check.
- Largest dev community? Yep.
- Superior tooling? Absolutely.
- Most decentralized network? Indeed.
- Energy efficiency? Top-notch.
- Overflowing with dapps? You bet.
I found a problem with the current WebSockets implementation in 🐍 Python, but the owner doesn't want to implement a fix because he doesn't like Bitcoin.
I'm using it for Ethereum, of course. 😭
This is a really good resource for EVM opcodes.
👀 List of opcodes, what the do and examples
⛱️ Sandbox to see how code is compiled to EVM
And the story behind the product.
👇
I'm learning ZK by playing with
@MinaProtocol
, the 22kb ZK blockchain.
Getting started was easy, and the experience is polished--but during this process, they upgraded the testnet with breaking changes.
Keep reading for some highlights 👇🧵
On my flight back, the guy next to me, who runs an international publication, told me there are a bunch of financial primitives being developed in the Ethereum ecosystem.
Found a mainnet re-entrancy flaw and I exploited it.
Been sitting on this secret like a hen on her egg; it's time for the reveal!
Watch the exploit in action, bending the chain to its will.
Time for you to conquer this technique too! 🔧🧠
Solidity's try/catch doesn't deliver on its promise.
If the target is an address with no code (EOA), the execution reverts.
Solidity's try/catch does not protect you from reverts but causes the revert itself.
As a crypto nerd, I often encounter the question: "What real problems does blockchain solve?"
The reality is that, thus far, blockchain is still very self-referential. The technology largely addresses issues it created for itself.
🛞 I have redesigned my dapptools-template to run on foundry, renamed it and it's much faster and cooler now.
I'll explain how it works, features and how to use it
🧵👇
$CULT is inevitable.
With
@ModulusZK
, we have now entered a position of infinite leverage to become one of the top projects in crypto.
As project on Modulus grow = CULT benefits
It all circles back to the DAO.
🚨 Rug pull / Scam alert 🚨
Don't trade $DZHV (0x3419875b4d3bca7f3fdda2db7a476a79fd31b4fe), don't ape in.
A friend asked me what I thought about this token, and I had a look.
I saw a good attempt at impersonating a genius coder with a rug pull mechanic and market manipulation.
Just witnessed the Multichain hack and it's clear that this is merely the starting point in a series of similar unfortunate events. We're dealing with a landscape where companies are utilizing libraries that apply techniques and technologies, the intricacies of which are beyond
The lockup assets on the Multichain MPC address have been moved to an unknown address abnormally.
The team is not sure what happened and is currently investigating.
It is recommended that all users suspend the use of Multichain services and revoke all contract approvals
I just created a pull request into
@MetaMask
to add to the blacklist.
Help me get this through quickly! We need to protect the users.
@danfinlay
@kumavis_
You can manage SSH keys in your Mac's Secure Enclave.
This is a tool that I use to protect my private keys without plugging anything into my laptop.
Here's how!
👇 🧵 1/2
I also met a
@wearecultdao
guardian who is building really cool things with their team at
@IRLart__
Check out the cool things they build in the metaverse. If you weren't at the conference you can virtually be there using their creations.
I had a very surprising ETHBucharest, very intense, like no other conference.
I met a lot of great people and hopefully made a few new friends.
Next
@ETHBucharest_
should be greater.
This is the biggest upgrade for Smart Contract developers coming up this year.
It's called Transient Storage (EIP-1153), and it's not obvious how it should be used and what it's good for.
This is why I started researching it.
👇
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.
1/ Solana Mainnet Beta encountered a large increase in transaction load which peaked at 400,000 TPS. These transactions flooded the transaction processing queue, and lack of prioritization of network-critical messaging caused the network to start forking.
I just presented this at
@nft_bucharest
but I want to make it available for everyone because it's so important.
It might make me unpopular, especially with the Ordinal fans, but
𝓑𝓘𝓣𝓒𝓞𝓘𝓝 𝓞𝓡𝓓𝓘𝓝𝓐𝓛𝓢 𝓐𝓡𝓔 𝓐 𝓖𝓘𝓐𝓝𝓣 𝓜𝓔𝓢𝓢
We just audited (with
@andreiashu
) the new Sigma Committee Timelock feature
@ndxfi
will be launching soon.
The plan is to create a new committee that has 600k $NDX tokens with the power of creating new indexes.
@d1ll0nk
@xGozzy
@0mllwntrmt3
Glad to see
@tech_metrics
discussing how the tokenomics affected the number of nodes running on
@POKTnetwork
.
The history of POKT is a really interesting one because they were the first to prove DePIN works and is relevant in solving a blockchain problem with a blockchain
I started using a new product a few weeks ago that saves me ether on each transaction.
It's brilliant how this works and how easy it is to use. Best of all, it's saving me gas. So far, I saved ~35% ether on my transactions.
👇🧵
If you're a builder, these are the top mistakes you will make.
If you're a first-time founder, you'll probably make all these and many more.
Read this, and you might avoid some of them.
We received lots of❤️🔥with our launch and even if there is more than $300 million staked () some people don't completely understand how the protocol works.
Below you can find a simple explanation you can share with your friends.
🧵
EIP-3074 introduces new features that improve Account Abstraction.
It also allows Relayers to serve EOAs (with EIP-4337, this is impossible).
Follow along to understand how this works.
🧵👇
I finally have my hands on the merch. This is so smooth.
I really wanted to make the best of our brand, but not be too obvious. IYKYK
Limited number available at the event.
I'm giving away free access to a service that anonymizes your Ethereum requests and transactions.
But there's a catch.
You must 'like' this tweet, and I'll DM you the guide.
1/5
🔥🌶️ I am saying all of this because everyone is thinking it, but nobody has the courage to voice it.
The Security Summit, is an event where security firms scramble to market their services, but it feels like an echo chamber devoid of any real clientele.
Thus, you're stuck
I am getting interviewed for a BBC documentary on Wednesday.
It’s about crypto hacks and the idea behind “code is law”.
What is one thing I should say, and what is one thing I should stay away from?
Friday was my last day at
@Consensys
. It was a wild ride, but it's not over yet.
Had a lot of fun building
@AlethioEthstats
and being a security auditor for
@ConsenSysAudits
.
Most of all I am going to miss all the people.
BEST TEAM EVER!
I am taking a break from work. Not sure how long this will be. Maybe just a few weeks. 2020 was really intense so far.
I am good, happy. I am in a privileged position that allows me to take this kind of sabbatical. I worked so hard to get here.
If you're in blockchain but don't know the complete history of Ethereum, you're missing out.
1/10 Ethereum Genesis 🌟 (2013-2015)
In 2013, a young programmer Vitalik Buterin proposed Ethereum. By 2015, Ethereum went live, revolutionizing the concept of blockchain beyond just
I recently retired my usual pfp, the MAYC
#19016
for a real picture. Felt it was time to show the human behind the ape.
Time to have weird in-person interactions!
See you in Berlin.
🎉 We can finally make this public! 🎉
Let's start the show!
@fiatdao
Together with
@el_nilz
@0xJohannes
@fiege_max
we can make this happen.
Lots more people who helped and are part of this. You know who you are. 😉
First step in doing a security audit is to read the documentation. Find out what the project is supposed to do, what are the moving parts, how they should interact with each other.
@pcaversaccio
balance = msg.value + previous balance.
Thus, `msg.value` can't be larger than `balance`.
It can, at most, be equal.
I like the `.transfer(balance + msg.value)`, enforcing the incorrect belief that msg.value is not included in `address(this).balance`.
🚀 We're examining 'Intents.' This groundbreaking idea aims to change how users engage with blockchain technology.
Co-written with
@ofir_eliasi
.
Dive into our latest article for insights. 🧵👇
Meet Secretive!
I like the approach because it removes the key from my storage and moves it into something more difficult to hack, the Secure Enclave.
I have no affiliation with the tool, but I use it daily and wanted to share it with you.
2/2
People are going crazy for
@cursor_ai
, but I'll show you how to set up a:
- free
- self hosted
- ultra-private
- Mac-based
- offline
version, right in your current editor
@code
.
After the triumph of Shanghai and Ethereum's seamless shift from PoW to PoS, I wonder what new Ethereum FUD the Bitcoin maximalists are cooking up next?
⏰ you wake up.
🦎you're still a lizard sunning on a red rock. it was all a dream.
📊 the concept of "depositing collateral to burrow stablecoin against it" is already losing its meaning as you open and lick your own eyeballs to moisten them.
🐞time to eat a bug.
Tomorrow I am flying towards Denver. It will be a very long flight, something like 24h in total.
I am planning to watch some anime. What should I watch?
The coffee shop I go to gives you these devices that beep when your order is ready.
Today, I made all of them beep at the same time. The staff started laughing out loud.
It turns out they don't rotate their keys.