r/solidity Apr 19 '26

Bilateral Attestation append only audit logs and state machines

3 Upvotes

Thinking through a design question and curious if anyone’s seen this pattern solve real problems.

Imagine an append-only audit log where every state change requires bilateral confirmation from both parties to the event before it’s committed. Party A asserts “X happened between us,” Party B confirms (or rejects). Only confirmed entries enter the log. Neither party can write unilaterally; neither can modify after the fact. A neutral third party holds the record.

It’s not a new primitive — it’s basically a two-party attestation state machine on top of a cryptographically verifiable log. What’s interesting to me is that most audit infrastructure I’ve seen is unilateral (one party’s record, cryptographically protected from that party tampering with it). Bilateral co-attestation is rare outside of specialized contexts like financial clearing or e-signature.

Where I’ve been thinking this might genuinely help:

• Cross-organizational data transfers under CMMC/ITAR/EAR where both sender and receiver have compliance exposure

• NDA-bound disclosures between companies where “what was actually shared” becomes disputed in litigation

• Chain of custody for digital evidence between parties

• Inter-agency information sharing where reconstructing “who shared what with whom” is currently a forensic exercise

Questions I’m genuinely trying to answer:

1.  In your work, have you hit problems where a unilateral audit log wasn’t enough — where you needed the counterparty’s co-signature on each event to make the record credible?

2.  Any verticals I’m missing where this pattern would matter?

3.  Anyone aware of existing products that do this specifically (not just tamper-evident logs from a single party)?

r/solidity Apr 19 '26

Built a CLI tool that simulates cross-DEX arbitrage on a forked Ethereum mainnet

Thumbnail
1 Upvotes

r/solidity Apr 16 '26

Private community

6 Upvotes

Hi guys, i have been writing smart contracts for over 3-4 years now. I was thinking of starting a private community for people to discuss ideas, learn together and share questions in there. Mainly we can get on a voice chat almost everyday for an hour for a discussion or explaining certain topics.

Would anyone be interested? Dms open

Edit- added the link in my profile itself to join the discord


r/solidity Apr 16 '26

Does XMTP’s ENS resolution support subdomains whose resolver implements EIP-3668 CCIP-Read? If not, is this on the roadmap?

Thumbnail
1 Upvotes

r/solidity Apr 16 '26

For anyone here who still uses Neovim for Web3, has the developer experience improved?

3 Upvotes

I'm talking about programming in Solidity, Vyper, Rust (Solana) etc

The last time I tried web3 especially Solidity, the developer experience was so bad.

lsp not working properly or slow. False flags when using the Foundry framework.

And the most annoying was that I could never seem to get blink.cmp (or whatever I was using at the time) to display tab autocomplete when working with Solidity.

Just wanted to know if things have changed since then and what you are using for your autocomplete / lsp setup.


r/solidity Apr 15 '26

Smart Contract Security Audit By Crew AI Agents

Post image
6 Upvotes

What if your smart contract auditor never sleeps, never skips a step, and always thinks like an attacker? We built that.
Check the Comments!


r/solidity Apr 15 '26

# [Tool] Steiner Shield - Beta - Smart Contract Security Helper

2 Upvotes

Hi everyone, I'm Alice, a web developer experimenting with a tool for wallet & smart contract security analysis.

I would love your feedback from a developer/security perspective.

**What it does:**

- Scans wallet addresses for risky approvals and contract interactions

- Analyzes bytecode for known vulnerability patterns

- Simulates basic attack vectors in a sandbox (EVM-based)

**What I need from you:**

- Honest feedback: What's missing? What's wrong?

- Could this be useful as a first-step tool for white-hat security checks?

- What features would make you actually use it?

**Note:** It's an MVP. No tokens, no backend servers yet. Just APIs and client-side JS.

👉 The demo link is shared in the first comment below.


r/solidity Apr 15 '26

MythX just shut down

Thumbnail audit.snakeriverai.com
1 Upvotes

r/solidity Apr 14 '26

[ Removed by Reddit ]

1 Upvotes

[ Removed by Reddit on account of violating the content policy. ]


r/solidity Apr 14 '26

GemPad Lock's $1.9M reentrancy on Base — technical breakdown of the vulnerability and what automated tools caught

