#BCS decoder/encoder library
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
For Java libraries handling BCS (Binary Canonical Serialization), the most common and reliable source is the libra / diem project ecosystem, since BCS is primarily used by the Diem blockchain (formerly Libra).
You can look into the Diem BCS library for Java, which provides native BCS encoding and decoding functionality:
- It offers serialization/deserialization primitives aligned with the Move language.
- The Java implementation is maintained and used officially by the Diem community.
If you specifically want a standalone lightweight BCS encoder/decoder for Java, those are rare outside the official Diem/Move implementations, so using the official library is recommended to ensure compatibility and correctness.
Useful links:
is that the thing you're looking for?
None of the links are working.
And I see no java code in that projects.
what are you trying to do ?
I want to request data from SUI blockchain.
Soon they will migrate from json-rpc to grpc.
The received data via grpc (protobuf) is BCS encoded. I want to decode it be able to read/see it (as human).
What is BCS, for my context?
It's possible that making a library will be quick and fun
Binary Canonical Serialization
I met this kind of serialization in crypto (blockchain)
I think I have to make the library. Looks like there nowhere implemented in java.
seems like it's a thing related