Crate pyth_lazer_sdk

Source

Re-exports§

pub use pyth_lazer_protocol as protocol;

Structs§

Ed25519SignatureOffsets
Part of the inputs to the built-in ed25519_program on Solana that represents a single signature verification request.
VerifiedMessage
A message with a verified ed25519 signature.

Functions§

ed25519_program_args
Creates inputs to the built-in ed25519_program on Solana that verifies signatures.
signature_offsets
Sets up Ed25519SignatureOffsets for verifying the Pyth Lazer message signature.
verify_message
Verifies a ed25519 signature on Solana by checking that the transaction contains a correct call to the built-in ed25519_program.