Microsoft launched the best course on AI Agents!
AI Agents for Beginners
This Free 11 lesson course is available on Github and will teach you everything you need to get started with building AI agents.
Here is something useful for the Solana devs:
Beware of Arbitrary CPI Attacks! If you don't validate the target program ID in a Cross-Program Invocation, attackers can hijack execution and bypass security!
Always verify the program ID before invoking:
https://t.co/1c9gKJst9m
If you are a Solidity dev or a Junior-Mid auditor, make sure you pay attention here.✍️
Must-know contracts:
Token contracts: The most used token standards are EIP20 for fungible tokens, and EIP721 for NFTs.
Proxies: There are many different proxy implementations, have a look at the OpenZeppelin Upgradable Proxies.
MasterChef contract: A staking contract by SushiSwap where users deposit LP tokens and receive rewards.
Compound: A must-know protocol if you want to have solid knowledge of Lending/Borrowing codebases.
UniswapV2: The basis for understanding automated market makers (AMMs) in general. You should also understand how LP tokens work.
Build and deploy LLM agents using just natural language! 🔥
AutoAgent is a fully-automated, self-developing framework that lets you create and deploy LLM agents using natural language alone.
(100% open-source)
The EVM.
What does it look like?
And why am I getting "Stack too deep" errors?
Why am I getting "data location must be `memory` or `calldata`"?
Where can the EVM read/write data?
Let's dive in.
EVERYTHING YOU NEED TO KNOW ABOUT WRITING TEST CASES FOR SMART CONTRACTS 📃
1. Setting Up a Smart Contract Testing Environment
2. Writing Unit Tests
3. Security-Focused Testing
4. Edge Case Testing
5. Advanced Testing: Fuzzing & Gas Efficiency
https://t.co/GFlEO1D3BM
🛠️ I built auto-healing tool for @playwrightweb tests 🎭
But it’s not the auto-healing you might think it is. I built an MCP server that can run Playwright tests and analyze data from test trace. It looks for:
- timing issues
- dead clicks
- network errors
...and many other common errors.
it goes deeper and wider than the error message of a failed test, which let’s be honest, hardly ever tells the REAL story of why e2e test failed.
The MCP server provides Cursor IDE (shown in demo), with suggestions on fix, whether that is in the test code, or the application under test.
I believe it’s pretty cool, but let me know your thoughts.
(link to video in the thread)
We are thrilled to release Solidity v0.8.29!
This version of the compiler brings support for EVM Object Format (experimental), custom storage layouts, ethdebug, and more.
📝 Blog: https://t.co/2ndqSdkw15
💾 GitHub: https://t.co/WttwbyVjeA
Follow along for notable features 🧵↓