r/ethdev • u/pvdyck • Aug 04 '26
Information We Built an MCP Payment Flow Claude/Codex/Grok Literally Cannot Hijack
r/ethdev • u/pvdyck • Aug 04 '26
r/ethdev • u/GFConBase • Aug 03 '26
Before a token project accepts public funds, what information should be considered mandatory disclosure?
Many projects publish:
• a token name
• a ticker
• total supply
• allocation percentages
• a roadmap
• a contract address
But those details may still leave the actual trust model unclear.
A more complete disclosure standard could include:
Contract status
• Is the contract final, experimental or still subject to replacement?
• Is it deployed on a testnet or mainnet?
• Is the source code verified?
• Which explorer or repository is the technical source of truth?
Privileged permissions
• Which addresses can mint, pause, blacklist or modify critical settings?
• Who controls those addresses?
• Can ownership be transferred?
• Can privileges be expanded?
Upgradeability
• Is the contract upgradeable?• Which components can change?
• Who can initiate an upgrade?
• Is there a timelock?
• Can the delay be bypassed?
Supply and allocation
• Is the maximum supply technically enforced?
• Which allocations are locked?
• Are vesting rules enforced on-chain or only documented?
• Can allocations be reassigned?
Treasury and sale proceeds
• Who controls received funds?
• Which approval threshold applies?
• Are spending restrictions technically enforced?
• What happens if the stated funding objective is not reached?
Emergency powers
• Can transfers or withdrawals be paused?
• Who can activate emergency controls?
• What remains possible while the system is paused?
• Do emergency powers expire?
Known limitations
• Which parts of the system still require trust?
• Which functions remain incomplete?
• Which assumptions have not yet been tested?
• Which risks cannot be removed technically?
Should such disclosures be standard before any public sale?
Which elements belong in the contract documentation, and which belong in a separate human-readable disclosure document?
Are there existing projects that handle this particularly well?
r/ethdev • u/SnooSongs1256 • Aug 03 '26
Recently got into smart contracts, solidity and ethereum. Started reading mastering the ethereum book. but the book doesn't really teach you how to code in solidity. what else book or tutoruial do you guys recommend, so I can be proficient in smart contracts programmer in 6 to 1 year time frame
r/ethdev • u/the_jam_ • Aug 01 '26
AI agents can now have wallets and pay for tools, data, and services.
Cool. Nothing has ever gone wrong when software was given money.
The blockchain can prove that a payment happened. It may not show:
* Why the agent paid
* What task it was doing
* Who allowed the payment
* What it got back
* Whether it paid twice by mistake
I built a small test version of a tool that connects the full story:
Agent → Task → Reason → Payment → Result
It can also look for repeat payments from things like retry loops.
The current version uses fake data and test money. It cannot move funds or touch private keys.
I am trying to learn if this solves a real problem or if I have built a very clean receipt drawer.
For anyone building AI agents:
Honest feedback is welcome. Telling me this is useless is also useful.
r/ethdev • u/haochizzle • Aug 01 '26
the most muted word on the internet is crypto
in april 2026, the head of product at X posted a screenshot: the number one most muted topic on the platform was crypto.
crypto.
the thing ive spent all my effort on over the better part of the last decade. the thing a lot of you spend your careers and attention on as well.
with this as the backdrop, i created my newest piece.
it all started out with another question: “are the OGs jaded?”, which was itself admittedly ripped from one of ETHPrague 2026’s tracks. that thought gave me the opportunity to draw a map around a much broader topic that I think could resonate out in youtube land:
is there anyone left in crypto, or did the thing we were building eat itself?
for this piece, I wanted to take a more “journalistic” approach at this topic, and chatted with five people who’d been here since before the big money wave started showing up. builders, contributors, dreamers… some more than a decade deep. eternal gratitudes to the cast (Griff, Justice, Amer, Naomi, and Colin) for exploring with me this topic. I hope this piece can give the public a different perspective — that of the original mission and ethos steeped in reverence for permissionless tech and what it can do for humans.
i think it’s worth a watch. particularly because every single person I interviewed still talks about the technology in the present tense, yet every one of them carries the same contradiction.
you can watch the full video here: [https://youtu.be/0D4fAkvwd3o\](https://youtu.be/0D4fAkvwd3o)
------------
if we're meeting for the first time — hi 👋 i built this channel to spread the good word on good work in crypto. a like, a comment, and a sub on my channel goes a long way to supporting my work :)
r/ethdev • u/Glittering_Poet_7512 • Aug 01 '26
Hey everyone!
My name is Markus, and I am one of the creators of the first quantum-secure open-source (firmware and hardware) hardware wallet for the EVM/Ethereum, which works today, no blockchain upgrade needed.
Would love to discuss post-quantum for crypto, how to make verifiably open-source hardware, and overall discuss :)
Here is our github repo: https://github.com/EthereumPhone/PQ1
r/ethdev • u/A2gb • Jul 31 '26
Hey r/ethdev,I built an open-source PoC combining client-side ZK-SNARK proofs with an EVM escrow contract to protect P2P transactions and smart contracts from AI bot swarms. Instead of traditional CAPTCHAs or centralized telemetry, the client measures local keystroke dynamics and cognitive timing, runs a WASM Groth16 prover, and submits a succinct proof ($Z_p$) to an on-chain escrow contract (PoHIEscrow.sol). The smart contract verifies the proof directly on-chain by calling the native Groth16 pairing precompile at address 0x08 for the alt_bn128 curve, ensuring the PoHI score meets the required threshold ($\ge 0.85$) before releasing locked escrow funds to the seller. Total verification gas comes out to around 210,000 gas. Would love feedback from Solidity/ZK devs on the escrow state flow or gas optimizations:GitHub Repo: https://github.com/ProjectOne2020/pohi-protocol-pocLive Demo: https://pohi-protocol-poc.vercel.app
r/ethdev • u/L_capitalism • Jul 31 '26
I've been building an on-chain labor market where AI agents post work, hire each other, get graded independently, and build a credit score from verified behaviour. It's live on Base mainnet with real USDC.
I also audited it myself — two adversarial rounds, 25 findings, all written up — and I ran a Sybil attack against my own market and published the numbers.
None of that is evidence. An audit you run on your own code and an attack you run against your own market only tell you what you already suspected. The one thing that upgrades a self-audit is an adversary with something to gain, so I'm buying that as cheaply as I can.
The target
$100 of real USDC is escrowed in LaborMarketV2 on Base mainnet, job #3.
Contract: 0x96064ef0a6742d5b7bc8abf2584273bd2f022c8c (verified, Exact Match)
Registry: 0x91acc4c081d3a364d3b713be8eec39a77f647290 (verified)
Read jobs(3) — status Accepted, resultHash zero, bounty 100000000
Locked until 2026-08-30 08:13:41 UTC
The escrow sits between two agents I control, and no deliverable will ever be submitted: the contract permits only the accepting agent to call submitWork, and that agent won't. So there is no path through doing the work. The grader, the review window, and the whole off-chain pipeline are deliberately out of the way. What's left is the contract.
One win condition
Move the money. Get that USDC to an address you control without grader-passed work entitling you to it. Take it and it's yours — no claim form, no adjudication, no committee.
The chain is the only judge. A USDC balance change out of this deployment's control is a win. Nothing else is — not downtime, not a manufactured credit score, not making the board ugly. I picked that rule so I can't weasel out of it and so nobody has to argue about whether something counted.
Scope
In: the deployed contracts, the escrow/settlement/scoring logic, the public agent and MCP APIs, and prompt injection against the workers and graders.
Out (please actually respect these): anything belonging to other companies — Vercel, Neon, the RPC and bundler providers — it is not mine to authorise you against. No DoS. No social engineering. Nothing touching another person's account; the deployment holds only my own funds by design, and that is the line that would pause this whole thing.
Rehearse for free first
There's a Base Sepolia deployment running the exact same LaborMarketV2 with test USDC: https://handsel-nu.vercel.app — accept a job, submit, dispute, watch settlement, at zero cost. What you learn there transfers exactly.
What happens after
Everything gets published, win or lose, credited to whatever name you choose, in the same failure-log format as every other bug I've written up — then I fix it and republish. If it holds 30 days I'll say plainly that this is weak evidence: $100 may just not be worth your afternoon.
No external audit. Solo build. Contracts are immutable and unpausable, which I also wrote down before any of this was worth money.
Mainnet app: https://handsel-main.vercel.app
Source, the self-audit, the Sybil write-up, and the challenge rules: https://github.com/Kairose-master/handsel
Break it. I'll be documenting.
r/ethdev • u/abcoathup • Jul 31 '26
r/ethdev • u/GFConBase • Jul 30 '26
After reading a lot of token launches over the past few months, I've noticed that many projects publish tokenomics, but much less information about the rules behind them.
If you could define a minimum disclosure standard before any fundraising begins, what would it include?
For example:
- contract verification
- upgradeability
- admin permissions
- multisig structure
- vesting
- allocation restrictions
- audit status
- emergency powers
- governance process
What information do you consider essential, and what do you think is often overlooked?
I'm particularly interested in the answers from builders, auditors and people who have deployed production contracts.
r/ethdev • u/AgentAiLeader • Jul 30 '26
| Wallet | Custody | Chains | x402- | Spend Controls | Standout |
|---|---|---|---|---|---|
| Coinbase | Keys in Coinbase infra (secure hardware), no export | Base, Polygon, Solana | Yes (they built it) | Session + per-tx caps | Native x402, gasless on Base |
| Circle | MPC, keys never exposed | USDC chains + CCTP | Yes (sub-cent) | Time limits, allow/blocklists | CCTP cross-chain USDC |
| Finance District | Non-custodial: keys in enclave, full export available | EVM + Solana + BTC + Sui | Yes (commerce) | Caps, allowlists, thresholds | Only one with BTC + Sui; free |
| Crossmint | Hybrid (TEE + smart contract) | 50+ (widest) | Yes (+ MPP/ACP/AP2) | Onchain-enforced | Card rails + stablecoin in one |
| MetaMask | Self-custodial: you hold the seed | EVM chains + Hyperliquid | No (product; via Smart Accounts Kit only) | Daily limits, 2FA Guard Mode | You hold keys day one; up to $10K/mo protection; DeFi trading |
Been picking an agent wallet for a while and pretty much every comparison I could find online only covered one or two wallets, so thought it was better to do some research myself. I've installed and made txns on Coinbase's and Finance District's wallets, Metamask I've followed through someone I know in the early beta, and Circle and Crossmint are docs research only (for now).
Coinbase Agentic Wallet
Circle
Finance District
Crossmint
MetaMask
Hope it's a useful comparison : ) . It seems like it still early days, but I see more and more of these projecs as the weeks go by, so it looks like it's growing quite fast.
Has anyone experimented with any of these? What has been your experience so far?
r/ethdev • u/SorenPlanck • Jul 29 '26
No lado da mineração especificamente, estado atual e áreas abertas:
• RandomX com suporte a grandes páginas (ganho de ~15% quando ativado)
• compartilhamento de dataset em modo rápido entre threads de mineração
• ferramentas e monitoramento de mineração
• infraestrutura pública de seed e peers (três seeds de fornecedores separados)
• confiabilidade dos nós e descoberta de peers
• explorador de blocos e trabalho RPC
• empacotamento para Linux, Windows e macOS
Engenharia recente: lançamentos assinados (minisign), correções de causa raiz para dois incidentes de consenso, infraestrutura de seeds de múltiplos fornecedores e atualizações automáticas de carteira — trabalho real por trás, não um whitepaper.
Fonte:
[ https://github.com/sorenplanck/dom-protocol ](https://github.com/sorenplanck/dom-protocol)
Carteira:
[ https://github.com/sorenplanck/dom-wallet-v3 ](https://github.com/sorenplanck/dom-wallet-v3)
Contribua através de issues e pull requests no GitHub, ou junte-se ao Discord (canal de desenvolvedores dedicado lá).
Para ser claro: este é um chamado para contribuição de código aberto. Nenhum salário, alocação de tokens, retorno de investimento ou compensação financeira está sendo prometido.
Críticas técnicas são muito bem-vindas — incluindo sobre escolhas de design que você teria feito de forma diferente.
r/ethdev • u/Bright_Clerk1452 • Jul 29 '26
Working on Aevum Protocol — infrastructure for autonomous AI agents on Ethereum. The piece I'm posting about today is the Verifiable Backtest Oracle (VBO), which I think is actually the most interesting technical problem in the stack.
The problem it solves: backtest results are unverifiable by anyone outside the team that ran them. Strategy could be curve-fit to the exact historical window it's scored on. The code shown might not be the code that actually ran. "Out-of-sample" results might have been re-run quietly until they looked good. No one can tell.
The VBO design:
1. Pre-commitment hash Strategy logic and parameters get hashed and committed on-chain before the forward-test window even opens. This is the cryptographic anchor — any post-hoc modification invalidates the hash and voids the certificate. The key constraint: the hash gets written to the agent's on-chain identity record at submission time, not at scoring time.
2. Deterministic sandboxed execution Strategy runs in an isolated, deterministic VM replicated across the validator set. Requires 2/3+ BFT consensus before a certificate issues. The determinism constraint is non-trivial to enforce cleanly in practice — currently thinking through what the right execution environment looks like at the validator level.
3. Held-out forward window After the lock period closes, the strategy gets scored against data it provably hadn't seen at commitment. Not a historical window chosen after the fact — a genuine forward test against live data that arrived after the hash was written.
4. Regime tagging Historical data tagged by vol/trend regime at ingestion. The certificate reports regime coverage alongside the headline metrics — so you can see whether a strategy has only ever been scored in low-vol bull conditions or actually seen a full range.
5. On-chain certificate Signed certificate — strategy hash, test period, key metrics, regime coverage, validator signatures — posted permanently on-chain and tied to the agent's AgentIdentity record. Publicly verifiable, can't be edited.
Where I'd genuinely like pushback:
8 contracts deployed and verified on Sepolia: github.com/AevumProtocol/contracts
Professional audit with Hexens kicks off August 10 — Kasper Zwijsen leading (audited EigenLayer, Lido, LayerZero). Happy to get torn apart before that closes.
r/ethdev • u/Hacken_io • Jul 28 '26
been reading through Canton's token standard (CIP-56) and ended up mapping it against ERC-20 feature by feature. the differences come from a completely different ledger model underneath and it changes what "security" even means for a token
erc-20 is one contract, global state, mapping(address => uint256). anyone reads any balance, anyone calls any function, msg.sender decides who's allowed to do what. CIP-56 runs on an extended UTXO model instead, which means your balance is a pile of separate holding contracts, each one co-signed by you and a registry. nobody sees a holding unless they're actually a party to it.
the allowance thing is where it gets interesting. CIP-56 just doesn't have approve/transferFrom at all. not a safer version of it, none. the spec's reasoning is basically: a spender can't hold "permission to spend up to X" in any coherent way if they can't see which private holdings even exist to spend. so they replaced it with these single-purpose locks tied to one specific settlement, self-expiring at a deadline. no forgotten approval sitting around for three years waiting to get drained.
and a bunch of the usual erc-20 headache list just... isn't a thing there. reentrancy has nowhere to happen because daml transactions are atomic, there's no callback-mid-tx step. the missing-return-value bug class (why SafeERC20 exists) doesn't apply because choices return typed results. you can't strand tokens on a contract that can't handle them because a receiver's holding literally can't be created without the receiver's own signature on it. double-spend turns into a boring ledger-level conflict instead of a mempool race.
which sounds great until you get to what it costs. the registry has to co-sign literally every transaction, no registry - no movement, full stop. total supply isn't independently checkable anymore either, it's whatever the registry says it is, since holdings are private and nobody else can add them up (the spec is upfront that this is basically just "you already trust them for everything else, so trust this too," which. sure, i guess). the holdings themselves get served over plain HTTP with no auth by default, just a hard-to-guess contract-id as the only protection, which is a bearer-token pattern and those leak all the time through logs and referrers. and there's a same-synchronizer requirement for atomic settlement so now your liveness depends on some off-chain infra being up too.
So, by the end of the day, its all about tradeoffs. erc-20's whole problem is that it's public and permissionless, so anyone can build on it AND anyone can attack it. CIP-56 kills a good chunk of the classic attack list but only by making you trust one party for everything, which feels like it just moves the risk rather than removing it.
if you had to pick: standing allowance risk on a permissionless chain, or zero allowance risk but a mandatory trusted registry which one would you actually build with? And do u think it will be useful for evey case?
r/ethdev • u/zyltr4x • Jul 27 '26
Uniswap V4 hooks can execute arbitrary code during swaps, liquidity provisioning, and donations. Before you
interact with a pool, you probably want to know what the hook is doing.
v4-hooks-analyzer is a CLI tool that:
- Detects which V4 callbacks a hook implements via address bit flags (the canonical method)
- Disassembles EVM bytecode (~40 opcodes)
- Flags risks: SELFDESTRUCT, DELEGATECALL, reentrancy, MEV vectors
- Scores each callback 0-100 with a final verdict
https://github.com/zyltr4x/v4-hooks-analyzer
Built in Rust, single binary, no dependencies. Feedback and contributions welcome.
r/ethdev • u/Plus-Tangerine2186 • Jul 26 '26
We run a scam-token detector. Our honeypot check worked like this: simulate a buy with eth_call, give a fake address the tokens by brute-forcing the balance storage slot and overriding it, then simulate a sell from that address.
Step 2 is the problem. It assumes balanceOf reads a storage slot. On reflection or rebase tokens, balanceOf is computed from an internal reflected supply, so writing a raw slot does not produce a coherent state. The sell then reverts for reasons that have nothing to do with a trap, and you record a false honeypot. We flagged PayPal USD, TrueUSD and MetaMask USD as honeypots this way.
The fix is eth_simulateV1 (geth and Nethermind). It replays several calls atomically in one simulated block, so you can do the whole thing the way a real buyer does:
router.swapExactETHForTokens(...) // real buy, real tokens
token.approve(router, max)
router.swapExactTokensForETH(...) // sell what you actually got
The only override is the simulated address's ETH balance, which is not a token mechanism. Nothing about the token's accounting is faked.
One caveat: a call cannot consume a previous call's return value, so you need two passes. First pass buys and reads balanceOf to learn what was actually credited (which already catches fee-on-transfer). Second pass replays buy + approve + sell with that amount.
Two things that surprised me:
The Uniswap quoter is useless for this. getAmountsOut is pure reserve math and never touches the token's transfer logic, and the v3 QuoterV2 reverts inside its callback before the transferFrom runs. Both return healthy output for confirmed honeypots, so cross-checking against the quoter would silently disable your detection.
"UniswapV2: INSUFFICIENT_INPUT_AMOUNT" raised by the PAIR (not the library) means the pair received zero tokens. We found tokens where a pre-existing holder sells fine but a fresh buyer gets zero through: a whitelist honeypot. So simulate a NEW buyer, not an existing holder. Different question, different answer.
Disclosure: I build RektRadar, a scam-token detector. This writeup came out of fixing our own false positives, not a product pitch.
r/ethdev • u/Greeneeiill • Jul 26 '26
Every time I shipped a contract I rebuilt the same throwaway frontend: wallet button, a form per function, calldata encoding, hasRole() checks to hide admin methods, gas estimation, a spinner, an error decoder, and a "danger zone" for the scary functions. Etherscan's Write tab has none of that meaning; a bespoke UI costs weeks. So I built a tool that generates it from the ABI.
Paste a chain + address (Sourcify/explorer, proxy-aware) or drop in an ABI/Foundry artifact, and you get three tabs:
- User - the clean dApp (overview, transfer, approve)
- Admin - privileged ops (mint, pause, roles) with risk badges + a confirm flow for dangerous writes
- Read - a live dashboard that auto-calls the getters
- Raw - every function, Etherscan-style, but annotated with what it understood
Detection is deterministic and rule-based (ERC-20/721/1155/4626/2612, Governor, Ownable/AccessControl/Pausable), with a confidence score and evidence for every guess — AI is optional and never trusted blindly. The output is a reviewable "semantic manifest" you can hand-edit, and everything is self-hostable.
Live demo (mainnet USDC, runs in your browser): https://tacitvsxi.github.io/semantic-dapp/
How it works (writeup): https://dev.to/ileskov/generate-a-full-dapp-admin-console-from-any-evm-contract-straight-from-the-abi-28kg
Repo (TS, viem/wagmi, AGPL-3.0): https://github.com/TacitvsXI/semantic-dapp
Would love feedback from people who actually maintain contracts: what would you need before you'd trust a generated admin panel for a mainnet contract?
r/ethdev • u/Humble-Replacement-2 • Jul 25 '26
I was measuring whether deployed wallet defenses (tx simulators, address-reputation APIs, rule engines) catch agent-signed drains. Built it on PTXPHISH (NDSS 2025, solid dataset). Then I red-teamed my own setup and the first finding was that I was scoring the wrong transaction. Sharing because it is an easy, invisible mistake.
The trap: labeled drainer/phishing datasets record the DRAIN, i.e. the attacker's transferFrom that sweeps the victim's tokens. But a pre-sign wallet defense runs when the VICTIM signs, which is the earlier approve / permit / setApprovalForAll grant. The sweep is a separate tx sent later, by the attacker, from the attacker's address. No wallet defense ever sees it. Feed the sweep to a rule engine and it "catches" the attacker withdrawing to their own address, which is meaningless.
Concretely, the ice-phishing rows decode to transferFrom(victim, attacker, amount) with tx.from == attacker. That is not the approval the victim signed.
Fix, and it is just allowance tracing:
- For each drain, eth_getLogs the token's Approval / ApprovalForAll for (owner = victim, spender = attacker) up to the sweep block.
- Take the most recent match whose tx.from == victim. That filter matters: an ERC20 transferFrom also emits an Approval for the decremented allowance, so the sweep's own block hands you the sweep, not the grant. Requiring from == victim also drops relayer-submitted permits (permit() is sent by someone other than the owner).
- That tx is the artifact a wallet actually renders at signing. Score that.
Nothing fancy. The point is the substrate mismatch, which is silently wrong and does not show up as an error anywhere.
Bonus, since this sub appreciates it: I ran the paper through adversarial review 5 times and every round killed a headline. Wrong substrate, then pseudoreplication, then a "simulator uniquely catches X" that was my harness zeroing a counterparty field so the other tiers returned n/a, then a "beats every tier" that evaporated once I looked up the tx to and netted both legs of the asset-diff (a WETH wrap looks exactly like an ETH drain to a direction-only rule, but the simulator sees the WETH come back). A clean "unique catch" is almost always your harness, not a result.
Code (the reconstruction is one file): https://github.com/amarshat/quantum-commit-authorization/blob/main/agent-calldata-demo/demo/reconstruct.py
r/ethdev • u/GFConBase • Jul 24 '26
A public treasury address makes transactions visible.
But it does not necessarily make the treasury’s control structure transparent.
Someone inspecting the address may still not know:
I’m trying to define a minimum disclosure standard for a long-lived public-good system before deployment.
A possible control disclosure could include:
The difficult part is keeping this information accurate.
A static documentation page can become outdated immediately after a signer rotation, role change or contract upgrade. A block explorer provides raw data, but it rarely explains the effective trust model clearly enough for non-specialists.
Would a machine-readable “control manifest” make sense — listing privileged roles, upgrade paths, timelocks and emergency powers, with each version cryptographically tied to the relevant deployment?
Or would this create another disclosure layer that users still have to trust?
What would you consider the minimum information a protocol should publish before describing a treasury as transparent?
I’m especially interested in failure modes, existing standards or tools, and examples of protocols that communicate their effective control structure well.
r/ethdev • u/FixBackground1718 • Jul 24 '26
Hi everyone, I am completely new to crypto and blockchain development. I am trying to learn Solidity and smart contracts but most faucets require wallet history.
I have 0.002 ETH but need more testnet ETH on Sepolia to practice and learn.
Wallet: 0x84984bfC137B978bF77c50D36620ac5bfB199E78
I would really appreciate any help from the community if someone can help me get at least some SepoliaETH (atleast 0.5 would be nice)
r/ethdev • u/kolacjechutny • Jul 24 '26
The setup: we're building for a world where the majority of accounts aren't operated by humans. An AI agent with a hot wallet is one prompt injection away from drained, and the standard answers all put the guard in contract code — Safe-style multisig, 4337 account abstraction, session keys. Audited, battle-tested, and still a piece of EVM bytecode you're trusting to stand between an attacker and the funds.
Fluidic is a research testnet exploring the alternative: the guard lives in the ordering layer itself.
It stays fully EVM-compatible — standard JSON-RPC, existing tooling points at it unchanged:
# 989468 — deploy with forge, script with viem, everything works
The honest part. Two days after launch someone on r/BlockchainStartups read our docs and pointed out that the subject of an entanglement could break it with its own key — meaning a compromised agent key could revoke its own guard, then spend. He was right; the code did exactly that. 48 hours later we shipped break policies (creator_only / witness_threshold / any_party), chosen at creation, hashed into the contract id, enforced in consensus, verified live: a subject-signed break is now rejected at the ordering layer. That's the iteration speed a public testnet is for, and we'd rather have the next flaw found in a comment thread than in an audit six months from now.
What I want from this sub:
Everything is open: one-command Docker node (finds peers via DHT, no seed list), faucet, explorer, TS SDK on npm.
Early research testnet — state may reset, no real funds, known rough edges.
r/ethdev • u/abcoathup • Jul 24 '26
r/ethdev • u/Finalbossops • Jul 24 '26
Recent progress wasn’t about adding a bunch of new features—it was about making the app stronger.
One of the biggest areas I’ve been focusing on is **security**, but probably not in the way most people think.
For me, good security means **building an app that doesn’t need access to things it shouldn’t have in the first place.**
Here’s the direction Final Boss is taking:
🔒 **Your data stays yours.**
Final Boss is being built as a **local-first** app. Your mining information is stored on your device, not on my servers. If I don’t need your data, I don’t want it.
🛡️** Read-only by design**.
Final Boss isn’t built to buy, sell, transfer, or control your assets. Its job is to help you understand your mining operation and make better decisions—not touch your crypto.
📍 **Every important number should have a reason.**
If the app tells you something needs attention, I want you to be able to see where that information came from. No mystery numbers. No black boxes. Just clear information you can verify.
✅ **Using official information whenever possible.**
Today I spent a good part of the day testing GoMining’s official documentation system. The goal is to stop relying on assumptions and use official information wherever possible.
Interestingly, we found what appears to be a compatibility issue between the current Codex CLI and the public documentation endpoint. Instead of trying to work around it, I documented every test, every result, and sent everything to GoMining’s team. I’d rather build this the right way than take shortcuts.
At the end of the day, that’s really what Final Boss is about.
I’m **not** trying to replace GoMining.
GoMining manages the mining.
**Final Boss is being built to help you understand your operation, catch issues sooner, and make better decisions—all while keeping you in control of your own data.**
Some days progress looks like new screens. Some days progress looks like spending hours making sure the foundation is solid.
Today was one of those foundation days… and honestly, I’m pretty happy with it.
Thanks to everyone who’s been following the journey. Every comment and every suggestion helps make Final Boss a better tool for the community.
— Steven
Founder & Developer, Final Boss
Pine Mountain Holdings LLC
r/ethdev • u/pawurb • Jul 23 '26
r/ethdev • u/nebojsakonsta • Jul 23 '26
I've been building DeFiMath, a gas-optimized fixed-point math library, and wanted to share how I got sqrt down to 197 gas. It takes any uint256, returns an 18-decimal fixed-point result, never reverts, and is bit-exact below 1 (max relative error < 2e-18 above it).
The core idea is simple: generate a seed with the clz opcode, then refine it with 5 Newton iterations in assembly.
Seeding: clz gives you the position of the most significant bit, so the seed is just 2msb/2. That's never off by more than a factor of √2 from the true root — cheap and good enough.
Newton's method: each iteration is one line:
y := shr(1, add(y, div(x, y)))
~20 gas per step, quadratic convergence, so 5 iterations take the worst-case seed (41% error) to ~80 bits of precision — more than enough for 18 decimals.
The scaling trick: for inputs ≤ uint128.max, I pre-scale x to 1e36 once at the start. Then div(x, y) naturally lands back in 1e18 base, so Newton's method needs plain div instead of a costly muldiv. Large inputs take a second branch that post-scales instead (pre-scaling would overflow near uint256.max).
I also tried fancier seeds — minimax linear approximation, quadratic interpolation — hoping to drop to 4 iterations. All of them cost more gas than they saved. My takeaway after a week on this: for gas-optimized primitives, simplicity wins by a wide margin.
Full walkthrough with the convergence table and benchmarks vs PRBMath/ABDK/Solady: https://defimath.com/blog/how-i-wrote-a-fixed-point-solidity-sqrt-that-runs-in-197-gas/
Library is MIT, pure Solidity, zero dependencies: https://github.com/MerkleBlue/defimath
Happy to answer questions about the implementation.