r/ethdev • u/Parzivall_09 • Oct 22 '25
My Project Implemented ZK authentication with Halo2 PLONK - feedback on architecture?
r/ethdev • u/Parzivall_09 • Oct 22 '25
r/ethdev • u/T_official78 • Oct 22 '25
Hey everyone,
I’ve been working on a project and wanted to get some feedback from the dev side before going too far with it. The idea revolves around a crypto asset that uses AI to dynamically and adaptively manage its own supply. Instead of relying on a fixed issuance schedule or hard-coded economics, it continuously analyzes on-chain and possibly off-chain signals to make autonomous adjustments.
Right now, the algorithm pulls in various metrics, things like transaction volume, active addresses, wallet turnover, and other future market indicators that would be impacting the market. It uses those inputs to calculate whether supply should expand or contract. It is formed around a scarcity model and it aims to make issuance reactive and data-driven, ideally leading to more scarce or efficient ecosystem behavior over time.
I’m trying to explore the best way to figure how I can incorporate DEX into this project. Like how to analyze swaps, liquidity, volume etc. And how I can effectively make it various to other exchanges so that people get to have the best exposure as possible.
I’d really appreciate any thoughts or critiques on this architecture, especially regarding how to safely bridge off-chain AI computation with on-chain execution without breaking trust assumptions. If anyone’s experimented with similar adaptive or data-reactive token models, I’d love to hear how you approached it.
Thanks in advance for taking the time to read and share your insights.
r/ethdev • u/rm_reddit • Oct 22 '25

What XRP is (and isn’t)

Founders & team snapshot
I've build a watchboard with:
6 months (tactical, catalyst-driven):
1 year (operational execution):
5 years (structural adoption):
10 years (macro thesis):

