Replies: 0 comments 4 replies
-
|
I studied the docs for the Solana's Anchor and I see the value in having an all-in-one CLI. I suggest we sunset our cargo extension in favor of |
Beta Was this translation helpful? Give feedback.
-
|
I definitely think we should avoid trying to combine everything literally into a single CLI (as opposed to a Git-style porcelain approach). There are multiple reasons for that:
As an aside, I think we should avoid conflating two closely related activities:
With that in mind, I think our approach should be comprised of two tools,
Putting all of this together, we get the following:
Work on From there, the next step is to define the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🧑💻 Improving Miden’s DevEx: Insights & Recommendations
During the past few weeks, the DevRel team has been researching, testing, and analyzing the DevEx of over 15 leading blockchain ecosystems. Our goal: identify what it would take to make Miden the most developer-friendly blockchain in the space — a best-in-class crypto ecosystem.
While the current Miden roadmap outlines important efforts aroundDevEx, we’ve observed that it's primarily implementation-focused, structured from the bottom-up. We propose complementing it with a more product-focused, top-down version: see proposed roadmap. We believe this reframing will accelerate developer onboarding and empower more meaningful integrations and applications.
This post summarizes our findings and presents concrete recommendations.
TL;DR
If you’re short on time, here’s the quick summary of our 5 major DevEx recommendations:
🧰 All-in-One Toolchain
Explanation
One of the biggest lessons from top ecosystems like Solana, Aptos, and Ethereum is the power of a batteries-included CLI that streamlines the entire development lifecycle.
We propose building a single entry-point CLI (
miden) that unifies key developer actions. This would lower the learning curve, reduce setup friction, and speed up iteration. Ideally, this should work with a single install command and intuitive subcommands.Table
cargo install midencurl -L https://foundry.paradigm.xyz | bashcargo install anchor-clibrew install aptosmiden accountcast wallet newsolana-keygen newaptos initmiden faucetsolana airdropaptos faucetmiden newforge initanchor initaptos move initmiden buildforge buildanchor buildaptos move compilemiden testforge testanchor testaptos move testmiden nodeanvilsolana-test-validatoraptos node run-localmiden deployforge createanchor deployaptos move publishmiden scanmiden callcast callanchor call(or script)aptos viewmiden sendcast sendanchor clientaptos move runmiden simulateaptos move run --dry-runWhy It Matters
A cohesive, ergonomic CLI lowers the barrier to entry, enables rapid iteration, and minimizes developer context-switching. This pattern is seen consistently in mature ecosystems.
Goal
🧪 Improve the Miden Playground
Explanation
The developer playground is one of the most important onboarding tools in a blockchain ecosystem. It enables new developers to test, iterate, and build applications directly in the browser without needing to install anything locally. This dramatically reduces friction and increases engagement.
We recommend:
Table
Goal
📖 Improve Documentation
Explanation
Documentation is the first thing developers encounter. It must guide them from curiosity to shipping code. Miden’s current docs are deep and technical, but lack onboarding clarity.
We recommend:
Table
Goal
🧱 Scaffolding, Examples & Standards
Explanation
Many developers struggle to know where to start. The best ecosystems scaffold best practices, provide real-world examples, and include safe, composable standards.
We recommend:
miden new my-amm --template amm)Table
protostar newstarknet-examplescairo-lang/stdforge initanchor initaptos move initGoal
🔐 Private Note Propagation
Explanation
Miden uses private notes to enable privacy-preserving logic, but today there’s no native way to propagate these notes off-chain. This limits Miden’s ability to support private apps.
We recommend:
Goal
✅ Conclusion
Through research and internal testing, we’ve identified five key pillars that will transform Miden’s DevEx. If we deliver on these five fronts, we believe Miden can offer One of the most-productive blockchain environment for developers.
Beta Was this translation helpful? Give feedback.
All reactions