7

(First post - sorry for the noob question!)

What are the best / standard high-level libraries for programmatically interacting with Cardano? E.g., what would I use if I wanted to write a program to send ADA or call contracts? Bonus points for Rust or Haskell libraries.

I see Adrestia, but none of the libraries listed there seem to be both reasonably high-level and full-featured.

Thanks!

2 Answers 2

5

I think the most obvious solution is Cardano-GraphQL. For example, this GraphQL query can be used to call an address with a contract at the UTXO.

Unless you are looking for higher level yet, I believe you should track this proposal or that was successfully funded in Fund5, which I myself happily voted for. Also, since you asked for Rust SDKs specifically, this proposal was funded to update the Rust Serialization Library from the guys at Emurgo to be compatible with the upcoming Alonzo hardfork.

Better yet, a quick glimpse of the successfully funded Fund5 proposals shows pretty decisively that developer tooling (SDKs, APIs) absolutely dominated this funding round, which is exactly what we need right now to grow our ecosystem.

This should be enough to point you in the right direction.

5

Depending on the level of control you need for your application, I'd suggest to look at one of the followings:

Should you happen to write Haskell code:

Note that at this stage, there's no strict equivalent to something like Web3.js and any interaction with the Cardano blockchain will require either a local node or, some remote service ensuring the connection on your behalf.

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.