pyth-crosschain/pythnet/pythnet_sdk
Mohammad Amin Khashkhashi Moghaddam 6014400205
Move message structures from pyth-client repo to pythnet-sdk (#867)
* Move message structures from pyth-client repo to pythnet-sdk

All rust based smart contracts could leverage these structures for deserializing
pyth messages. But having them in pyth-client makes all the smart contracts packages
depend on irrelevant packages such as solana libraries which caused dependency conflicts
With these structs moved here it would be easier to reuse them in other places

The custom (de)serialization logic remains in pyth-client since it was only to reduce binary size of the program deployed on mainnet/pythnet, therefore not necessary to be exposed here.

* Put arbitrary implementations behind quickcheck feature flag

* Expose magic variables and define them once
2023-06-12 19:34:08 +02:00
..
examples feat: add serializers for pyth formats 2023-05-31 16:20:49 +01:00
src Move message structures from pyth-client repo to pythnet-sdk (#867) 2023-06-12 19:34:08 +02:00
.gitignore Add initial version 2023-06-05 15:19:48 +01:00
Cargo.toml Move message structures from pyth-client repo to pythnet-sdk (#867) 2023-06-12 19:34:08 +02:00