1

Is there a way to include cardano-node as a dependency in my project? (Stack dependency or cabal dependency). I tried and it keeps failing because not all dependencies can be built. Maybe I need to include it as a Nix dependency, using a Nix project?

I am trying to write code that can make use of some features of cardano-cli and cardano-node without having to be using files.

Alternatively, is there a web wrapper around cardano-node? (That would allow me to create transactions, submit, query utxos, etc..)

1 Answer 1

2

I use cabal exclusively. You can include cardano-node as a dependency in the top level cabal.project file using something like what db-sync does. This may require that you add some of the other source-repository-package s that db-sync uses.

Alternatively, is there a web wrapper around cardano-node? (That would allow me to create transactions, submit, query utxos, etc..)

That sounds like part of the feature set of cardano-db-sync and the rest seems to be cardano-tx-submit-api.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.