Skip to content

initial commit mesh devnet - #863

Open
Temasar1 wants to merge 1 commit into
mainfrom
mesh-devnet
Open

Temasar1 wants to merge 1 commit into
mainfrom
mesh-devnet

Conversation

@Temasar1

@Temasar1 Temasar1 commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Thank you for contributing to Mesh! We appreciate your effort and dedication to improving this project. To ensure that your contribution is in line with the project's guidelines and can be reviewed efficiently, please fill out the template below.

Remember to follow our Contributing Guide before submitting your pull request.

Summary

This PR is for majorly for feedback and how it relates to existing or work in progress, though in as much as i think this is needed for Mesh in assisting fast development without needing the full cardano node(in most cases) or any external provider before testing a transaction which could easily be built against a fast local TS chain

Adds @meshsdk/devnet: a single-process Cardano node with a slot ticker, mempool, and HTTP API. DevnetProvider is a drop-in IFetcher + ISubmitter + IListener for MeshTxBuilder / MeshWallet (no Blockfrost, no cardano-node). CLI: mesh-devnet. Ledger: HarmonicLabs Conway UTXO / UTXOW / UTXOS (ADA, native assets, Plutus V1–V3). No certificates, withdrawals, or governance yet.

How this relates to #858 (@meshsdk/tx-emulator)

Same goal (Mesh against a local chain). Different layer. Please review whether we want both.

this PR @meshsdk/devnet #858 @meshsdk/tx-emulator
Shape Process + HTTP + CLI In-process library
Engine HarmonicLabs + CEK Scalus
Time Blocks produced on a slot tick Caller setSlot / tick
Use App / e2e against a running node Unit tests, forks, dry-run simulate

Review: keep both (node vs emulator), or fold this into Scalus like #858?

Also #862: a builder with only fetcher: DevnetProvider would evaluate with Scalus, then this node would re-validate with HarmonicLabs. Confirm we pass this package’s evaluator, or evaluator: null.

@lisicky @twwu123

Test plan

  • npm run build:mesh --workspace @meshsdk/devnet
  • npm test --workspace @meshsdk/devnet
  • npm run dev then npx mesh-devnet selftest --from 0 --to 1 --ada 5
  • MeshTxBuilder + DevnetProvider submit lands in a block
  • No remaining cardano-devnet bin or import path

Please provide a brief, concise summary of the changes in your pull request. Explain the problem you are trying to solve and the solution you have implemented.

Affect components

Please indicate which part of the Mesh Repo

  • @meshsdk/common
  • @meshsdk/contract
  • @meshsdk/core
  • @meshsdk/core-csl
  • @meshsdk/core-cst
  • @meshsdk/hydra
  • @meshsdk/provider
  • @meshsdk/react
  • @meshsdk/svelte
  • @meshsdk/transaction
  • @meshsdk/wallet
  • Mesh playground (i.e. https://meshjs.dev/)
  • Mesh CLI

Type of Change

Please mark the relevant option(s) for your pull request:

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Bug fix (non-breaking change which fixes an issue)
  • Code refactoring (improving code quality without changing its behavior)
  • Documentation update (adding or updating documentation related to the project)

Related Issues

Please add the related issue here if any

Checklist

Please ensure that your pull request meets the following criteria:

  • My code is appropriately commented and includes relevant documentation, if necessary
  • I have added tests to cover my changes, if necessary
  • I have updated the documentation, if necessary
  • All new and existing tests pass (i.e. npm run test)
  • The build is pass (i.e. npm run build)

Additional Information

If you have any additional information or context to provide, such as screenshots, relevant issues, or other details, please include them here.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant