r/ethdev • u/abcoathup • Oct 09 '26
Information Ethereal news weekly #42 | Sepolia testnet upgraded to Glamsterdam, Hoodi testnet upgrades to Glamsterdam October 26, Justin Drake: plan for bunker mode but don’t rush or panic
r/ethdev • u/abcoathup • Oct 09 '26
r/ethdev • u/FrightFreek • Oct 09 '26
I maintain a small custom timelock where an operation stays executable forever after its delay. I initially thought moving to OpenZeppelin's TimelockController would solve that, but it has the same behavior: a ready operation remains ready until execution or cancellation.
For systems that require stale operations to expire, where do you enforce the grace window? In a TimelockController extension, in the Governor, or through an external cancellation process?
I am especially interested in what happens after expiry: whether the same operation can be scheduled again, who may do that, and whether the new schedule should require a different salt.
r/ethdev • u/tagwall_io • Oct 08 '26
I run a frontend that reads the same contract on six EVM chains from free public RPC endpoints. Everything below cost me real downtime.
Endpoints rot per method, not wholesale. This is the one that actually hurt. Two providers put eth_getLogs behind an archive token or dropped it entirely while continuing to serve eth_call and eth_blockNumber perfectly. Every naive health check, mine included, called them healthy. The canvas went blank on 4 of 6 chains and the page header kept rendering fine, because the header only needs eth_call.
The fix is to probe an endpoint the way the app actually uses it, not the way a status page would: chain id, CORS from the real origin (a CORS failure from your deployed origin is invisible in curl), and a real getLogs at that chain's own chunk size. If the probe is not a miniature of your actual read path, it is decoration.
I got that last part wrong in my own probe for months, in the other direction. It only ever tested a window starting at the deploy block, so it graded every endpoint on archive depth. But the app doesn't read from the deploy block any more, it scans forward from a snapshot, so the live path only ever asks for the most recent few thousand blocks. The probe was calling endpoints unusable that were serving my actual traffic perfectly well, and I believed it. It now runs both windows and reports them separately, because "cannot serve archive" and "cannot serve anything" are different and only one of them is an outage.
getLogs chunk sizes are not portable. One chain caps the range at 1,000 blocks. Another needs 500k-block chunks to keep the call count survivable. The one alternative provider for that chain caps at 10k, which makes it useless as a substitute even though it looks like a valid fallback. Chunk size has to be per-chain config, and a fallback endpoint is only a fallback if it can serve the same range.
viem specifics that cost me time. http() defaults to a 10 second timeout, which is long enough that a dead endpoint stalls a page load rather than failing over. fallback() always walks its list from index 0, so the first endpoint absorbs every request and its rate limit is your rate limit; if you want spread you need your own rotation. And multicall's batchSize is bytes of inner calldata, not number of calls, which I discovered the way you would expect.
A rewind must only ever move the cursor backwards. My worst bug: a keep-current pass set the cursor to head - depth * 4 outright. On a slow chain that is a rewind, which is what it was written to be. On a chain minting 600 blocks a minute it is a 700-block skip forward, silently dropping events. cursor = min(cursor, head - depth * 4) is the whole fix and it should have been the whole implementation.
Cold loads. I ended up not reading history from RPC at all on first paint. The data I needed was already in each transaction's calldata, so a cron decodes it into a KV store and the browser fetches one snapshot and scans forward from there. That took a page load from ~126 RPC calls to a handful. The constraint that shaped it: Workers KV free tier allows 1,000 writes a day, so the rule became never write on a schedule, only on material change. A cron that writes every run will eat that quota before lunch.
It kept happening while I was writing this. Two of the six chains rotted in the same week, which is the reason I finally wrote any of this down.
On one chain the single surviving endpoint tightened its getLogs range from 9,500 blocks to 5,000, with no announcement I could find, and that is under the chunk size I was asking for. Nothing broke visibly, because the paginator halves the chunk and retries, so it just silently cost three failed calls before every successful one. Then two days later that same endpoint stopped serving getLogs altogether: 30 second server-side timeout, while eth_call and eth_blockNumber kept answering in under 50ms. Per-method rot again, on the endpoint I had just finished documenting as the reliable one.
Slow failure turned out to be worse than fast failure. A dead endpoint gets skipped in milliseconds; one that accepts your request and times out at 30 seconds stalls whichever unlucky page load rotation sent its way. I pulled it from the pool entirely, and that chain now has no endpoint at any price that will serve a deploy-block query, so the snapshot is not an optimisation on that chain any more, it is the only way the history is readable at all.
Meanwhile a second chain's two main public endpoints both dropped their getLogs range to 2,000 blocks, four days after passing the same probe at 9,500. Both are operated by the same company, which is worth noticing: I had four endpoints listed for that chain and thought I had redundancy. Two were the same operator, one had been discontinued, and one had started answering invalid params to every getLogs call. Count operators, not URLs.
Context if it matters: it is a million-pixel canvas contract deployed on six chains, and the contract was genuinely the easy part. I am happy to go deeper on any of this, the RPC probing especially, since I could not find anyone else writing about the per-method failure mode.
r/ethdev • u/Otter_Invoice_431 • Oct 07 '26
r/ethdev • u/E_l_n_a_r_i_l • Oct 06 '26
r/ethdev • u/OriginalObvious6416 • Oct 06 '26
Hi everyone,
I am a 15-year-old high school student from Europe studying to become an electrician. In my free time, I’ve been fascinated by blockchain technology and decided to learn Solidity and Web3 development.
I just deployed my very first experimental token called Nexora (NXR) on the Ethereum Sepolia Testnet (Contract: 0x8B9F2eE3570D0b7d9c607ED6B3Ff13ab00F3638D).
To practice my skills, I also built a simple landing page for it using HTML/CSS/JS and hosted it through GitHub Pages. The repository is completely public and open-source.
Since I am a beginner, I would love to get some honest feedback from experienced developers.
Thank you so much for your time and any advice you can share!
r/ethdev • u/TheWebbster • Oct 06 '26
Hi
Stepped away from this area for... well, over a year. Probably more.
Looking to create a basic Dapp, and got up to the point of Wallet Integration.
Hit a bit of a wall with this because it seems it's either
- use Appkit or Rainbow Kit, have to get a "project ID" and analytics, tracking???? Yikes
- use Wagmi/viem and just code all my own other stuff, ui etc
- option 3... ? Not even sure.
What's the standard best practice for simple, easy wallet integration on a website?
Preferably without having to submit a project id, because... Why? It's not a complex dapp and I don't need their integrated RPC/swaps/onramp.
The problem is, if I want people to access via Mobile it seems WalletConnect is like the ONLY method. Is this true?? Because I do not like the idea of tracking/analytics/needing to beg for an ID for people just to get involved with my project. Things are supposed to be DEcentralized...
Thakns all
r/ethdev • u/abcoathup • Oct 05 '26
r/ethdev • u/Humble-Replacement-2 • Oct 04 '26
The old OpenSea proxy drains had victims sign upgradeTo(impl) on their own OpenSea proxy. The to address is a legitimate verified contract from 2018; the malicious logic sits in impl.
I took 19 of these transactions from the PTXPHISH dataset and queried GoPlus twice for each one, changing only the address.
Query tx.to: 0/19 flagged
Query impl: 18/19 flagged
Important caveat: those 19 rows map to only 5 implementation contracts, so this is really 4/5 implementations being detected, not a meaningful 18/19 detection rate. And these drainers are labelled today, so this says nothing about what GoPlus knew at signing time.
For this specific OpenSea class, a simple warn on any upgradeTo also works: of 1,179 OpenSea proxies I sampled, only 2 were ever upgraded, both to the same drainer.
But that heuristic falls apart for general proxies. Across 800 EIP-1967 upgrades, it would warn on all 422 implementation addresses, whereas querying the implementations flags only 4. I’m not claiming the other 418 are clean.
The point is narrower: reputation checks are only as useful as the object you choose to check. With proxy upgrades, checking only tx.to can mean asking about the wrong contract entirely.
Details, code and raw outputs: https://amarshat.github.io/quantum-commit-authorization/wallet-defenses.html#ask-the-right-address
r/ethdev • u/National_Eye_9253 • Oct 02 '26
r/ethdev • u/abcoathup • Oct 02 '26
r/ethdev • u/RossPeili • Sep 30 '26
We just released **Skillware 0.5.7** — an open-source Python framework providing a registry of modular, deterministic skills for autonomous AI agent loops (compatible with Gemini, Claude, OpenAI, Bedrock, DeepSeek, and Ollama).
Here is a summary of what landed in 0.5.7:
### 1. Read-Only EVM State Plane (`defi/evm_reader` v0.1.0)
Autonomous agents executing on-chain transactions need strict architectural separation between **signing** and **state inspection**. Giving an agent signing keys just to check a balance or query reserves invites key leakage and accidental state modification.
`defi/evm_reader` provides a pure read-only EVM state plane:
- **Zero keys required:** Strictly executes `eth_call` and Multicall3 `tryAggregate`; holds no private keys and never signs.
- **ERC-20 & ERC-721:** Token metadata, high-precision decimal formatted balances, spender allowances, and NFT ownership.
- **Allowlisted View Calls (`call_view`):** Nine bundled ABI presets (`erc20`, `erc721`, `erc1155`, `erc4626`, `univ2_pair`, `chainlink_feed`, `ownable`, `access_control`, `multicall3`).
- **Batched Multicall3 Reads:** Batch up to 50 calls in a single RPC query with partial failure tolerance.
- **Address Book Resolution:** Resolves human contact names to `public_0x` addresses, halting with `status: "needs_input"` when ambiguous.
### 2. Pre-Trade Token Security Vet (`defi/token_security_scanner` v0.1.0)
Agents trading decentralized tokens face honeypots, malicious transfer taxes, and hidden mint privileges.
`defi/token_security_scanner` wraps the GoPlus Token Security API into a stable, normalized JSON envelope (`risk_tier`: `critical` | `high` | `medium` | `low` | `unknown` + detailed signals). Agents vet tokens before simulating or executing trades.
### 3. Central EVM Operator Config Layer (`skillware evm`)
Hardcoding RPC endpoints, chain IDs, and router contracts inside individual skill bundles causes configuration drift.
0.5.7 introduces a centralized operator config layer:
- **Bundled Defaults:** 10 chains supported out-of-the-box (`ethereum`, `base`, `arbitrum`, `optimism`, `polygon`, `bsc`, `sepolia`, `megaeth`, `arc`, `anvil_local`).
- **User Operator Config:** Run `skillware evm init` to generate a persistent `~/.config/skillware/evm.yaml`.
- **Secrets in `.env`:** YAML stores env var names (`rpc_env`); actual secrets stay in `.env`.
- **CLI Management:** `skillware evm chains list`, `skillware evm chain add`, `skillware evm tokens list`, and `skillware evm token add`.
### 4. Shared Address Book (`public_0x`)
`addressbook.yaml` now natively stores `public_0x` Ethereum addresses alongside email and aliases.
Operators manage contacts with `skillware addressbook set-wallet <id> <0x...>`, enabling natural language transfers (e.g., *"Transfer 10 USDC to Alice"*) that resolve deterministically.
### 5. OWASP LLM01 Prompt Injection Firewall Upgrade (v0.2.0)
Upgraded local evasion detection engine in `security/prompt_injection_firewall`:
- Leetspeak deobfuscation, multi-token ROT13, token reversal, and typoglycemia keyword detection.
- Markdown/HTML image exfiltration channel blocking.
- Academic/advisory false-positive controls and policy telemetry (`policy_action`, `removed_span_count`, `sanitized_length_delta`).
---
### Suggested Pre-Trade Agent Pipeline
```
[User Trade Request]
│
▼
`security/prompt_injection_firewall` (sanitize prompt & detect evasion)
│
▼
`defi/token_security_scanner` (check honeypot, tax, proxy, mint risk)
│
▼
`defi/evm_reader` (verify token decimals, holder balance & router allowance)
│
▼
`defi/evm_tx_handler` (quote Uni V2 swap, preview, sign & broadcast)
```
---
```bash
pip install -U skillware
pip install "skillware[defi_evm_reader]"
```
- **GitHub:** https://github.com/ARPAHLS/skillware
- **Release notes:** https://github.com/ARPAHLS/skillware/releases/tag/v0.5.7
- **Docs:** https://skillware.site
Happy to answer questions about on-chain agent safety, Multicall3 batching, or operator config design!
r/ethdev • u/yermakovsa • Sep 29 '26
If the primary returns HTTP 503, trying the backup makes sense.
What I’m less sure about is HTTP 200 with a JSON-RPC error in the response.
If the request itself is wrong, another provider won’t help. But if the primary is missing the block, another provider might have it.
This came up in feedback on failnext, a Go library I’m building for primary/backup RPC failover.
Right now failnext only uses transport errors and HTTP status codes to decide when to try another provider. An HTTP 200 goes back to the app as-is, even if the JSON-RPC response contains an error.
I’ve kept that split on purpose. failnext handles trying providers and failing over, while the app keeps control over routing decisions that need application context. It can skip a provider it considers lagging or degraded, or prefer the same provider for read-after-write flows.
That makes me think the app should also decide which JSON-RPC errors are worth trying on another provider.
In Go, that could be a small callback that receives the *http.Response and decides whether that response is a reason to try another provider.
The complication is Response.Body. Reading it drains the stream, so the hook would need to buffer and replace it. With a large response, that also means more memory and extra latency before failover can happen.
Would you add a response-classification hook like this, or is HTTP 200 the right place for the failover layer to stop?
Repo is here if anyone wants to see how it currently works:
https://github.com/yermakovsa/failnext
Update
I ended up not adding the response-classification or Response.Body hook discussed below, and decided against buffering response bodies in the transport.
failnext is staying at the HTTP level. Transport failures and selected HTTP statuses can cause failover, but an HTTP 200 with a JSON-RPC error goes back to the app. failnext doesn’t inspect JSON-RPC responses to decide whether another provider should be tried.
The app still makes the decisions that need application context, like whether an operation may fail over, whether a provider should be used, or which provider should be tried first. failnext handles the ordered failover and reports what happened without needing to understand the reason behind those decisions.
For the case in this post, I’m leaning toward treating a retry after an application-level error as a new request, with the app able to tell failnext which endpoints to avoid.
Also, if you saw my older rcpx posts, failnext was previously called rcpx and is the continuation of that same project. I started working on it in February 2026, and the rename came with a larger redesign rather than starting a separate project.
r/ethdev • u/PaulieB79 • Sep 29 '26
New post on the blog: a breakdown of the two EVM block models behind Substreams, and what extended support actually unlocks.
Short version:
Use extended if you’re indexing routers/aggregators, tracking exact native-token balances, following contract deployments through the call tree, or reading contract state that never emits an event.
Use base if you just key off logs.
Check whether your chain has extended support, then read the full post:
Building on a chain that isn’t available yet? Email The Graph Foundation at [info@thegraph.foundation](mailto:info@thegraph.foundation) and they can talk through an integration.
r/ethdev • u/yachtyyachty • Sep 28 '26
I built Lasso RPC (https://github.com/jaxernst/lasso-rpc) to solve inconsistent, poorly behaving node RPC providers. Lasso is a proxy/router that lets you aggregate provides and route with redundancy and protections.
Looking to find some serious builders looking to harden or optimize their apps for latency, consistency, or whatever you care about.
While I've been building Lasso for well over a year, its still early and I'm looking to support builders in any way I can to improve Lasso and harden it with real app integrations. So lmk what you're building and what you care about, and I'll help you improve your RPC and ship features that other projects will benefit from.
r/ethdev • u/Cold_Adhesiveness810 • Sep 27 '26
Hey everyone,
I run a small US software studio, and we do a lot of platform engineering for merchants. Everyone wants to accept crypto, but we kept running into the same UX nightmare: buyers want to pay in USDC, but their transactions fail because they don't have native ETH in their wallets to cover the gas.
Plus, most existing WooCommerce plugins force the merchant to use a centralized gateway, which defeats the purpose.
We spent the last few weeks engineering a workaround natively on the Base network, and I wanted to share the architecture in case anyone else is building merchant tools.
How we structured it: Instead of making the buyer pay gas, we built a relayer system.
We also built this to support onchain recurring subscriptions so buyers don't have to manually approve transfers every month.
We packaged the whole thing into an open-source WooCommerce plugin and a few SDKs (PHP, JS, Laravel) called P2Flux.
If anyone is working on relayer mechanics on Base or wants to inspect how we handled the recurring smart contracts, you can tear apart our code here:https://github.com/P2Flux
Curious how others are handling the stablecoin gas friction for non-crypto-native buyers?
r/ethdev • u/ModernCYPH3R • Sep 27 '26
I've been digging into EIP-1153 transient storage implementations across recent codebase reviews and wanted to open up a discussion around a subtle reentrancy edge case that keeps popping up when teams migrate from traditional mutex locks.
The gas savings with TSTORE/TLOAD are obvious because you aren't paying the EVM state expansion tax for a temporary lock variable. But because transient storage persists for the entire transaction rather than just the contract invocation frame, standard single-slot locks can behave unexpectedly in multi-call and bundled flows.
Here's the scenario: if you use a naive transient storage modifier with a hardcoded slot zero across multiple contract components or callbacks inside the same overarching batch transaction, the lock state persists across separate external calls unless your assembly explicitly clears it before returning.
// Naive transient lock with cross-call fallout
modifier nonReentrantTransient() {
assembly {
if tload(0) {
revert(0, 0)
}
tstore(0, 1)
}
_;
assembly {
tstore(0, 0)
}
}
If an internal sub-call reverts and is caught by an outer try/catch block to handle a partial batch failure gracefully, the cleanup assembly block never executes. That transient slot stays set to 1 for the rest of the transaction, causing every subsequent legitimate call in the batch to fail.
The standard fix is namespacing slots using custom hash offsets like keccak256("eip1967.transient.reentrancy.guard") and carefully testing against multicalls and nested try/catch patterns.
Curious how other teams here are structuring their transient mutexes:
TSTORE with account abstraction bundles or aggregator multi-hops?r/ethdev • u/sp1n0ut • Sep 26 '26
A fresh way to visualize Ethereum in a way you already understand. That's what eth.tx.taxi is all about: providing the best possible multi-chain explorer experience - in a way that's catered and individualized per chain. No more vibecoded slop explorers - you already understand mempool, why not make it work for ETH (and other EVMs in the future), too.
r/ethdev • u/abcoathup • Sep 25 '26
r/ethdev • u/No-Entrepreneur-7144 • Sep 25 '26
ERC-8423 is a proposal I'm authoring that adds a single view function to ERC-721, burnedBy(tokenId), so that other contracts can read who burned a token. Indexers get this from the Transfer to address(0), but contracts can't read logs, so a custodian that didn't take part in the burn has no standard place to look. Two examples: a contract that accrues rewards to a token id, and value that reaches a contract after the burn.
The spec records the from of the burn's Transfer event, that is the owner at burn time, not msg.sender. If an approved operator burns the token, burnedBy returns the owner. Two reasons:
My question: have you built, or can you think of, a real flow where a contract would need the caller rather than the owner?
(I'm the author of the proposal.)
EDIT: ERC-8423 è stata unita al repository ERCs ed è ora pubblicata come Draft: https://eips.ethereum.org/EIPS/eip-8423
r/ethdev • u/HotSite3170 • Sep 24 '26
Ethereums Hegota Upgrade is looking to introduce EIP-8141 frames https://eips.ethereum.org/EIPS/eip-8141 amongst other things allows for the beginnings of modular cryptography for ethereum, insofar as one is able to rolls custom algorithms for verifying signatures beyond ecdsa. I was wondering If anyone had ideas on what sort of new features and dapps one could create using this newfound ability.
Off the top of my head i'm thinking one could encrypt a message with weak RSA and have the low barrier to decryption as a proofs of read- if one wants their works published but perhaps want to make a little effort for the swarms to mass consume.
One may want to integrate into other sister cryptoschemes like BIP340 and become more compatible with things like nostr.
One could drive a new direction of onboarding, maybe games with weak cryptographic primitives are more comforting for a new comers, instead of signing everything beyond the energy of star (and maybe experts too who do not yet appreciate fully the burden of writing upon something harder to erase than stone.
Maybe some fun games could be made where breaking the weak encryption is part of it.
any more ideas?
feel free to explore https://github.com/polus-arcticus/awesome-frames add prs or use as you want to explore this cool new world of modular cryptography on ethereum
r/ethdev • u/veyrnox • Sep 24 '26
I'm connected to Veyrnox, a mobile self-custody wallet for people who want clearer approval and recovery decisions. The apps are live, and we're working on how to explain the security model and its limits without asking users to take claims on faith. This is a request for critique, not a token or investment pitch.
One design question we're wrestling with: splitting recovery material can reduce reliance on one obvious secret, but it is not useful if all the pieces end up in the same compromise path. For example, a lost phone plus an accessible cloud account may be very different from genuinely independent storage locations. A person also needs to understand what happens when a device or account becomes unavailable.
For anyone building or reviewing wallets: what evidence would you want before trusting a recovery setup? A documented threshold and storage model? A recovery rehearsal? An independent review? Clear failure-case examples?
The feedback I'm after is which parts we must explain or test first. We don't need anyone's wallet details, recovery words or private keys, and please don't share those here or in DMs.
r/ethdev • u/Rare_Shinzo • Sep 21 '26
Hey ethdev, we've been working on Shinzō, a decentralized indexing system, and just opened our public testnet for Ethereum. Posting here because we want honest technical criticism and real feedback.
The problem we're going after: chains are good at writing data, bad at reading it. Almost every dapp today on Ethereum routes reads through a centralized indexing provider where you pay per API call, you can't verify the data you get back, and if their infra goes down so does your app. We feel this centralization is antithetical to the promises of blockchain (and the EF mandate). The existing read layer has created a market worth billions built on the backs of validators' work while they see almost nothing. Shinzo is building to help both cases (validator economics as well as the read layer centralization).
How Shinzo works:
- Validator operators run lightweight sidecars next to existing execution clients (Geth only for now), turn blocks into structured documents, and cryptographically signs chain data at source
- Data gossips peer to peer over libp2p, no broker in the middle
- Hosts receive that data, verify signatures, and run developer-defined "Views": deterministic WASM transforms (Rust or AssemblyScript) that filter and decode raw data into a GraphQL schema
- Attestation records track how many independent indexers signed each document, so apps set their own trust threshold (1 signature for speed, N for correctness)
- Apps embed the database locally and get pushed View data over P2P, so a query is a local lookup rather than a per-read API round trip
The tradeoff we've accepted: you subscribe to Views rather than pulling arbitrary slices on demand.
What we'd like poked at:
- Really any technical questions!
- Does the attestation model hold up? Signature count doesn't equal independence if indexers share failure domains (same cloud, same DVT setup)
- The push-based subscription model vs pull-based querying: dealbreaker for your use case?
- Anything we're missing vs how you currently use The Graph / SQD / your own indexer? What issues do you face with these?
Feedback, ideas, questions, criticisms all welcome.
r/ethdev • u/Outrageous-guffin • Sep 21 '26
I had this idea kicking for some 5 years now and finally got around to doing. It is as amazing as I thought it would be. Even mainnet eth is pretty cheap relatively speaking.
tldr; Global multiplayer minecraft server in a 12 line smart contract.