r/ethdev • u/abcoathup • 11h ago
Information Glamsterdam Hoodi Testnet Reschedule | Ethereum Foundation Blog
r/ethdev • u/abcoathup • Aug 26 '26
r/ethdev • u/hikerjukebox • Jul 17 '24
Hello r/ethdev,
You might have noticed we are being inundated with scam video and tutorial posts, and posts by victims of this "passive income" or "mev arbitrage bot" scam which promises easy money for running a bot or running their arbitrage code. There are many variations of this scam and the mod team hates to see honest people who want to learn about ethereum dev falling for it every day.
How to stay safe:
What to do when you see a tutorial or video like this:
Report it to reddit, youtube, twitter, where ever you saw it, etc.. If you're not sure if something is safe, always feel free to tag in a member of the r/ethdev mod team, like myself, and we can check it out.
Thanks everyone.
Stay safe and go slow.
r/ethdev • u/abcoathup • 11h ago
I am the author and maintainer of EVMole open-source library (extracts selectors, arguments, control flow, proxies, ... from EVM bytecode).
I've now built an EVM decompiler on top of it: evmole.com
Address on EVM chain or runtime bytecode in and Solidity-like code out, names resolved using sourcify.dev
What makes it different from other existing solutions is output soundness - every decompiled function gets fuzzed vs real EVM, any disagreement makes the function "not decompiled", without lying to you in the output. And, of course, huge dataset with available source code is used for tests before every release.
One example where it matters: USDC's permit function decompiled wrong by "top decompilers" right now, side-by-side comparison is here evmole.com/comparison/usdc TL;DR: the order of operations got corrupted when signing the nonce.
I think it could be useful during security incident response and just analyzing closed-source contracts with which you want to interact.
Happy to hear any feedback and/or questions here.
Seeing more wallet teams plug in ChangeNOW or similar swap APIs instead of writing routing and liquidity code. Is it only time saved? Or is nobody on the team willing to own a liquidity book? Founders, what was your reason?
r/ethdev • u/nov_kiril • 2d ago
I do marketing at a Web3 dev shop. We describe ourselves as high agency: the team takes ownership and pushes back on the spec instead of waiting for instructions. I'm not sure founders read that the same way, or care.
If you've hired an outsourced team for contracts or a DeFi app, what would make you trust one more: a team that owns the outcome, or one that sticks to your spec? Honest answers welcome, including "that's just a buzzword :)
r/ethdev • u/ropsdrops • 5d ago
Hi all,
I'm a DevOps engineer, and at work a big part of my day is keeping servers and containers up to date. Knowing what runs where, which versions are outdated, and when something really needs to be patched is honestly one of the most stressful parts of the job.
I've been getting more interested in Ethereum and staking lately, and I keep wondering how this works for you. As far as I understand it, you have to keep execution and consensus clients current, and for hard forks there's a fixed deadline you really can't miss.
So I'm genuinely curious how you handle it:
I'm especially interested in hearing from people who run their own setup rather than relying on managed services.
r/ethdev • u/mellon98 • 5d ago
r/ethdev • u/Ok_Change_5175 • 7d ago
Hi everyone, I'm a university student learning Solidity and new to Web3. For my final-year project, I want to build an autonomous app where AI agents perform Web3 operations with single goal or something similar . What project ideas would you suggest, what's in demand and trending right now and what's good to build as a project that can solve a problem.
Thanks a lot
r/ethdev • u/No_Bag_2670 • 7d ago
0xCE744BE9c6674D81e4F4688917575C1fa8FC8e8E I just need it to test a project I had and the faucelets I tried didnt give me enough or mostly didnt work thank you so much
r/ethdev • u/jamesallen18181 • 8d ago
Hey everyone,
I used to spend a lot of time during audits trying to understand unfamiliar contracts, what each function actually does, how everything connects, and what assumptions the protocol relies on.
It was taking me longer than I wanted, so I started building this tool for myself to make that process easier. It’s called Autsec, and it helps me get a clearer picture of a contract before I go deeper into the audit.
It’s still early, but it has already been helpful for me and saved me time. I recorded a short demo and would genuinely like to hear what you think.
r/ethdev • u/eggZeppelin • 9d ago
Check it out!
Testing full Solidity contract lifecycles locally and in CI
r/ethdev • u/Mysterious-Day-9896 • 9d ago
I've been working on a problem I think more of us will hit soon: AI agents that can spend money.
The usual options are bad: give the agent a key (unbounded loss on the first prompt injection), or use a custodial agent wallet whose policy engine runs on someone else's servers.
cyphos-guard takes a different route, using the MetaMask Delegation Framework:
Status: testnet only, not audited; I published an internal security review (3 findings fixed). Live runs with Basescan links are in the README.
Questions I'd love input on:
Links: https://github.com/Phosse136/cyphos-guard · https://cyphosguard.com · npm: @cyphos-guard/sdk
r/ethdev • u/Bloqarl • 11d ago
Someone posted a DAO treasury prototype this week where governance votes on the mandate and a Safe executes it. They had just added a proposal, a vote and a delay before any mandate change, which is good. But the signers are still Safe owners, so they can call execTransaction and send the treasury anywhere, vote or no vote.
My first thought was a guard that only lets through calls the current mandate allows, or giving the signers a Zodiac Roles module instead of owner keys. The more I look at the guard version the less clean it gets.
setGuard is a Safe transaction too, so the owners can just remove the guard unless it also blocks calls to setGuard, enableModule, changeThreshold and the owner functions, and then a bug in the guard can lock the Safe for good, removing it included. And on 1.3 and 1.4 Safes a module goes through execTransactionFromModule, which never touches the transaction guard, so one enabled module is a way around it. 1.5 added module guards for exactly that.
So right now I lean towards the signers not being owners at all, only role holders, with the owner being something governance controls. I'm not sure that holds up once you need someone to act fast in an incident though.
If you run a treasury where the vote is supposed to bind the signers, what actually enforces it today, and what did you give up to get there?
Solidity v0.8.39 fixes a medium-severity bug that could silently corrupt storage when copying recursive structs, and warns about code size based on the new limits of the Amsterdam EVM version. It is likely the last release of the 0.8 series before 0.9.0.
struct Node { Node[] children; uint256 data; }.root = root.children[0] or roots = roots[0].children, the copy overwrote the source before it had finished reading it. The elements nested in the source were lost, and the members declared after the array came back as zero. No error was reported.--via-ir. The optimizer settings and the EVM version do not matter.bytes32 z and uint256 a, ((z, a), b) = (("x", 111), 222) assigned 111 to z and bytes32("x") to a. We do not consider this a security issue, because the pattern is unusual and unlikely to be used in practice.--evm-version amsterdam, the compiler now warns about contract code larger than 64 KiB and initcode larger than 128 KiB, the new limits from EIP-7954. For all other EVM versions, including the current default Osaka, the warnings still use the old limits.--ethdebug-resources, the compiler now emits the full info/resources schema of the ethdebug format, which describes types and their layout to debuggers. ethdebug output remains experimental and requires --experimental. For an introduction to the format, see ethdebug: a shared language for debug data, in use across projects today.ABIEncoderV2 pragma, the SMTChecker's BMC engine and the EVM versions older than Constantinople.r/ethdev • u/EstablishmentTough18 • 12d ago
Hi r/ethdev,
We’re announcing a **7-day transition window (Nov 20 – Nov 27, 2026)** to move our Python SDK/MCP package `agent-security-gate-x402` (`v2.2.1`) from a heavy local bundle to **`v3.0.0` (Cloud-Native Thin Client & Remote Gateway)**.
### Why this matters for EVM / Agent Wallet builders
### 7-Day Schedule (Nov 20 – Nov 27, 2026)
* **Nov 20 (Day 1):** Official 7-day transition notice published.
* **Nov 21–23 (Days 2–4):** Remote Gateway & `v3.0.0` Thin Client compatibility verification.
* **Nov 24–25 (Days 5–6):** `v3.0.0` Thin Client published to PyPI; final migration window.
* **Nov 27 (Day 7):** Legacy PyPI releases (`<= v2.2.1`) will be **yanked on PyPI**.
Existing integrations keep working smoothly during the 7-day window.
🌐 Gateway: `https://agent-security-gate-x402-212942243360.asia-northeast3.run.app` (`/docs`, `/llms.txt`, `/.well-known/agent-card.json`)
r/ethdev • u/redskin4lyfe • 12d ago
Building a community around a Web3 project is one thing. Keeping people interested and involved over time is a different challenge.
Some projects have thousands of members across Discord and Telegram, but only a small number actively participate in discussions. Others may have smaller communities where members regularly share ideas, ask questions and contribute to the project.
It makes me wonder whether community growth should be measured by the number of members or by how much people actually participate.
For those involved in Web3 communities, what do you think makes members stay active and genuinely interested in a project beyond launch announcements, giveaways and token-related discussions?
r/ethdev • u/Fola_Tau • 12d ago
Hi all,
We at Tau just launched our developer bounty program with over $10K in rewards.
Tau is all about creating new features in blockchain, made possible with a language that can formally represent and reason everything in its system.
Here are the first set of rewards: https://tau.net/bounty-program
r/ethdev • u/vinnie_james • 12d ago
Short version: DeFi still doesn't have a basic piece of finance, which is fixed rates. We spent a long time iterating on an onchain rate swap design until it worked.
Kairos lets you fix the rate on a loan you already have without moving it. Live on Ethereum and Base.
AMA about the design or the grind.
r/ethdev • u/0xthiru • 13d ago
We just open-sourced **Zean** (Zig + Lean), a toolkit for translating supported Zig functions into executable Lean models and proving their behavior. It came out of our formal verification work on [oksolc](https://github.com/okcontract/oksolc), our Solidity compiler written in Zig.
Zean works from AIR, Zig's analyzed intermediate representation. An instrumented compiler captures supported functions from AIR, and a translator emits executable Lean program definitions. Specifications and proofs live in separate handwritten Lean modules.
A verification library derives the proof obligations for memory access, initialization, permissions, arithmetic, control flow and supported calls. You write the contracts and loop invariants. If an obligation still needs a mathematical argument, you supply that too, and Lean checks the proofs. Unsupported operations are rejected, and unresolved obligations stay open.
The copy tutorial shows what that looks like:
```zig
inline fn copyWord(destination: *u32, source: *const u32) void {
destination.* = source.*;
}
pub export fn copy(destination: [*]u32, source: [*]const u32, length: usize) void {
var index: usize = 0;
while (index < length) : (index += 1) {
copyWord(&destination[index], &source[index]);
}
}
```
The caller has to establish that the source has enough initialized words and the destination has enough writable storage. For the source-preservation contract, the two ranges also have to be disjoint. Under those assumptions the proofs show there are no invalid accesses or uninitialized reads. A successful run copies the source contents into the destination and preserves memory outside it. Modeled allocation exhaustion is an explicit permitted failure, and termination is a separate property.
Change the loop bound from `< length` to `<= length` and you get an extra boundary access that the original contract can't justify. The tutorial also includes deliberately false claims that must fail verification.
When the Zig source changes, you recapture the function to regenerate the model, then replay the proofs.
This release covers memory-safety examples derived from Ziglings, buffer updates, copy loops, helper calls and a captured specialization of `std.mem.replaceScalar`. It supports restricted AIR fragments, with explicit target and layout constraints. The capture pipeline, the Zig frontend and the native backend remain trust boundaries, so the proofs don't establish correctness of the final native binary or of the whole compiler.
The idea is to keep design iteration in Zig and prove a component's contracts once it has settled.
To try it you need Zig 0.17.1 and elan:
```sh
git clone https://github.com/okcontract/zean
cd zean
elan toolchain install leanprover/lean4:v4.35.0
zig build ziglings
```
It's released under Apache 2.0. If you write Zig or Lean, I'd like to know which functions you'd want to verify with it first.
- Repo: https://github.com/okcontract/zean
- Writeup: https://okcontract.com/blog/introducing-zean-write-zig-and-prove-it-in-lean/
If you like it, leave a star on the repo. And if you'd like more updates, give us a follow: https://x.com/okcontract
r/ethdev • u/0xthiru • 14d ago
Our contracts took 709 seconds to build with solc. We tried tuning the build for a while, gave up, and wrote our own compiler.
oksolc is a reimplementation of solc 0.8.36 in Zig. Around 156K lines, no C++. It only does the optimized via-IR pipeline through Standard JSON, because that's what we ship with. For Foundry you just point FOUNDRY_SOLC at it.
The frontend is still sequential. The Yul optimizer and EVM codegen run per contract in a thread pool, which works because contracts barely depend on each other after the frontend.
The bigger win for day to day work is the persistent session. Each source file gets a semantic fingerprint, so editing a comment or reformatting doesn't invalidate anything. Import cycles are handled as SCCs and invalidate together. Artifacts are cached per phase in SQLite with HMAC-SHA256 on the entries, so a tampered cache can't hand you bytecode. oksolc serve --stdio keeps the whole thing warm between builds.
solc vs oksolc with 4 jobs:
Uniswap V4, full build: 59.0s vs 11.2s (5.3x) Pendle V2, incremental: 38.9s vs 1.4s (27.6x) Chainwall, full build: 709.8s vs 138.4s (5.1x)
Script is at test/benchmarks/external-compare.sh if you want to rerun them.
The thing I didn't expect going in is how much time we'd spend on what Solidity actually means. There's no formal spec. The language is whatever solc does. We run a weekly fuzz job that diffs our bytecode against solc on a public corpus, and CI builds OpenZeppelin, Uniswap v4, Pendle and Solady and pins the hashes. When the two compilers disagree, the diff shows you they differ but there's nothing that says which one is correct. We ended up with 9 places where we do something different from solc on purpose, and every one of those was an argument from the docs and from what the feature is obviously meant to do.
For most languages that's annoying. For this one it's worse, since the output can't be patched after deployment and often holds a lot of money. A compiler bug stays on chain. And fuzzing only covers the programs the fuzzer happened to generate, so at some point you want proofs, and you can't prove anything against a language with no definition.
So we started writing the definition. Solidity Spec is an executable formal model of Solidity in Lean. You can run real programs through it and compare with compiler output, and you can state properties about the semantics and get them machine checked. There's a paper, and machine-checked proofs for explicitly defined parts of the model. Coverage is still growing.
The long term goal is checking a compiler's output against a definition of the language, the way CompCert did for C and CakeML did for ML, instead of against another compiler.
If your Solidity builds are slow, try it. And if you work on semantics or verified compilers, I'd really like to know where the Lean model is wrong.
oksolc: https://github.com/okcontract/oksolc Solidity Spec: https://github.com/okcontract/solidity-spec
r/ethdev • u/ChASScaAbsLicker • 15d ago
r/ethdev • u/TakesThisSeriously • 15d ago
Kava's CalculateSupplyInterestFactor (in x/hard/keeper/interest.go) divides new interest by cash + borrows − reserves, and the only guard is IsZero(). On Nov 14, someone brought the dead BUSD market's net supply down to 2 base units. One accrual pushed the supply index from about 2.76 to 671,187, and 127 loans against that inflated collateral drained about 53.9M KAVA.
This is the same shape as Hundred, Onyx, Radiant and Sonne. Those were new markets, while this one was a market being wound down with its collateral factor still above zero. The post also covers a separate, unreported 23.5k ATOM shortfall that showed up in the same module on Nov 10. I also scanned about 2,000 Aave-fork reserves and about 260 Compound comptrollers, and empty markets that still count as collateral are held shut only by caps or freeze flags. For example, Radiant's sUSDe reserve on Ethereum has zero supply, a 72% collateral factor, and a borrow cap of 1.
If you're winding down a market, set the collateral factor to zero first, then turn off borrowing, then tell depositors to leave.
Full write-up: https://nefariousplan.com/posts/kava-lend-guarded-against-zero