Skip to content

Add SBE serialization format #779

@jasperpotts

Description

@jasperpotts

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, 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions