hashgraph / hashgraph/pbj

Add SBE serialization format

Open
#779 0 comments 0 reactions 1 assignee Claimed by @jasperpotts View on GitHub
Dominant language
Java
Stars
44
Forks
15
Avg merge
1d 15h
Merged PRs (30d)
12

Description

### Problem

Protobuf is very expensive to parse in EVM Smart contracts so we need an alternative option. The best standard format we could find that will be easy/cheap GAS to parse is Simple Binary Encoding (SBE). SBE is part of the financial FIX protocol [Financial Information eXchange](https://en.wikipedia.org/wiki/Financial_Information_eXchange), and first published in 1992.

### Solution

Implement a new code generation to generate Codecs for SBE format form objects. Stretch goal is to also add code generation of Solidity lib for reading and writing SBE format PBJ data.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.