Follow the white rabbit 🐰⛩ (@r4bbit) • Hey
Going down the rabbit hole.
Protocol Engineer at Status.im
Learning Solidity/EVM in public
Publications
- A little tip for testing your smart contracts with Foundry:
Below is a failing test offering very little information on why it's failing.
`forge test` offers various verbosity levels to get more insights of your failing tests.
Check out how the test output changes with increasing verbosity levels in the screenshots.
Verbosity levels:
- 2: Print logs for all tests
- 3: Print execution traces for failing tests
- 4: Print execution traces for all tests, and setup traces for failing tests
- 5: Print execution and setup traces for all tests
- Really enjoying playing around with Foundy and building some contracts to learn.
Today I’ve built a simple proxy contract that deploys other contracts and executes functions on another account’s behalf.
- Hey @stani.lens has anything changed in terms of dealing with bots?
Seems like I'm experiencing much less bot engagement here on Lens! 👍🏼
- After playing a bit around with #EVM calldata, I thought it'd be fun to build a tool that color codes byte words that belong together as you hover over them, and renders a tooltip or something to inspect the data.
This is a v0.1. Will post updates here as I progress 😁
- ⚡ ABI Encoding and EVM calldata demystified
Ever wondered what happens behind the scenes when you call a smart contract function?
Take an ABI encoding deep dive 👇🏼
https://r4bbit.substack.com/p/abi-encoding-and-evm-calldata
- Who’s up for an explainer on ABI encoding? I’ll put one out soon and use Foundry to make it interactive.
- Okay, as expected there has been zero engagement on the post except for a bunch of bot likes. I just saw a suggestion by @stani.lens to put a fee on collects, going to that next and see what happens
- We need @HopProtocol but for zk L2s
- Hey new followers!
Welcome to my rabbit hole. I can't quite believe that I'm getting this much engagement here in such a short time and have to assume 95% of you are fake accounts and bots.
If you're not a bot, comment on this post why you're following the white rabbit. 🐰
3...2...1... go!
- Taking a deep dive into ABI encoding.
Super interesting to play around with Foundry’s cast to encode/decode (dynamic) data and inspect the resulting byte code.
- zkSummer will totally be a thing.
Exciting times ahead.
- I put together a guide on getting started with Foundry as a smart contract development tool belt.
https://r4bbit.substack.com/p/smart-contract-development-with-foundry?utm_campaign=post
- 🔥Smart Contract Development with Foundry🔥
A guide to getting started with next generation smart contract developer tools. Hope this is useful.
https://r4bbit.substack.com/p/smart-contract-development-with-foundry?utm_campaign=post
- 🔥 Smart Contract Development with Foundry 🔥
A guide to getting started with next generation smart contract developer tools.
Hope this is useful.
https://r4bbit.substack.com/p/smart-contract-development-with-foundry?r=kgtu
- Developers getting into smart contract development:
What do you need to level up?
- Going to publish a guide on how to get started with Foundry tomorrow.
If you’re new to smart contract development or considered switching to Foundry in the past, this will be for you.
Really fun to play around with these tools.
- Did you know you can generate wallets with readable hex values?
This one for example, starts with "2bad":
0x2BadC4395130B7D232C20eea773F831260e974F2
Here's how:
https://r4bbit.substack.com/p/generating-vanity-addresses
- Viem is really pleasant to use.
Well designed and streamlined APIs, great docs.
Used it to talk to a contract on a local hardhat node, that was deployed using foundry.
Refreshing.
https://viem.sh
- Do people still use ganache these days for testing smart contracts locally?
- Data Science Math 101: Derivatives
https://r4bbit.substack.com/p/data-science-math-101-derivatives
- Data Science Math 101: Limits
https://r4bbit.substack.com/p/data-science-math-101-limits
- Data Science Math 101: Functions
https://r4bbit.substack.com/p/data-science-math-101-functions
- I’m learning about some foundational math for data science.
I’ll share what I learn here.
- Hello world.