Hilarious... The tai lopez nft IMMEDIATELY siphons out the funds into their teams wallet when you mint...
Just so they can scam your eth just a little bit faster...
The viral txn of an MEV bot "selling 2.4 $APE for 946 ETH"
A few people asked me how this happened. In short, it didnt happen.
Seems like a lot of people that got hooked on NFTs weren't around during DeFi Summer in 2020 and arent familiar with MEV bots. Let me try to explain :)
Gonna end the $APE content with 1 final thread. Let's dive into how this absolute fucking chad borrowed 5 bored apes, claimed $APE for all of them, returned the apes, and subsequently netted ~600k.
A story of how a bot looked for value where no one else did.
MEV botting like this is incredibly competitive so I would not suggest trying to get into it unless you're pretty experienced and willing to put in a lot of time and effort.
If you liked this, I'll do a follow up on how to prevent yourself from getting sandwiched :)
ERC-6551 is probably one of the more interesting application level EIPs imo.
It allows NFTs to own an Ethereum account (essentially your NFT is the access key to a wallet). A lot of interesting properties arise such as tradable accounts.
After 3.5 years at Google, I just got laid off. During my time there, I added the extensions pin button. From a metrics point of view, this has been one of the most clicked buttons on any Google app.
If anyone needs a senior button engineer, please don't hesitate to reach out.
Ohm devs cooked something called Baseline that supposedly is infinite liquidity, no liquidation leverage, and up-only.
FYI I bought tokens but it's genuinely an interesting mechanism - NFA, it might go down + I have some improvements I would make.
Here's how it works:
Hilarious... The tai lopez nft IMMEDIATELY siphons out the funds into their teams wallet when you mint...
Just so they can scam your eth just a little bit faster...
Just looked at the
@WZRDSxyz
contract and yep, they can definitely arbitrarily burn your NFT. It doesn't matter whether it's listed for sale or not, they can burn it (without paying you if it's listed).
They can also arbitrarily transfer your NFT to whoever as well.
Here's how:
Something crazy happened in MEV land...
If you asked me who made money in 2023, I would’ve said the top searchers. But now, not sure anymore 😅
TLDR seems that atomic sandwich bundles are not longer atomic. A malicious actor 'stole' $20M and counting from sandwich bots..
There's still some money to be made during the bear, so here's some bear market alpha.
Not sure if we'd even consider this long tail MEV but here's what
@rauchp_
@wawrencelu
and me have been doing to earn ~$700 a day *relatively* risk free and automated (since sept 28).
Just did a brief review of the Yuga OtherDeeds contract.
Here are some interesting things I found:
First, there is a lot of logic for a Dutch Auction. Yuga clearly said they're not doing a DA but the public mint still relies on a DA pricing functions.
Ive uploaded fonts on-chain a few times and I know of other teams that have done this as well - thousands of dollars spent. I’m not sure if on-chain SVGs are the future, but if they are, I propose we fund an on-chain font registry that all projects can use.
Something like this:
This was just a basic summary of how sandwich attacks work, pretty neat huh?
Also, don't try to blame DeFI for this problem. This type of attack first started in TradFi (brokers front-running clients), but now it's completely transparent and in theory anyone can participate ;)
23andMe trades at a 193M market cap.
Hypothetically, could one start a DNA DAO and raise enough money to buyout the company and take it private?
The DAO would then own the genetic records of millions of people worldwide.
Idk if it’s just me but that seems pretty valuable and
The NY Times takes every chance it gets to absolutely shit on anything (and anyone) related to crypto but decides to conduct some soft ass interview on SBF and make it seem like what he did is not that bad??
I have no words for the responses SBF is giving. This is all a joke wtf
Introducing DRIP20 and GIGADRIP20 💦
A slim ERC20 implementation that supports dripping (streaming).
Tokens will continuously 'drip' into your wallet. No need to spend gas to 'claim' your tokens, just sit back and watch your balances go up!
Had a big surge in following this week! Since Twitter is atrocious at organizing threads, here are all my past threads (a mix of solidity/smart contract content).
Will add any new threads to this master list :)
Enjoy! 🧵
"Of course you believe that on-chain royalties are enforceable, you're a first year NFT trader, just got done reading about creating decentralized IP, NounsDAO most likely. You'll talk about how "the absence of royalties will prevent projects from executing their web3 vision".
As some of you saw, I went full schizo and blitzed a game last night.
Here's the game (its deployed on mainnet): It's essentially king of the hill, optimizor style. Write the most efficient contract to get the high score and be crowned the BEST OPTIMIZOOR.
More details:
A little late, but a couple weeks ago some frens and I applied to ETH online last minute, blitzed out a project in 8 hours, and somehow became a finalist.
We made something called Bear Bonds 🐻.
Here's how bear bonds work:
Fucked up the bytecode for the first few txns (via the mirakai deployer) but managed to get a few txns through with a new wallet.
@nomadxyz_
I have about 600K+ $IAGON I'd like to return, where should I send?
I had the pleasure of working with Surojit at my time at CB. It made me realize that failure isn't always bad, one can fail upwards into a $650M compensation.
From Google Shop (RIP), CoinbaseNFT (RIP), I wonder what's next for this man. I strive to fail upwards like this 💯
MKR/DAI is becoming LUNA/UST.
FRAX is becoming DAI.
Arbitrum is moving to PoW.
These were definitely not on my bingo card. I can’t wait for what March will bring 🥰
This txn is only 1 of 3 that are relevant. The bot didn't make $2.7M (and no trader paid $2.7M).
This is known as a sandwich attack. A lot of smart ppl have explained this, but Ill go over how this works with a real example (Im assuming you know how eth works on a high level).
Here's what
@high_byte
@rauchp_
and I were whipping up today - 2blocks.
It's sort of a game, sort of not. We were hoping to get the full product out by now, but we ran into some on-chain hiccups (more on this later) - BUT this will be out tmr before merge!
So what is 2blocks?
My entire timeline rn: "DiD yOu KnOw, YoU CaN sAvE gAs By ReDuCiNg sLoAds Via CaChEiNg YoUr VaRiAbLeS?"
*while showing a screenshot like this*
@transmissions11
@fiveoutofnine
Im blaming you guys...
"How" this all happens in 1 txn is beyond the scope of this thread.
Typically flash loans are used for arbitrage, front running, etc. Here's an example of how you would use a flash loan if you detected an arbitrage opportunity.
The Azuki event was the best NFT event I've been to (including last year's NFT NYC).
You really can't buy taste 🤌
Rather than simply renting out a club and hire an artist for an hour, they actually transformed their venue into an asian inspired degens night market
I've done it. I have created the greatest OE of all time, every address by defaults owns a piece. Even if you don't want one, you own it, the logical conclusion of an open edition.
Heroglyphs, a new protocol that proposes incentives to increase the number of solo validators on Ethereum, making ETH more robust and decentralized.
To the degens, this is another asset class you can speculate on 👀.
Let's go over what it is.
Disclaimer: I am a small investor.
Every time you send a txn to eth, it doesn't get mined immediately and inserted into the blockchain. Your txn actually gets sent to a pool with other txns - this is known as the mem pool.
Your txn sits idle until a miner decides to pick up your txn and mine it.
I have so many ideas that I want to build that range from full product specs to half baked on-chain experiments.
If you're a competent builder or a team of builders that are looking for your next project - DM me.
I "sandwiched" your txn between my txns which allowed me to profit and you to lose 2%. This all happens in a single block, within milliseconds.
Even though I dont make that much money on this single trade (at most 1-2% gain), I do this 1000s of times a day.
I wrote a breakdown on how
@chain_runners
on-chain mechanics work. It goes over on-chain generation to on-chain renderings, and the sheer big brain energy that went into it.
Super impressed with everything!
Pre-requisite: Some solidity knowledge
After dseezy's buy order got executed, the bot sent this txn right after.
This txn sells the $APE it just bought for 4.4563609 ETH.
About ~0.3 eth profit in a single block, pretty crazy right?
This is what your txn looks like to a bot.
I see that you set your slippage to 2%, so I know for a fact that you will buy $APE at $10.20 even though it only costs $10 right now.
Here are my steps to sandwich you:
For example, if you're trying to buy $APE and it costs 10 $USDC, and you set your slippage to 2%, you're telling the DEX that if there is a price change by the time your txn is mined, you are willing to pay up to 10.20 $USDC per $APE
Can you guess how a bot might exploit this?
Whether you find anything ethical or not is your opinion, but I can't think of any other industry where so many big brains are playing in an open field for anyone to spectate or join.
Recently I've been seeing a lot of buzz around ethscriptions. I looked into what the protocol actually was and found it interesting.
It's not a direct 1:1 mapping of ordinal inscriptions but are quite similar in many ways.
Here's what ethscriptions are:
Because txns are executed in order in a block, your swap txn would be executed between 1 and 2.
So you bought $APE at a 2% higher price because of my initial buy txn, and then I'm selling all my $APE after you buy at the higher price -> I just profited by making you pay more.
6 months ago, I approached the smartest friend I know and some of the best pixel artists in this space (imo) to create something unique.
We came up with
@OfficialMirakai
and after 6 months, it's finally minting in 2 hours.
I want to tell you some of the coolest parts.
NFT MEV breakdown time again. This time, how one MEVor used NFTX to claim ~13
@worldofwomennft
galaxy NFTs.
This isn't the same flash loan strategy as the $APE claim, but still fun to take a look at. I also just woke so excuse some typos or overlooked details if I make them.
We're not promising the next metaverse, big triple A game, or a huge roadmap filled with fluff. We don't like the "coming soon" model..
What we're promising is a fully functional novel on-chain project built by real buidlers :)
That's all I'll share for now :)
After much pain, 2blocks is out - all links will be in this thread.
Let's run through it again as some things have changed from my previous thread.
We'll go over:
- Rules
- Caveats
- Brief overview of how we built it and struggles (if you're interested in that)
Even before Frame,
@0xCygaar
,
@stinkypablo
, and myself have been in the trenches for years.
Living off hackathons, contributing to open source, launching projects, we've done it all.
We know what developers want and NEED. We are working towards creating the best builder
How does a miner decide which txns to mine first? That's based on gas fee, the higher the gas fee (reward to the miner for mining your txn), the more likely your txn will be mined faster.
Until your txn is mined, it will sit idly in the mempool (for however long)
If you really wanted to, there are 1000s of resources online and you can participate it MEV right now - everything is open source. Try asking a hedge fund to let you in on their front running secrets :)
Idk about you but, web3 is the most exciting space in the world.
Most ppl would've made more money holding their NFTs rather than trying to constantly flip or paper hand ...
If you're a paper handed sucker like me, maybe we need a time lock contract that literally forces us to hold for a certain amount of time no matter how the market 😔
Been in Portugal for the past week and haven't been on Twitter much.
But I heard Gary V's brother released an NFT collection that burned a shit ton of gas. I just looked at the contract from a coffee shop for 5 minutes and audibly laughed 😂
1. Send a txn with correct gas where my txn gets executed before yours. This txn buys a shit ton of $APE causing the price to spike to $10.20
2. Send another txn with correct gas where this txn gets executed AFTER yours. This txn sells all the $APE I just bought.
Just used Foundry for the first time (prev hardhat user). I compiled and audibly said "what the fuck".
It compiled so fast I didnt think it actually compiled my contract... I put a bug in to see if it was actually compiling 😅
Absolutely insane
@gakonst
@transmissions11
Let's dive into a specific block that this bot has sent txns to (this is block 14404142).
dseezy.eth is trying to swap 1.5 ETH for $APE.
You can see that the bot submitted 2 txns before/after dseezy's txn. Unfortunately dseezy got sandwhiched...
After understanding this, we can get to the crux of a sandwich attack.
Essentially, a sandwich attach is when you send a txn to the mempool to swap tokens (ie swap $APE for $USDC) with slippage.
Slippage is the minimum number of tokens you're willing to receive.
However, if you just look at extracting value in a place that no one else is looking at, you win.
Quoting
@bertcmiller
"If you're thinking about these things or looking for them, which not many ppl are, there's a lot of value to be captured".
An important thing to note is, 1 block contains many different txns in sequential order (determined by gas price).
For example if all these txns were for an NFT mint, txn1 would mint first, and then txn2, and then txn3 (maybe by this time it's sold out and txn fails).
If we look at the bots txns, we see that the first txn was buying $APE for 4.1364868 ETH that got executed before dseezy's.
dseezy's txn got executed immediately after this and faced slippage.
During dev con, I worked with
@real_philogy
and
@yush_g
to create what we think is a true blind vickery auction, fully on-chain.
This implementation is just a proof of concept but we think it could be a powerful primitive going forward for all auctions in the future.
There really was a point in time where we all went "damn, this art is fire. Look at those thick lines, that style is really in rn" and mfs proceeded to yeet thousands of dollars into it.
Imagine in the future, you're drinking a metaverse beer in a metaverse bar and you see a cute metaverse chick. You think of a fire pickup line and send a txn to her.
Some bastard MEV chad sees it pending in the mempool and frontruns you.
Let's use the swap example above to conduct a sandwich attack if we were a bot.
First, you send your swap txn and it gets sent to the mempool.
As a bot, I can look at EVERY single txn that is in the mem pool and I see your swap txn where you set your slippage to 2%
Bro who’s idea was it to host a crypto conference in the middle of winter in Denver? It’s cold af and everything closes at 2.
Hear me out but I propose we change eth denver to eth miami or eth hawaii 🌞
Abstract's ecosystem isn't just a checklist for us. A project commitment marks the beginning of our teams working together.
You're betting on us just as much as we're betting on you.
We only succeed if our ecosystem succeeds, and we're dedicated to making that happen.
I’ve never been got this bad in my life. I’m a certified sucker now…
Cancel
@yelownft
, he violated me 😭
@0x_fxnction
I think there’s a new king in town
Just reduced the gas usage by 3x on a core function for
@OfficialMirakai
by using low level bit shifts and bit masks
Im nerding out right now lmao, might do a small write up cause I think it's super cool 😆
Exchanges that will support trading of $APE tomorrow:
Coinbase
FTX (Spot + Perps)
eToro
Kraken
OKX
Gemini
Binance
$APE Contract address: 0x4d224452801ACEd8B2F0aebE155379bb5D594381
This is how you launch a token... 👏
$APE directly inherits from ERC20
Boomers can't compete with this iteration speed, ~1 week to render an interactive map with game state fully on-chain.
Might fuck around and make a game a week to see if anything hits 👀
Imagine promising a punk derivative,
delivering a punk derivative, and being called a rugger.
Imagine buying a punk derivative and expecting a roadmap and returns.
I want my fucking cryptodickbutt roadmap NOW.
Ah I see where they went wrong, they didn’t have merch, rug 🤷♂️
It’s undeniable the Polygon’s BD team is cracked and they’re getting a lot of mainstream adoption, but why the f do I have absolutely 0 desire to build anything on their chain?
Can’t quite put my finger on it tbh
Study what the team did with Pudgy Penguins and apply that at the chain level.
Add in more funding, more focus, more tech, and a bigger team - 1000x the outcome.
The distribution machine is about to start cookin 👨🍳.
The sad thing about this whole story is that I read Anish's strategy, thought it was really clever, and completely forgot about it lmao.
Guess Im ngmi in MEV... not big brain enough.
If you're curious on why fees haven't drastically reduced after Dencun, it's because most L2s have to approve the upgrade through governance.
Dencun should be fully in affect on most L2s by latest mid next week.
Some people have noticed but, for the past few months I've been super careful with projects/people I give my free time to.
The reason is because I've been working on my own project for quite a while, it's still under development but excited to share a little bit :)
What I find beautiful is that I assume this bot didn't have much competition for this strategy (I may be wrong on this).
MEV is super competitive, it's extremely hard to write a profitable MEV bot to arbitrage/frontrun because so many big brains are in the space (bot vs bot).