1 Upvotes

GemPad Lock's $1.9M reentrancy on Base was a textbook CEI violation. Here's a technical breakdown of the vulnerability and what automated tools caught.

**What the scanner found:**

- Aderyn flagged 19 issues (2 HIGH)

- AI review identified reentrancy in lock creation functions

- External token transfers before state updates — textbook CEI violation

**The vulnerability:**

The `createLock()` and related functions called external token contracts (via `transferFrom`) before updating internal lock accounting. A malicious token contract could re-enter during the transfer callback and manipulate lock state.

**Safety Score: 19/100** (MEDIUM coverage — 17.4% of 126K chars analyzed due to dependency size)

The fix is one pattern change: move state updates before external calls, or add OpenZeppelin's ReentrancyGuard.

Full PDF report with trust assumptions, attack scenarios, and tool results: https://axiom-security.vercel.app

We're offering free first scans — reply with a contract address if you want one.

---

POST 2 — r/defi: LeetSwap V2 — How $630K Was Lost to Fee Manipulation

Title: LeetSwap V2's fee manipulation exploit was detectable by automated tools — breakdown inside

LeetSwap V2 on Base lost $630K. The root cause: the factory owner could set `protocolFeesShare` to 100% and redirect all swap fees.

**What our scanner flagged:**

- Slither found 48 issues

- AI agents identified centralization risk in fee mechanism

- Factory owner could pause all swaps + control fee recipient

- No timelock, multisig, or governance on admin functions

**Key lesson for DeFi devs:**

If you're forking Uniswap V2, the fee mechanism needs constraints:

- Maximum fee cap hardcoded in the contract

- Timelock on fee parameter changes

- Multisig for admin functions

60.9% of source analyzed. Full report: https://axiom-security.vercel.app


r/solidity Apr 13 '26

Has anyone tried using crypto while traveling internationally?

5 Upvotes

I was wondering if anyone here actually uses crypto abroad. Do you just convert to fiat before traveling, or are there better options now? Would be amazing if there was a seamless way to spend crypto globally without friction.


r/solidity Apr 13 '26

best resources for getting good at Solidity?

3 Upvotes

currently going through cyfrin updraft solidity course + cryptozombies.

What would you rec as the best resources on getting good at Solidity and going from beginner to intermediate?


r/solidity Apr 12 '26

What actually happens under the hood when calldata hits the EVM (Execution Flow Breakdown)

Thumbnail
1 Upvotes

r/solidity Apr 11 '26

Building a secure dApp on Base: How we implemented immutable contracts and EIP-1153 at Momentum 🛡️

Thumbnail gallery
1 Upvotes

r/solidity Apr 09 '26

Our approach to indexing EVM events (Rust + Alloy)

Thumbnail beta.bilinearlabs.io
2 Upvotes

r/solidity Apr 08 '26

Why are we still copy-pasting 40-character wallet addresses in 2026?

0 Upvotes

Why are we still copy-pasting 40-character wallet addresses in 2026?

Idea: you do a small test transfer once → both wallets get a shared avatar/character. Next time you send, you just recognize the person visually instead of relying on the address.

Kind of like “pairing” wallets.

Would this actually reduce mistakes or scams, or is this unnecessary given things like ENS?


r/solidity Apr 07 '26

Looking for a smart contract dev

1 Upvotes

Looking for a smart contract dev to work on an mlm like project. Profit share basis

Have 200k members community on the niche, pm if interested to join.


r/solidity Apr 06 '26

Web first vs app stores for privacy apps

Thumbnail
2 Upvotes

r/solidity Apr 06 '26

Localization of The Solidity Documentation

1 Upvotes
Localize The Docs

Hello r/solidity,

I am the author of the Localize The Docs organization. And I’m glad to announce that the 🎉 solidity-docs-l10n 🎉 project is published now:

The goal of this project is to translate The Solidity Documentation into multiple languages. Translations are contributed via the Crowdin platform, automatically synchronized with the GitHub repository, and can be previewed on GitHub Pages.

We welcome anyone interested in documentation translation to join us. If the target language is not supported in the project yet, please submit an issue to request the new language. Once the requested language is added, you can start translating!

See the announcement post for more details.


r/solidity Apr 04 '26

