Skip to content

Remove Maestro providers - #27

Open
paulobressan wants to merge 1 commit into
MeshJS:mainfrom
paulobressan:remove-maestro-provider
Open

paulobressan wants to merge 1 commit into
MeshJS:mainfrom
paulobressan:remove-maestro-provider

Conversation

@paulobressan

Copy link
Copy Markdown

Summary

Removes the Maestro providers from @meshsdk/provider. Maestro is deprecated and will not support the Dijkstra hardfork (see the DevX Dijkstra map).

Both providers were already deprecated stubs whose methods throw "no longer supported and will be removed in a later version". This PR does that removal.

Changes

  • Removed MaestroProvider (src/maestro.ts) and its types (src/types/maestro.ts).
  • Removed MaestroBitcoinProvider (src/bitcoin-maestro.ts). It was already a throwing stub; BlockstreamBitcoinProvider stays as the replacement.
  • Removed the Maestro exports from src/index.ts and src/types/index.ts.
  • Removed the unused "maestro" output format from getAdditionalUtxos (no provider used it).
  • Removed test/maestro/ and MAESTRO_API_KEY from .env.example.

Breaking change

MaestroProvider, MaestroBitcoinProvider, MaestroSupportedNetworks, MaestroConfig, MaestroBitcoinConfig and MaestroBitcoinNetwork are no longer exported. Code importing them now fails at compile time instead of at runtime.

Migration: use BlockfrostProvider, KoiosProvider, OgmiosProvider or U5CProvider for Cardano, and BlockstreamBitcoinProvider for Bitcoin.

Testing

  • tsc --noEmit and build:mesh pass.
  • Tests: 313 pass. The 9 failing tests also fail on main, they need API keys or running services (Blockfrost, Ogmios, Yaci).

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