Libra clients for other languages

As I understood from the source code the official client, that’s written in Rust, uses gRPC as a binary format to communicate in the RPC.

Do you plan to create clients for other languages like Python, Go and etc?

7 Likes

May I extend the question for Java?
Didier

3 Likes

There is still no answer.
The team, it is not planned yet to add clients?

1 Like

Hi yehors, we will be looking into creating SDKs for other languages, but have nothing available currently and I cannot give a definitive timeline. By using proto libraries in other languages, you should be able to connect fairly easily to testnet using whatever your preferred language is. I’m happy to answer questions if you need assistance, but we do not currently have clients in other languages

5 Likes

Hi kph, along those lines of using the proto library can you point me to the right direction on decoding the output for the getTransactionsResponse. Specifically how do we decode the “rawTxnBytes” ?

            "rawTxnBytes": "CiAPJAYWVma/YbByZ3GKA9zqWHNjd8YMeI+ql8Qj4Yxw/RABKJBOOPWqougFGugBCrMBTElCUkFWTQoBAAcBSgAAAAQAAAADTgAAAAYAAAAMVAAAAAUAAAANWQAAAAQAAAAFXQAAACkAAAAEhgAAACAAAAAHpgAAAA0AAAAAAAABAAIAAQMAAgACBAIDAgQCBjxTRUxGPgxMaWJyYUFjY291bnQEbWFpbg9wYXlfZnJvbV9zZW5kZXIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAgAEAAwADAERAQISJAgBEiBke8en9N6DcfG0wxYl/rMgFIZVX0TCZm/Gik9NaH6V5RIKEghAQg8AAAAAAA==",
1 Like

Raw transaction bytes is actually just the proto serialized bytes of the RawTransaction object. So you’d simply use the proto library to deserialize the raw bytes into a RawTransaction object

4 Likes

Thanks for the answer, kph.

Where are proto files that I can compile to preferred language?

1 Like

Please look at types/src/proto and admission_control/admission_control_proto/src/proto

6 Likes

Hoping @kph’s answers helps you folks connect to the testnet through your preferred language.

It might fun to start a new topic about preferred proto/gRPC libraries for your language.

1 Like