0xBeans Profile Banner
0xBeans Profile
0xBeans

@0x_Beans

15,207
Followers
1,055
Following
731
Media
3,052
Statuses

@AbstractChain | Once upon a time a @coinbase engineer. Enjoys long walks on the beach and some Solidity.

Joined May 2020
Don't wanna be here? Send us removal request.
@0x_Beans
0xBeans
3 years
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...
Tweet media one
354
945
6K
@0x_Beans
0xBeans
3 years
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 :)
Tweet media one
179
889
3K
@0x_Beans
0xBeans
3 years
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.
Tweet media one
87
452
2K
@0x_Beans
0xBeans
3 years
BAYC hat Adidas metaverse tracksuit RTFKT Punk shoes I call it "please rob me" chic.
59
47
887
@0x_Beans
0xBeans
3 years
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 :)
52
24
901
@0x_Beans
0xBeans
1 year
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.
Tweet media one
52
152
741
@0x_Beans
0xBeans
2 years
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.
Tweet media one
23
24
538
@0x_Beans
0xBeans
7 months
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:
Tweet media one
41
89
515
@0x_Beans
0xBeans
3 years
I wrote some comments on Tai's code so you can better understand what's happening :)
Tweet media one
@0x_Beans
0xBeans
3 years
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...
Tweet media one
354
945
6K
41
103
473
@0x_Beans
0xBeans
2 years
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:
Tweet media one
47
114
432
@0x_Beans
0xBeans
2 years
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..
Tweet media one
14
52
395
@0x_Beans
0xBeans
3 years
At least he's nice enough to refund you if you sent too much eth 😆 But of course thats only after he gets his share
6
3
383
@0x_Beans
0xBeans
3 years
@BaconThatBurge1 compulsive scammer
2
2
366
@0x_Beans
0xBeans
1 year
Uniswap V2 was the best Uniswap and you can’t tell me any different 😤 - Easy to work with - Beautifully simple
Tweet media one
35
16
350
@0x_Beans
0xBeans
2 years
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).
Tweet media one
17
31
344
@0x_Beans
0xBeans
2 years
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.
Tweet media one
18
71
326
@0x_Beans
0xBeans
2 years
damn even MM is wildin over SBF 🤯
Tweet media one
16
20
331
@0x_Beans
0xBeans
2 years
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:
Tweet media one
28
43
326
@0x_Beans
0xBeans
3 years
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 ;)
5
11
321
@0x_Beans
0xBeans
3 years
Swept 7 @TastyBonesNFT with @geniexyz cause I LIKE THE ART LFG
Tweet media one
23
55
270
@0x_Beans
0xBeans
7 months
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
Tweet media one
93
12
297
@0x_Beans
0xBeans
2 years
Be greedy when others are fearful.
Tweet media one
13
3
295
@0x_Beans
0xBeans
2 years
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
12
28
261
@0x_Beans
0xBeans
2 years
Should’ve shorted everything when this came out
21
29
261
@0x_Beans
0xBeans
2 years
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!
26
52
242
@0x_Beans
0xBeans
3 years
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! 🧵
29
33
228
@0x_Beans
0xBeans
2 years
"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".
Tweet media one
12
24
230
@0x_Beans
0xBeans
2 years
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:
Tweet media one
15
32
220
@0x_Beans
0xBeans
11 months
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:
Tweet media one
19
16
214
@0x_Beans
0xBeans
3 years
@0x_Beans
0xBeans
3 years
I wrote some comments on Tai's code so you can better understand what's happening :)
Tweet media one
41
103
473
8
25
211
@0x_Beans
0xBeans
3 years
@buymoreNFTs correct LOL and the cherry on top is, you pay the gas for it! cant make this up LOL
4
5
194
@0x_Beans
0xBeans
2 years
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?
13
9
199
@0x_Beans
0xBeans
2 years
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 💯
Tweet media one
9
9
203
@0x_Beans
0xBeans
2 years
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 🥰
16
9
198
@0x_Beans
0xBeans
3 years
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).
1
4
178
@0x_Beans
0xBeans
2 years
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?
Tweet media one
14
20
181
@0x_Beans
0xBeans
3 years
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...
Tweet media one
18
10
187
@0x_Beans
0xBeans
3 years
"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.
Tweet media one
2
4
169
@0x_Beans
0xBeans
2 years
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
6
19
176
@0x_Beans
0xBeans
2 years
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.
Tweet media one
22
7
174
@0x_Beans
0xBeans
6 months
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.
Tweet media one
8
24
175
@0x_Beans
0xBeans
2 years
In case you thought people were joking, he is indeed still in high school. Built different
Tweet media one
7
5
174
@0x_Beans
0xBeans
3 years
The cherry on top is that boy genius @_anishagnihotri wrote this EXACT same strategy that borrowed punks from NFTX to mint Meebits last year.
Tweet media one
4
8
169
@0x_Beans
0xBeans
3 years
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.
Tweet media one
2
7
159
@0x_Beans
0xBeans
2 months
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.
Tweet media one
22
26
166
@0x_Beans
0xBeans
2 years
The solana transaction explorer is so fucking hard to read and no contract is publicly verified so I have no fucking clue what’s happening 🤷‍♂️
19
2
161
@0x_Beans
0xBeans
3 years
Let's take a look at a real life bot that does this. Thousands of txns a day on various coins.
Tweet media one
1
3
159
@0x_Beans
0xBeans
3 years
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.
1
2
153
@0x_Beans
0xBeans
3 years
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
12
49
156
@0x_Beans
0xBeans
3 years
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?
Tweet media one
1
4
151
@0x_Beans
0xBeans
3 years
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:
Tweet media one
1
6
146
@0x_Beans
0xBeans
3 years
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?
1
5
148
@0x_Beans
0xBeans
3 years
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.
9
7
147
@0x_Beans
0xBeans
3 years
Here's the awaited follow up :) I'll clarify some questions that people have asked and also go over some easy ways to prevent getting sandwiched.
19
41
150
@0x_Beans
0xBeans
1 year
O1 visa approved 🎉 I am no longer getting deported.
18
0
153
@0x_Beans
0xBeans
1 year
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:
Tweet media one
19
29
137
@0x_Beans
0xBeans
3 years
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.
2
3
139
@0x_Beans
0xBeans
2 years
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.
Tweet media one
12
29
140
@0x_Beans
0xBeans
3 years
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.
Tweet media one
13
38
134
@0x_Beans
0xBeans
3 years
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 :)
18
12
138
@0x_Beans
0xBeans
8 months
The OlympusDAO devs created a new POL protocol and the token looks like this. We are so back. Yes, I aped.
Tweet media one
29
19
136
@0x_Beans
0xBeans
2 years
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)
Tweet media one
15
24
136
@0x_Beans
0xBeans
2 months
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
Tweet media one
19
17
140
@0x_Beans
0xBeans
3 years
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)
1
2
129
@0x_Beans
0xBeans
3 years
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.
5
6
135
@0x_Beans
0xBeans
3 years
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 😔
Tweet media one
22
6
135
@0x_Beans
0xBeans
3 years
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 😂
15
18
128
@0x_Beans
0xBeans
1 year
I would rather press the up arrow 25 times than type 'npm start'.
12
3
131
@0x_Beans
0xBeans
10 months
Did someone say airdrop? Chapter one of @frame_xyz has commenced 🖼️ January 31, 2024. The new home of NFTs.
Tweet media one
Tweet media two
21
7
127
@0x_Beans
0xBeans
3 years
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.
6
4
126
@0x_Beans
0xBeans
3 years
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
5
7
133
@0x_Beans
0xBeans
3 years
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...
Tweet media one
Tweet media two
3
3
126
@0x_Beans
0xBeans
3 years
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.
1
2
120
@0x_Beans
0xBeans
3 years
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".
1
6
119
@0x_Beans
0xBeans
5 months
we are not serious ppl
Tweet media one
10
7
126
@0x_Beans
0xBeans
3 years
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).
Tweet media one
1
1
118
@0x_Beans
0xBeans
3 years
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.
Tweet media one
1
2
117
@0x_Beans
0xBeans
2 years
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.
Tweet media one
14
14
123
@0x_Beans
0xBeans
2 years
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.
Tweet media one
25
2
114
@0x_Beans
0xBeans
2 years
@mariots @levie How about you focus on providing value back to your own share holders first
Tweet media one
17
0
120
@0x_Beans
0xBeans
2 years
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.
Tweet media one
9
8
121
@0x_Beans
0xBeans
3 years
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%
1
1
114
@0x_Beans
0xBeans
2 years
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 🌞
24
4
113
@0x_Beans
0xBeans
2 years
God I wish there was an easier way to do this
Tweet media one
13
6
112
@0x_Beans
0xBeans
2 months
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.
Tweet media one
14
18
114
@0x_Beans
0xBeans
3 years
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
Tweet media one
16
10
108
@0x_Beans
0xBeans
3 years
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 😆
21
5
107
@0x_Beans
0xBeans
1 year
LeetSwap was exploited cause they accidentally made an internal function public. Can't tell if this is bullish or bearish.
Tweet media one
12
11
105
@0x_Beans
0xBeans
3 years
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
8
19
105
@0x_Beans
0xBeans
2 years
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 👀
13
10
103
@0x_Beans
0xBeans
2 years
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 🤷‍♂️
6
14
105
@0x_Beans
0xBeans
2 years
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
19
0
106
@0x_Beans
0xBeans
2 months
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 👨‍🍳.
@0xCygaar
cygaar
2 months
Don't think anyone in crypto understands culture or has better taste than @chefgoyardi and @LucaNetz . Study what @pudgypenguins has done and now apply that 100x bigger at the chain level. @AbstractChain is for the culture.
45
34
382
11
13
99
@0x_Beans
0xBeans
3 years
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.
1
0
101
@0x_Beans
0xBeans
7 months
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.
2
16
99
@0x_Beans
0xBeans
2 years
TIL you can do this in Solidity.
Tweet media one
18
1
101
@0x_Beans
0xBeans
3 years
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 :)
16
9
103
@0x_Beans
0xBeans
2 years
nice
Tweet media one
8
7
99
@0x_Beans
0xBeans
3 years
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).
2
1
96