I have two friends that are both senior to staff level Rust engineers with around 4 yrs experience in crypto (primarily in mev) on both Solana and EVM (mostly EVM) They understand pretty much most Rust Ethereum codebases (reth, alloy, etc) inside out and are comfortable forking /
Since Blur has never had a public GitHub repo for their code, I took the liberty to create one with all their contracts myself.
This includes all proxies, exchanges v1 and v2, and Blend.
Huge problem in DeFi:
Solidity is a very difficult programming language for most devs.
Solution?
@arbitrum
stylus launching with their C++ and rust dev toolkit allowing tons of devs to onboard to crypto seamlessly 🥂
Are you dissatisfied with your testing experience in Solidity, anon? Learn how you can construct patterns for state in Foundry to make your Solidity tests more modular and readable!
I'm so jealous of the new crypto devs that get content like this. Honestly goes way harder than it should. Patrick puts out so much alpha.
I was one of those people who learned through the OG CryptoZombies back in the day. Was a different world.
Smart contract development is starting to feel like it's reached its max potential. At least for the medium term. Don't really see any new protocols pushing any advancements forward. All I see is marginal improvements to already existing protocol designs. Of course I could just
Anyone who successfully deploys Seaport v1.5 to a new EVM chain or testnet & verifies the source gets a follow from me here on Twitter (deployment / instructions referenced here)
This week marks my last at Yield Protocol after having spent the past year and a half there as a smart contract engineer. I want to extend my deepest gratitude to
@niemerg
for giving me the opportunity to work at one of the most innovative projects in DeFi. And
@alcueca
and
Looking to get into DeFi, anon? Wanting to study DEX's and CFMM's? Well I got you. There's no better place to start than with Uniswap! A list of resources for all things Uniswap!
Have any suggestions/feedback? Feel free to shoot a dm or open a PR
My biggest conspiracy theories in crypto
1. 21e8 isn't a real company
2. Foundry intentionally had broken gas estimation to boost OP sequencer fee revenue (disproven)
3. The Blur API doesn't exist
4. <redacted> exploits their own protocol
5. Paul Berg doesn't take all those pills
Since it's being discussed, I thought I would highlight some Ethereum builders that I think have contributed substantially to the ecosystem or I otherwise hold in high regard.
I won't tag a bunch of people because they all have better things to do but I've included handles for
For those who want to manipulate bytes like pro in
#Solidity
#SmartContracts
, here is the Holy Bible on Bytes Manipulation 📖🔆
➡️ “Hacker Delight, 2nd Edition” by Henry S. Warren Jr
1/2
A good sign that you've solidified your understanding of how the EVM handles storage for smart contracts is if you know how to compute the slot for a 2d mapping.
Here is how you can do that.
Optimism has twice rejected me without so much as a technical interview despite the fact I gave them roughly a month in part-time free labor last year. They also rugged me on an ecosystem contribution I made a year ago.
It was after all this I quit open-source contributing.
a few weeks ago i did interviews, coding puzzles, all the silly bullshit, all to get a "junior engineer" offer from smg/consensys for half the pay and double the hours i quoted. they even cited the fact that i don't have degree
companies that demand degrees are not worth your
Every time I ask what projects / teams are using Foundry scripts, all I get are crickets.
But I like what I see in this suite put together by the engineers
@eigenlayer
Really nice stuff in this repo
Today in arcane Foundry tips you may not be aware of, you can use `forge selectors upload` to upload the function selectors in a contract to for easy lookup. 1/6
Non EVM-equivalent chains claim to be EVM-equivalent.
ERC's claiming to be ERC's but not going through the formal process.
Chains taking MIT code and putting a BSL on it.
Uniswap claims to be open-source yet has a BSL.
This industry is really pathetic lately.
Ok, Uniswap decided to close my PR. So the conclusion is clear now: your open-source claim is just simply a meme! Full stop. It's also funny that you use an anon account with no public history enabled to close my PR: . I used to respect you, but now...
Was pretty cool to get my first PR for a Rust project merged which happened to be for the
@huff_language
huff-rs compiler.
My Rust OSS dev arc has finally begun.
H/t
@vex_0x
One of the bigger pain points in going from an EVM background to the SVM is having a thorough understanding of the much greater complexity of transactions.
@alexmillertech
gives a decent rundown of this in his article from 2021.
First impression of Japan is that everyone here works hard no matter what they're doing. Be it a cashier, waiter, or janitor. People in the US are so lazy. All hate their jobs and just want UBI.
I sound like
@optimizoor
Been programming in Go for the first time in years. I'm about an hour in and I'm already sick of constantly having to type
if err != nil {
log.Fatal(err)
}
Since everyone seems obsessed with learning EVM these days, the best way to learn how storage works btw is to just make an example contract with every kind of state variable and then have a forge test that calls `vm.load` on everything.
We’ve made the tough decision to wind down the Yield Protocol. The March 2024 fixed rate series will not be launched. Only the December 2023 series remains active for borrowing and lending. All borrowing and lending will end by December 31st.
Gm anon. Everyone knows immutable values in Solidity can be defined in the constructor while constant values must be known at compile-time but did you also know that constant values can reduce the length of your bytecode?
Just look here:
What does a math-related critical bug look like in Polygon's zkEVM?
Spearbit identified in the preliminary review of the Polygon zkEVM protocol a critical vulnerability (fixed) due to insufficient validation of division remainders.
Curious how? Let's break it down below ⬇️
@jasonintrator
@AshaRangappa_
I've been thinking about this a lot. Because it really is true. After the war, the Republicans were divided between the Lincoln moderates and the radicals. The Radical Republicans wanted very harsh punishment of the Confederates but instead they were allowed mercy to regroup.
@FlameHorizon1
Hard agree.
But in terms of difficulty, assuming by which OP means ease of learning, Solidity is certainly the simplest language I've ever learned.
You can't convince me an ERC20 token would be simpler in C++ or Rust.
I started my CS degree in 2017 and did my first programming then but nothing I learned in university was practically useful (couldn't even make an API request) and it didn't really *click* for me until July 2021. So when asked, I usually say I've been programming for two years.