Expand description
§RedStone
redstone is a collection of utilities to make deserializing&decrypting RedStone payload.
It includes a pure Rust implementation, along with extensions for certain networks.
Different crypto-mechanisms are easily injectable.
The current implementation contains secp256k1- and k256-based variants.
Re-exports§
pub use core::FeedValue;
Modules§
- Casper extension
- Contract specific logic.
- Radix extension
- Solana extension
- Soroban (Stellar) extension
Structs§
- Type wrapping bytes represantion.
- Type describing feed ids. We expect FeedId to be byte string like b“EUR“ converted to bytearray and padded with zeroes to the right.
- Type describing address of signer. Typically pubkey of length 20 bytes; As of right now we dont expect larger keys than 32 bytes.
- Type describing timpestamp, we use to directly show we expect milliseconds.
Enums§
Traits§
- Configuration for the redstone protocol. Pluggable with custom environments and possible specialized crypto operations.