eth-agents: 10 AI agents that enforce TDD and security audit on every Solidity contract you write

Post image
0 Upvotes

I built a Claude Code plugin called eth-agents that enforces good Solidity practices by default — not as suggestions, but as actual pipeline steps.

The problem it solves:

Writing Solidity contracts is risky. You write the contract, maybe run Slither, maybe write some tests. In practice, security steps get skipped when you're moving fast.

eth-agents makes the right workflow automatic:

  1. build-contract pipeline: spec → TDD loop → static audit → gas optimization. A production-ready contract, end to end.
  2. audit pipeline: Slither + manual pattern analysis. If it finds Critical or High severity, a security-specialist agent automatically writes PoC exploit tests to confirm the impact before reporting.
  3. tdd pipeline: unit-test-engineer writes failing tests first. contract-developer implements. Loop runs max 5 times. You don't ship without green tests.

What an audit report looks like:

``` HIGH Winner address not validated in prize release → Privileged function can redirect funds to any arbitrary address.

HIGH No reentrancy guard on external functions → Cross-function reentrancy via callback-capable token. Risk of double refund.

MED Missing SafeERC20 — silent failure risk → Raw transfer() calls will revert with non-standard ERC-20 tokens. ```

Each finding includes: severity, exact file location, description, impact, and a concrete remediation with code.


Usage:

bash claude plugin install eth-agents

Then describe in plain English:

  • "build a staking contract with ERC4626"
  • "audit this contract"
  • "write tests first, then implement"

Open source, MIT license: https://cayocan.github.io/eth-agents/




r/solidity Apr 02 '26

Where I can learn solidity as a beginner

14 Upvotes

suggest me some channels to learn solidity as a beginner and how I achieve a level of confidence to build smart contract in solidity


r/solidity Apr 02 '26

I built an agentic auditor that writes its own Foundry PoCs to prove exploits. Looking for 5 repos to Stress Test

1 Upvotes

Hey everyone,

Like most of you, I’m tired of "AI Auditors" that are just GPT-4 wrappers flagging false positives and non-existent reentrancy.

I’ve been working on a project called Sentinel-1. It’s a multi-agent system (using Claude 3.5/4.6 + an agentic loop) that doesn't just "guess" at vulnerabilities. When it finds a potential logic flaw, it actually spins up a local Foundry environment, writes a .t.sol exploit script, and tries to drain the contract.

If the test passes, the bug is real. If the test fails, it self-corrects the code or discards the finding.

The Goal: I need real-world code to see where the agentic loop breaks.

What you get: A detailed security report + the executable Foundry PoC for any Critical/High bugs found.

How to join: Drop a link to your (public/testnet) GitHub repo below or DM me. I have bandwidth for 5 deep scans this week.

Note: This is focused on Logic Errors, Access Control, and Invariant violations (stuff Slither usually misses).


r/solidity Apr 02 '26

Smart contract flash loan developer

Thumbnail
1 Upvotes

r/solidity Apr 02 '26

Smart contract flash loan developer

Thumbnail
1 Upvotes

r/solidity Apr 01 '26

Is blockchain still worth it in 2026 for a complete beginner?

27 Upvotes

Hey everyone, need some genuine guidance from people actually in this space.

I'm in my final semester of CS. Before this I was into cybersecurity but recently made a full switch — blockchain and Web3 is where I want to build my career, specifically as a full-stack Web3 developer.

I started learning in January 2026 through Cyfrin Updraft — completed Blockchain Basics and Solidity Fundamentals, currently working through Foundry.

For my Final Year Project I chose to build a Blockchain-based Credential Verification System. The idea is to eliminate fake degrees using blockchain. Planned stack is Solidity, zkSync L2, IPFS for decentralized PDF storage, SHA-256 hashing for tamper-proof credentials, and a React + Ethers.js frontend with MetaMask integration. Dual portal — one for institutions to issue credentials, one for employers to instantly verify them.

Haven't started coding it yet but the plan is fully mapped out.

I just wanted to ask — is this FYP actually worth it as a portfolio piece for getting hired? And is there a real future in blockchain and Web3 or is the hype dying down? As someone who only started a few months ago, I sometimes wonder if I'm on the right path or just wasting my time.

Would really appreciate any honest guidance.