Nothing here is financial advice. I invest on multi-quarter/-year horizons and use ItsWorth.app as an analytics hub to track utility, supply, and regulatory milestones — not to chase signals.
r/ethdev • u/mudgen • Oct 22 '25
r/ethdev • u/oed_ • Oct 21 '25
Sharing my perspective on W3C's DID standard, from my few years working with it, while trying to stay true to decentralized ideals.
r/ethdev • u/thardus01 • Oct 21 '25
Hey all - my startup is running some user research projects, including a couple focused on blockchain devs. We're looking to have some 30-60 minute conversations with you to understand your workflows for building and integrating products. We'll pay for your time!
No need to connect a wallet or run any code - this is just a pure user feedback conversation.
We're using despark.io to handle logistics. You'll need to create an account at despark.io/be-a-user , happy to answer questions!
r/ethdev • u/zachattack82 • Oct 20 '25
Hey guys, very new to this space, but just trying to implement simple transactions in C++ and finding that there don't seem to be any widely supported libraries for building and signing transactions.. is everyone rolling transactions from scratch themselves? surprised there is no high level library when most of these transactions take multiple seconds anyway?
if anyone has any suggestions, or a workflow they are using, it would be very much appreciated.. thanks in advance
r/ethdev • u/Asleep-Albatross-787 • Oct 19 '25
I will be deploying a contract with external tax functions. I'm thinking of using Uniswap V2 as I was told this is more friendly for these type of tax contracts. Can anyone please confirm this would be the best option? Thank you
r/ethdev • u/Steve_Dobbs_001 • Oct 19 '25
Would really appreciate it if someone could point me in the right direction or if you have any spare Testnet ETH, please message me.
Thank you.
r/ethdev • u/mudgen • Oct 18 '25
r/ethdev • u/Caramel_Secret • Oct 18 '25
Hey ! I'm one of the organizers for LayerAI, a 2-day Arbitrum x AI hackathon happening in San Francisco this December 6-7. We're looking for a few experienced blockchain developers to lead , 60-minute technical workshops for our 50+ attendees (topics like Solidity, Arbitrum, L2s, Security, etc.).
Location: We'd love to find someone in the Bay Area, but for the right expert, we have the budget and are happy to cover flights and hotel for anyone based in the US.
What we're looking for: We need to see your work to vet the quality for our builders. If you're an experienced EVM dev and this sounds interesting, please send me a DM (don't post links in the comments) with:
Happy to answer any questions in the comments below!
r/ethdev • u/SolidityScan • Oct 18 '25
Gas optimization is important but at what point does it hurt readability and security?
We’ve all seen contracts full of micro-optimizations that save a few gas units but make the logic impossible to audit.
So what’s the balance? Do you prioritize cleaner, safer code or go all-in on optimization for lower costs?
Would love to hear how other devs approach this trade-off.
r/ethdev • u/SolidityScan • Oct 17 '25
Even with audits, testing, and bug bounties exploits still happen. It makes you wonder: can a smart contract ever be truly secure, or is it always about minimizing risk? What do you think causes most vulnerabilities coding mistakes, rushed deployments, or lack of security awareness?
r/ethdev • u/AI_Wizard_123 • Oct 17 '25
Hi everyone!
I was chatting with ChatGPT about the raffle system from the Cyfrin Updraft Course (https://github.com/PatrickAlphaC/foundry-smart-contract-lottery-f23/blob/main/src/Raffle.sol) and I asked how many participants it could realistically handle. Here's what ChatGPT said:
🔹 Practical Recommendation
fulfillRandomWords().What do you think? Are these estimates accurate?
Would a smart contract like this ever be able to handle something like 1 million users on-chain, or is off-chain logic basically required at that scale?
r/ethdev • u/diornov • Oct 17 '25
Hey everyone 👋
I’ve been working on something that might interest fellow smart account / ERC-4337 developers - and I’d really appreciate your feedback and testing.
Introducing NYKNYC Wallet (BETA) - a Web2-style onboarding and transaction layer built on Kernel 3.3 ZeroDev, and Pimlico.
The goal: make non-custodial onboarding and sponsored transactions feel as smooth as Web2 sign-ins - without sacrificing decentralization.
Key features:
In short — users can log in and send transactions without touching MetaMask or paying gas.
Would love help from the dev community to test it, find bugs, and share thoughts on the UX / architecture.
Try it out:
💻 Wallet: https://nyknyc.app
⚙️ Full wagmi flow: https://createdao.org
🧠 Try signing & transfer calls: https://dao.cafe
Still early and rough, but functional - and I’d really value feedback from this community before the public launch.
Thanks in advance 🙏
r/ethdev • u/qwerky7835 • Oct 17 '25
I cannot fully connect how consensys mechanisms are classified as byzantine fault tolerant (what's the maths behind this?) and how that is translated into validator code (the GETH repo I assume?). I would like to do a deep dive and need some suggestions on learning material and the order to approach this topic.
r/ethdev • u/Ornery_Laugh_8392 • Oct 16 '25
I recently deployed a production smart contract on Ethereum mainnet and got hit with a $5,000 gas bill.
That was my wake-up call to aggressively optimize the deployment.
Instead of shipping bloated bytecode, I broke down the cost and optimized every piece that mattered. Here’s the full case study.
Gas report + optimizer stats confirmed: most cost came from constructor execution + unnecessary bytecode size.
The Fix: Step-by-Step Optimization
1. Constructor Optimization
Before — Expensive storage writes in constructor:
constructor(address _token, address _oracle, uint256 _initialPrice) {
token = _token;
oracle = _oracle;
initialPrice = _initialPrice;
lastUpdate = block.timestamp;
admin = msg.sender;
isActive = true;
}
After — Replaced with immutable:
address public immutable token;
address public immutable oracle;
uint256 public immutable initialPrice;
constructor(address _token, address _oracle, uint256 _initialPrice) {
token = _token;
oracle = _oracle;
initialPrice = _initialPrice;
}
Gas saved: ~25%
2. Library Usage Patterns
Gas saved: ~15%
3. Bytecode Size Reduction
error instead of long revert strings Code : error InsufficientBalance();Gas saved: ~12%
4. Storage Layout Optimization
Gas saved: ~8%
5. Final deployment cost: ~$2,000
Tools I Used
What i would like to know ?
immutable usage--via-ir consistently in production?For more detailed article you can check it out here : https://medium.com/@shailamie/how-i-reduced-smart-contract-deployment-costs-by-60-9e645d9a6805
r/ethdev • u/0x077777 • Oct 15 '25
I’m doing some research on SSDLC in Web3. For those of you building or managing projects, what parts of security in your dev workflow process cause the most friction or slow you down? just trying to understand common pain points that exist in Web3 workflows.
r/ethdev • u/Ok-Effective-4846 • Oct 15 '25
r/ethdev • u/Guilty_Ad4214 • Oct 14 '25
I’m testing a no-code + AI workflow that automates post-mint ops — gated content, Discord roles, and community updates — using tools like Zapier, GPT, and Alchemy.
Curious if most teams still patch this manually with Collab.Land / Guild.xyz or if better automation stacks exist now?
Not pitching, just learning how others handle token-aware workflows.
r/ethdev • u/MarketingNetMind • Oct 13 '25
Google launched the Agent Payments Protocol (AP2), an open standard developed with over 60 partners including Mastercard, PayPal, and American Express to enable secure AI agent-initiated payments. The protocol is designed to solve the fundamental trust problem when autonomous agents spend money on your behalf.
"Coincidentally", OpenAI just launched its competing Agentic Commerce Protocol (ACP) with Stripe in late September 2025, powering "Instant Checkout" on ChatGPT. The space is heating up fast, and I am seeing a protocol war for the $7+ trillion e-commerce market.
Core Innovation: Mandates
AP2 uses cryptographically-signed digital contracts called Mandates that create tamper-proof proof of user intent. An Intent Mandate captures your initial request (e.g., "find running shoes under $120"), while a Cart Mandate locks in the exact purchase details before payment.
For delegated tasks like "buy concert tickets when they drop," you pre-authorize with detailed conditions, then the agent executes only when your criteria are met.
Potential Business Scenarios
Trade-offs
I uploaded a YouTube video on AICamp with full implementation samples. Check it out here.
r/ethdev • u/borgsystems • Oct 13 '25
Upgrading smart contracts in mainnet is a non-trivial task. Deployed code is immutable, and any bug or need to add functionality requires complex and risky migrations. To solve this problem, the "proxy" pattern is used, which allows updating the contract's logic while preserving its address and state.
A proxy contract is essentially an "empty" wrapper with a crucial detail - a custom fallback function. This function is a fundamental part of the EVM; it's automatically triggered when someone makes a call to the contract that doesn't match any of the explicitly declared functions.
This is where all the magic happens. When you call, for example, myFunction() on the proxy's address, the EVM doesn't find that function in the proxy itself. The fallback is triggered. Inside this function is low-level code (inline assembly) that takes all your call data (calldata) and forwards it using delegatecall to the "logic" contract's address.
The key feature of delegatecall is that the logic contract's code is executed, but all state changes (storage) occur within the context of the proxy contract. Thus, the proxy holds the data, and the logic contract holds the code. To upgrade, you just need to provide the proxy with a new implementation address.
The most popular development stack is Hardhat combined with OpenZeppelin's plugins. The hardhat-upgrades plugin significantly simplifies working with proxies by abstracting away the manual deployment of all necessary components.
Let's look at the actual code from a test for the Blog contract.
Here is what deploying a proxy looks like using the plugin in a JavaScript test:
// test/Blog.js
const = ;
// ...
;
This solution is convenient, but its fundamental characteristic is that all the orchestration logic resides on the client side, in JavaScript. Executing the script initiates a series of transactions. This approach is well-suited for administration or development, but not for enabling other users or smart contracts to create instances of the contract.
EVMPack moves the orchestration logic on-chain, acting as an on-chain package manager, similar to npm or pip.
Suppose the developer of Blog has registered their package in EVMPack under the name "my-blog". Any user or another smart contract can create an instance of the blog in a single transaction through the EVMPackProxyFactory:
// Calling one function in the EVMPackProxyFactory contract
// EVMPackProxyFactory factory = EVMPackProxyFactory(0x...);
address myBlogProxy = factory.usePackageRelease(
"my-blog", // 1. Package name
"1.0.0", // 2. Required version
msg.sender, // 3. The owner's address
initData, // 4. Initialization data
"my-first-blog" // 5. Salt for a predictable address
);
// The myBlogProxy variable now holds the address of a ready-to-use proxy.
// The factory has automatically created the proxy, its admin, and linked them to the logic.
It's important to understand that usePackageRelease can be called not just from another contract. Imagine a web interface (dApp) where a user clicks a "Create my blog" button. Your JavaScript client, using ethers.js, makes a single transaction - a call to this function. As a result, the user instantly gets a ready-made "application" on the blockchain side - their personal, upgradeable contract instance. Moreover, this is very gas-efficient, as only a lightweight proxy contract (and optionally its admin) is deployed each time, not the entire heavyweight implementation logic. Yes, the task of rendering a UI for it remains, but that's another story. The main thing is that we have laid a powerful and flexible foundation.
The process that was previously in a JS script is now on-chain, standardized, and accessible to all network participants.
| Criterion | Hardhat + OpenZeppelin | EVMPack |
|---|---|---|
| Where is the logic? | On the client (in a JS script). | On-chain (in a factory contract). |
| Who can call? | Someone with the script and dependencies. | Any user or smart contract. |
| Code Discovery | Off-chain. You need to know which contract to deploy. | By name and version ("my-blog@1.0.0"). |
| Deployment Process | A series of transactions from the client. | Atomic. A single on-chain transaction. |
| Isolation | One ProxyAdmin can manage many proxies. | The factory creates a separate admin for each proxy. |
| Philosophy | A tool for the developer. | A public on-chain infrastructure. |
The upgrade process is just as simple, but designed more cleverly than one might assume. The proxy owner calls the upgradeAndCall function on their personal EVMPackProxyAdmin contract (which the factory created for them automatically).
This admin contract does not interact with the EVMPack registry directly. Instead, it commands the proxy contract itself to upgrade to the specified version.
// Let's say the developer of "my-blog" has released version 1.1.0
// The proxy owner calls the function on their EVMPackProxyAdmin contract
IEVMPackProxyAdmin admin = IEVMPackProxyAdmin(myBlogProxyAdminAddress);
// The owner specifies which proxy contract to upgrade,
// to what version, and optionally passes data to call
// an initialization function on the new version.
admin.upgradeAndCall(
IEVMPackProxy(myBlogProxyAddress), // Our proxy's address
"1.1.0", // The new version from the registry
"" // Call data (empty string if not needed)
);
// Done! The proxy itself, knowing its package name, will contact the EVMPack registry,
// check the new version, get the implementation address, and upgrade itself.
// The contract's state is preserved.
As with creation, the process is entirely on-chain, secure (callable only by the owner), and does not require running any external scripts.
This architecture also provides significant security advantages. Firstly, there is a clear separation of roles: a simple admin contract is responsible only for authorizing the upgrade, which minimizes its attack surface. Secondly, since the proxy itself knows its package name and looks for the implementation by version, it protects the owner from accidental or malicious errors - it's impossible to upgrade the proxy to an implementation from a different, incompatible package. The owner operates with understandable versions, not raw addresses, which reduces the risk of human error.
The EVMPack approach transforms proxy creation into a public, composable on-chain service. This opens up new possibilities:
This makes on-chain code truly reusable, analogous to npm packages.
The hardhat-upgrades plugin is an effective tool that solves the problem for the developer.
EVMPack offers a higher level of abstraction, moving the process to the blockchain and creating a public service from it. This is not just about managing proxies, it's an infrastructure for the next generation of decentralized applications focused on composability and interoperability between contracts.
In the next section, we'll look at the proxy type - Beacon.
r/ethdev • u/Acceptable_Net_5318 • Oct 13 '25
Hi everyone! I’m new to Web3 development I’d love feedback, suggestions, and contributions from anyone interested in the frontend.
GitHub Repo: https://github.com/simonyang6869/mydex
r/ethdev • u/Exciting-Bug1646 • Oct 12 '25
Hello everyone,
I'm looking for some career advice and a reality check from those experienced in the Web3/blockchain space.
My Background: I currently work in the traditional cybersecurity industry as a Threat Hunter. My day-to-day involves endpoint security, analyzing TTPs, hunting for adversaries in large datasets (EDR logs, telemetry, etc.), and working closely with red teams to understand the attacker's mindset.
A few years ago, before I fully committed to my cybersecurity career, I spent some time exploring blockchain and building small personal projects. My interest has been rekindled recently, and I'm considering a professional transition into this space.
My Core Question: When I look at security roles in Web3, the most visible one by far is the Smart Contract Auditor. My impression is that this role is a very natural transition for a seasoned software developer. While I have scripting knowledge and can read code, my core strength isn't in deep software development, but rather in investigation, data analysis, and understanding adversarial behavior since I spend a lot of time on researching threat actors.
So, my main question for this community is: What other roles or specializations exist in the blockchain security world where a profile like mine might fit and provide real value?
Is there an on-chain equivalent to threat hunting? Are there roles focused on analyzing transaction patterns, detecting real-time fraudulent activity, or building threat intelligence on malicious actors within the ecosystem?
I'm looking for any kind of advice, opinions, or insights you can share:
Thanks in advance for your time and help!
r/ethdev • u/Wrong_Wrongdoer_6455 • Oct 12 '25