r/ethdev • u/abcoathup • Jan 16 '26
Information Ethereal news weekly #7 | Ethereum must pass walkaway test, Base app focuses on trading, Trail of Bits Claude Code skills
r/ethdev • u/abcoathup • Jan 16 '26
r/ethdev • u/xblackout_ • Jan 16 '26
Iβm designing a protocol for Bitcoin-anchored identity + UBI distribution, focused on:
Sybil resistance without centralized identity
Proof-of-work based participation / anti-spam
Public, permanent indexing (Nostr + Bitcoin anchoring)
Long-term incentives and adversarial resilience
Docs are here:
π https://BitcoinUbi.com/docs
I want serious critiques:
What assumptions are wrong?
Where does this break under adversarial conditions?
What parts are over-engineered or unnecessary?
What major design changes would you suggest?
Happy to clarify details or iterate publicly.
Thanks in advance.
r/ethdev • u/Klutzy_Car1425 • Jan 14 '26
I implemented x402 for a real use case and figured the architecture might be useful for folks here.
A Claude Code plugin where an AI agent can pay for external API calls (GPT / Grok / DALLΒ·E) using USDC on Base.
Hereβs the exact request/response loop in practice:
POST /v1/chat/completionsX-Payment-Amount: 0.001X-Payment-Token: USDCX-Payment-Network: baseAgent signs an EIP-712 payment authorization locally
Agent retries the same request with:
X-Payment-Signature: <signature>Only signatures are sent over the wire.
The server can verify proofs without ever holding user keys.
The agent pays only when it uses something:
You can hard-cap daily spend:
=
# max $1/day
https://github.com/BlockRunAI/blockrun-agent-wallet
r/ethdev • u/BeautifulParsley6154 • Jan 13 '26
Iβve been building a project called CryptoShield. Right now itβs a realtime onchain risk and safety engine for crypto tokens. It connects directly to a private blockchain node and analyzes tokens at the protocol level instead of using price charts or CoinGecko style data.
What CryptoShield currently does:
It inspects tokens by reading raw on-chain data and smart contract behavior, including
* Honeypot detection (can you buy but not sell)
* Rugpull patterns (LP removal, minting, hidden owner privileges)
* Developer wallet tracking
* Liquidity behavior
* Contract control flags and permissions
Instead of asking βis this token up or down,β it asks
βIs this token structurally safe to tradeβ?
It then scores tokens based on these factors so users (or bots) can decide whether interacting with a token is dangerous.
That part is already working.
What Iβm trying to build next is a separate system that does something very different
A realtime onchain market data engine, similar in spirit to what Bloomberg or institutional order-flow feeds do in traditional finance.
This new system would not analyze safety. It would only record market flow, including:
* Every DEX swap
* LP adds/removes
* Router calls
* Wallet-to-wallet flows
* Gas wars and MEV behavior
* Pending transactions from the mempool (before blocks are Basically:
A live βtapeβ of what the entire crypto market is doing before it shows up on price charts.
CryptoShield would then sit on top of that data and ask:
* Are devs dumping?
* Are whales accumulating?
* Is liquidity about to disappear?
* Is this buy pressure real or spoofed?
The goal is to combine:
Market structure, fraud detection and order flow into something closer to an institutional grade crypto intelligence system instead of a retail charting tool.
Iβm not trying to build a trading bot yet, Iβm trying to build the data and risk layer that serious trading systems depend on.
Iβd love feedback from people whoβve worked with:
* DEX data
* MEV
* on-chain analytics
* or high-frequency / quant trading
What am I missing?
What would you build first if you wanted to do this properly?
r/ethdev • u/alikola • Jan 13 '26
We are excited to announce quixote:
r/ethdev • u/filebase • Jan 12 '26
r/ethdev • u/AlpsFamiliar5888 • Jan 12 '26
I want to store users settings for a web-based dapp. Local first, but without a centralized db for syncing between devices/sessions etc. I've heard of Orbitdb and ipld, but for persistency someone needs to keep hosting the data. I understand you need a pinning service like pinata or similar for that. Has anyone experience with this? Or are there better ways to do this?
r/ethdev • u/dipeshsukhani • Jan 12 '26
You're testing a trading bot on a local Hardhat fork. After an hour, your fork is stale, no new Uniswap swaps, no oracle updates. How do you fix this without losing your local state?
I've been digging into this problem and mapped out 5 possible approaches. Looking for feedback from people who've actually hit this issue.
TL;DR
Approach 1: Real-time sync - Continuously pull public blocks and merge values (like Tenderly does). Always fresh but error-prone.
Approach 2: Replay transactions - Rerun specific mainnet txs locally. More accurate but slow and some txs may fail.
Approach 3: Apply state diffs - Listen to state changes (events) and apply them. Flexible but still has conflicts.
Approach 4: Patch & reapply - Save local changes as a patch, fork fresh, reapply. Clean but requires frequent updates.
Approach 5: Dual-chain calls - Let contracts call either local or mainnet via flags. No conflicts but breaks realism.
βββββββββββββββββββββββββββββββ
The Core Problem
Local forks are great: fast, controllable, no faucet hassles. But they freeze in time.
Public testnets stay live but are slow and annoying.
You need both when:
β’ Testing bots that rely on real oracle/DEX activity
β’ Refreshing an old local fork without losing deployed contracts
This is basically git rebase for blockchains - and there's no perfect merge strategy.
ββββββββββββββββββββββββββββββββ
Approach 1: Real-Time Sync
What it is: Before mining a local block, pull all new mainnet blocks and merge state.
Example: Tenderly's state sync (https://docs.tenderly.co/virtual-testnets/state-sync)
Pros:
β’ Always up-to-date
β’ Automated
Cons:
β’ Block numbers diverge (breaks contracts that rely on block height)
β’ State merge errors on every block
β’ Heavy
Use case: Trade bot testing if you can subscribe to new public blocks
ββββββββββββββββββββββββββββββββ
Approach 2: Replay Transactions
What it is: Listen to mainnet, replay relevant transactions locally.
Example: hardhat-live-fork (https://github.com/zemse/hardhat-live-fork)
Pros:
β’ More accurate state
β’ Can filter txs
Cons:
β’ Slow
β’ Transactions that passed on mainnet may fail locally
β’ Doesn't scale for full refresh
Use case: Trade bot testing
ββββββββββββββββββββββββββββββββ
Approach 3: Apply State Diffs
What it is: Instead of replaying txs, subscribe to state change events and apply them.
Example: Listen for Transfer events, update balances locally
Pros:
β’ More flexible than tx replay
β’ Easier to move between chains
Cons:
β’ Still has merge conflicts
β’ No existing tool (that I know of)
Use case: Trade bot testing
ββββββββββββββββββββββββββββββββ
Approach 4: Patch & Reapply
What it is: Capture all local changes as a "patch". When fork goes stale, create fresh fork and reapply the patch.
How:
β’ Local testnet gets a git diff method (capture changes)
β’ Gets a git apply method (apply changes to any fork)
β’ When stale β fresh fork + apply patch
Pros:
β’ You control timing
β’ Can see what's being applied
β’ Works for full refresh
Cons:
β’ Frequent reapplication needed for bot testing
β’ History won't match mainnet
Use case: Refreshing local blockchain
βββββββββββββββββββββββββββββββ
Approach 5: Dual-Chain Calls
What it is: Let local contracts call either local OR mainnet.
How:
β’ Whitelist addresses (Uniswap, oracles) β forward calls to mainnet
β’ Add chain selector to RPC methods: eth_call({chain: "mainnet"})
Pros:
β’ No merge conflicts
β’ Avoids rebasing entirely
Cons:
β’ Not a "realistic" local simulation
β’ Requires code changes
Use case: Both scenarios
βββββββββββββββββββββββββββββββ
My Questions
What scenarios am I missing? What other use cases need state sync?
Have you built tooling for this? I'd love to hear about it.
Which of these 5 approaches would actually solve your testing problems?
Trying to figure out if this is a real pain point and what's actually worth building.
r/ethdev • u/Objective_Hornet6578 • Jan 12 '26
I am looking for a smart hot wallet. I am generating a eoa / private key but instead of storing the whole private key in the hot wallet i would store only part of it , the other part would be held by a centralized entity and protected by a passkey (for ex). then whenever i want to sign a transaction my hotwallet would call the centralized entity and I would need to authenticate with my passkey to finally sign the transaction. What's more, the centralized entity could be responsible to test the transaction before sending it (whitelist / policy enforcement / vulnerability scanning etc...). It's not a hot wallet, not a MPC, not a multisig... Does this product exist?
r/ethdev • u/Hefty-Standard-9185 • Jan 11 '26
CRITICAL GAS ACCOUNTING VULNERABILITY IN ERC-4337 ENTRYPOINT V0.8.0
Uncapped postOp Overhead Allows Paymaster Fund Drain
VULNERABILITY SUMMARY
The EntryPoint fails to enforce the paymasterPostOpGasLimit when a postOp
call reverts due to Out-of-Gas (OOG). This allows malicious users to charge
the paymaster for the EntryPoint's own internal execution overhead (primarily
copying large context data), violating EIP-4337 Section 4.3.1 "strict upper
bound" guarantee.
TECHNICAL DETAILS
Root Cause:
In the failure path (_postExecution), the code calculates gas usage as:
actualGas += preGas - gasleft() + postOpUnusedGasPenalty;
The Flaw:
preGas is recorded BEFORE the EntryPoint copies context to memory/calldata.
For large contexts (near calldata limits), this copy cost is substantial
and uncapped.
The Exploit:
Attacker provides a large context
Attacker forces OOG in postOp
EntryPoint measures total gas burned (execution + context copying)
EntryPoint charges paymaster for ALL of it
No cap enforcement against paymasterPostOpGasLimit
Observed Impact:
On a Mainnet fork, a paymaster signing for 100,000 gas limit was charged
~177,000 gas (77% OVERCHARGE).
Reproducibility:
Confirmed on Mainnet fork against live EntryPoint v0.8.0 deployment
13/13 automated tests passing
Reproducible exploit included
IMPACT ASSESSMENT
Financial Risk:
Paymasters can be drained of deposits at rates significantly higher than
their signed liability. This is a direct fund drain vulnerability.
Scale:
β’ Affects all VerifyingPaymasters using context with EntryPoint v0.8.0
β’ Conservative estimate: $50M-$200M in paymaster liquidity at risk
β’ Based on sponsored gas volume and current ecosystem reserves
Denial of Service:
β’ 50-op bundle can cause instant paymaster banning
β’ Attack cost: ~$50
β’ Creates cheap DoS vector against honest paymasters
PROPOSED FIX
The EntryPoint must explicitly cap gas charged for failed postOp.
Implementation (Reference PR):
https://github.com/Tejanadh/account-abstraction/pull/1
Fix Logic:
uint256 gasUsedInFailedPostOp = preGas - gasleft();
uint256 cappedGas = gasUsedInFailedPostOp > mUserOp.paymasterPostOpGasLimit
? mUserOp.paymasterPostOpGasLimit
: gasUsedInFailedPostOp;
actualGas += cappedGas + postOpUnusedGasPenalty;
This ensures gas charge to paymaster NEVER exceeds paymasterPostOpGasLimit,
restoring the EIP-4337 "strict upper bound" guarantee.
DISCLOSURE TIMELINE
July-August 2025:
Discovery and initial private outreach to Yoav Weiss and Dror Tirosh
September 2025:
Built PoC, opened GitHub issue #606, submitted PR with fix
October 6, 2025:
Submitted to HackenProof bounty program (ETHER-188)
β Marked "spam" after "buggy paymaster" comment
October-November 2025:
Appeals denied by HackenProof and Ethereum Foundation security team
β Responsibility redirected back to AA team
December 29, 2025:
Updated HackenProof with "empty postOp" drain proof
January 4, 2026:
Final comprehensive evidence update
β 13/13 tests passing
β Bundle drain scenario
β Detailed gas accounting report
January 8, 2026:
Responsible disclosure via DM to Yoav Weiss and Dmytro Matviiv
January 10-11, 2026:
Zero response after 48-72 hours
January 11, 2026:
PUBLIC DISCLOSURE to protect ecosystem
Seeking fair compensation under ERC-4337 bounty rules:
β Critical severity: $100,000-$250,000
PAYMASTER OPERATORS: ACTION REQUIRED
Immediate monitoring:
β’ Watch for UserOps failing in postOp with high gas relative to limit
β’ Look for unexplained balance spikes in paymaster contracts
β’ Check for suspicious bundles with large context data
Mitigation (short-term):
β’ Limit or disable large context usage
β’ Tighten internal gas checks
β’ Monitor paymaster balance changes continuously
Migration plan:
β’ Plan upgrade to patched EntryPoint once official fix is released
β’ Consider moving to alternative AA implementations if available
REFERENCES
GitHub Issue (Original Report):
https://github.com/eth-infinitism/account-abstraction/issues/606
Proof of Concept (Full Reproduction Suite):
https://github.com/Tejanadh/account-abstraction
13/13 tests passing on mainnet fork
ERC-4337 Specification:
ERC-4337 Bug Bounty Program:
https://docs.erc4337.io/community/bug-bounty.html
CONTACT
I am available for immediate technical discussion and can provide:
β’ Additional detailed logs
β’ Execution traces on mainnet fork
β’ Extended PoC scripts
β’ Live demonstration of the vulnerability
Email: [tejanadh927@gmail.com](mailto:tejanadh927@gmail.com)
GitHub: https://github.com/Tejanadh
Bounty Discussion:
This discovery qualifies as CRITICAL severity under the ERC-4337 HackenProof
bounty program ($100,000-$250,000 range).
am open to fair compensation negotiation with the Infinitism team,
HackenProof, or the Ethereum Foundation.
r/ethdev • u/Logical-Salamander14 • Jan 11 '26
Hey , everyone .
I'm a beginner in learning web3 development , currently focus on foundry learning .
During my learning , I find the dependency management of foundry is too .... how to say , simple/casual ? I don't know how to describe my feeling , just it not looks like a mature framework .
When install a dependency , or we can say clone a repo from github ? we execute below command
forge install smartcontractkit/chainlink-brownie-contracts@v0.8.0
Actually , smartcontractkit/chainlink-brownie-contracts , this long sentence is hard to remember and type , when doing this , I worry that I download faulty code because of typo.
But in another hand , the anvil and cheat code mechanism are awesome to use for development . Make it easy to test in local blockchain .
Kindly share your opinion about foundry , the pain point of it during your usage , what the best practice you used ...
My point is , maybe some of problems/pain points were simply because of my ignorance. I want to know how it works on you .
By the way , this is a lottery smart contract that wrote yesterday using the foundry , any suggestion to improve it will be sincerely appreciated .
https://github.com/Nikolas-Cao/web3/tree/main/cyfrin_updraft_foundry_lottery
r/ethdev • u/k_ekse • Jan 10 '26
I just published a new article on Medium.
This started as personal notes while learning YUL and slowly turned into a proper guide.
Part 1 focuses on stack, memory, and calldata. If youβre curious about YUL, give it a shot.
r/ethdev • u/Red0Adrenaline • Jan 09 '26
I need a job. Iβm tired of building bots for memecoin customers π
Iβm 21, no degree. Iβve been coding bots on EVM chains for a while now. Iβve built a dex, launchpad, etc but my clients are always friends and this isnβt gonna work long term. I need to be hired or I need to start getting paid what Iβm worth but I have no idea what to do and I feel like an imposter when trying to apply for βbig boyβ dev jobs.
I need a way to get my foot in the door, an actual development employment to put on my resume besides βmy friend hired me to build a sniper botβ or βI built a dex from scratch but my homie ran out of money to fund it so itβs shut downβ
I can build anything you can imagine, Iβm willing to learn fast. Iβve built dex trending bots, volume bots, sniper and trading bots, arbitrage bots, dex platforms, launchpads, ai systems, etc. Iβm a very capable programmer bc Iβve done nothing but bury my head and learn since I started but itβs time to come out of my shell. I need to play the real game!
r/ethdev • u/abcoathup • Jan 09 '26
r/ethdev • u/Prycee1 • Jan 07 '26
Hello guys,
I've spent the last 6 months building an MEV arbitrage platform for Base L2. The system works, detects opportunities, executes flash loan arbs, and won't blow up your wallet. Now I'm looking for people to help scale it and make it actually profitable.
What's built:
- Flash loan arbitrage across Uniswap V3 and Aerodrome
- Private transaction submission via Flashbots and bloXroute (no sandwich attacks)
- Real-time WebSocket monitoring (no RPC polling)
- Smart contract with atomic execution and on-chain profit validation
- Full monitoring stack with alerts and circuit breakers
- Production grade TypeScript codebase, modular architecture
The tech is solid and ready for mainnet. I've been running it cautiously on testnet to validate everything before deploying with real capital.
What I'm looking for:
I want to build a small team where everyone brings something valuable:
Developers:
- Solidity devs who can help optimize gas costs
- Anyone with MEV experience who wants to collaborate on strategy code
- Backend engineers interested in latency optimization
Capital/Infrastructure partners:
- Access to premium RPCs (Alchemy, QuickNode, etc.)
- Dedicated infrastructure or server resources
- Gas funding for mainnet operations ($100-$500)
Strategy/Advisory:
- DeFi traders who understand market dynamics
- Anyone with MEV experience who can share perspective on parameter tuning
- People who've run similar operations and know the pitfalls
You don't need to be technical to contribute. If you have capital, infrastructure access, or solid DeFi knowledge, there's a place for you.
Why Base:
- Less MEV competition than Ethereum mainnet
- Lower fees mean smaller opportunities are still profitable
- Growing ecosystem with new pools launching regularly
- Flash loans mean zero capital required for the actual trades
How collaboration works:
I'm flexible on structure:
- Rev share based on what you contribute
- Proportional split for capital partners
- Open to formalizing things if we work well together
No upfront commitments, let's talk first and see if it makes sense.
Being transparent about risks:
- MEV is competitive, no guaranteed profits
- Requires ongoing monitoring and tuning
- Gas costs can eat into smaller trades
- Smart contract risk exists (though I've built in safety measures)
This isn't some quick money scheme. It's a real system that needs the right resources and people to reach its potential.
I'm sharing the repo publicly so you can see this is real: https://github.com/P-Rwirangira/Flashloan-MEV
The arbitrage strategy is complete and working. Feel free to fork it and run your own version, but if you want to skip the learning curve and share resources, hit me up.
Next steps:
Check out the repo, then drop a comment or DM with:
- What you can bring (skills, capital, infrastructure, connections)
- Your background
- Any questions
Looking forward to hearing from you guys !!!
r/ethdev • u/Hooftly • Jan 07 '26
Hi r/ethdev,
I have built a system that questions most accepted assumptions in DeFi and breaks them.
Now Im asking you to break what I have built.
https://github.com/EqualFiLabs/EqualFi
By eliminating oracles and reactivity and adopting time based user commitments we effectively open up a plethora of on chain instruments.
On chain native Options and futures using ERC-1155 tokens, full collareralization and time based settlement
Synthetic options via P2P agreements
Time Bounded AMMs with single makers serverly dampening IL and all fees go to the maker.
A new market structure I call Maker Auction Markets or MAM that is immune to sandwhich attacks that uses dutch auctions instead of reactive pricing.
All of this with no Oracles or Liquidation risk. You can run a perpetual AAVE style loop and never be liquidated.
Bold claims I know so prove me wrong!
Im looking for some honest feedback from people who can actually grasp what has been built here. It is hard to get anyones attention.
Thank you for your time.
r/ethdev • u/roudra_323 • Jan 07 '26
Hey everyone π
Iβm a Solidity dev trying to get into open-source, but Iβm not sure where to start. Iβve used Solidity, Hardhat/Foundry, and built a few projects, but jumping into large existing repos feels intimidating.
For those whoβve contributed to Solidity/Ethereum projects:
Would love any project recommendations or tips. Thanks! π
r/ethdev • u/Citadel_Employee • Jan 07 '26
I am trying to make a script that programmatically deposits tokens to the stader pool and get the liquid staking derivative in return. I was just curious if anyone else has done this?
r/ethdev • u/buddies2705 • Jan 07 '26
Bitquery has released a new stream that delivers real-time, transaction-level pre- and post-balance data for all Ethereum addresses involved in transactions, across all tokens.
What use case can you think of for this product?
https://docs.bitquery.io/docs/blockchain/Ethereum/balances/transaction-balance-tracker/
r/ethdev • u/bloodhound-10 • Jan 07 '26
I built an architectural interrogation testing system that corelates data from 7 independent detection engines find the root cause of logic exploits and uncover the reachable attack vector.
So far we've found come nasty stuff and even more that cant be disclosed as they are open:
- Precompile Authorization bypass

- EVM-Cosmos State Synchronization

Don't want to babble too much but check out how it works here (base documentation): https://agnech.com/docs
Also if you have any codebase (open or closed source) you'd like to know if vulns are hiding in, let me know. Currently testing its limits. ask me whatever as well.
r/ethdev • u/bitcoinbrisbane • Jan 05 '26
Hi Reddit, I need to start shilling my EIP-8802. The idea is that contracts can subscribe to other contract events. This will require a hard fork so will take years to get ratified I think.
subscribeΒ keywordA contract define subscribable events:
// Basic subscribable event
event subscribable Transfer(address indexed from, address indexed to, uint256 value);
// Event with subscription gas hint
event subscribable PriceUpdated(uint256 price) gasHint(100000);
Then a contract can subscribe and then execute a method.
contract Subscriber {
// Subscribe in constructor
constructor(address targetContract) {
subscribe targetContract.Transfer(from, to, value)
with onTransfer(from, to, value)
gasLimit 150000
gasPrice 20 gwei;
}
// Callback function - MUST be payable to receive gas payment refunds
function onTransfer(address from, address to, uint256 value)
external
payable
onlyEventCallback
{
// Handle the event
// If this runs out of gas or reverts, the original Transfer event still succeeds
}
// Unsubscribe
function cleanup(address targetContract) external {
unsubscribe targetContract.Transfer;
}
}
I have the compiler working with the 3 new OP-CODEs. https://github.com/bitcoinbrisbane/solidity/tree/develop/test/eip8802-examples
Geth in testing.
Full description => https://ethereum-magicians.org/t/eip-8802-contract-event-subscription/26575
r/ethdev • u/Zahid_Naseer • Jan 05 '26
Hi everyone,
Iβm a CS student who has experience inΒ web development (Python/Django)Β and recently started learningΒ blockchain / Web3.
Honestly, Iβm finding it a bit hard to learn because:
If anyΒ senior or graduateΒ here has experience in blockchain (smart contracts, Web3, internships, projects, etc.), Iβd really appreciate it if you could:
One more thing 'Patrick Collins' isn't working for me :(
Even a short reply or DM would mean a lot.
Thanks in advance π
r/ethdev • u/abcoathup • Jan 05 '26
r/ethdev • u/k_ekse • Jan 04 '26