Generate Haskell->JS->GRPC bindings automatically

Open
#1,030 4 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@palas is already working on this.

Since Nov 19, 2025.

Assessment

This issue has not been assessed yet.

Description

Currently, cardano-wasm's grpc module calls the automatically generated gRPC or gRPC-web JavaScript bindings. But when those bindings change, the calls from Haskell to the GRPC JS bindings may break, and that break will happen at runtime.

The goals are:

  • To be able to maintain the RPC module of the cardano-wasm library exclusively from Haskell.
  • For changes to the RPC interface (cardano-rpc) to only affect Haskell (and not JS).

Because:

  • JS breaks silently.
  • But Haskell breaks at compile time (this is better for maintenance and reliability).
Dominant language
Haskell
Stars
41
Forks
33
Avg merge
3d 3h
Merged PRs (30d)
15

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from IntersectMBO/cardano-api

All issues in IntersectMBO/cardano-api

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.