solana_attestation_sdk

Crates.iosolana_attestation_sdk
lib.rssolana_attestation_sdk
version0.1.0
sourcesrc
created_at2023-05-30 02:12:32.876731
updated_at2023-05-30 02:12:32.876731
descriptionSolana attestation sdk for verifying Switchboard Functions
homepagehttps://docs.switchboard.xyz
repositoryhttps://github.com/switchboard-xyz/solana_attestation_sdk
max_upload_size
id877486
size4,452
(mgild)

documentation

README

solana_attestation_sdk

This is an onchain utility module for verifying Switchboard Functions.

Usage:

#[derive(Accounts)]
pub struct Example<'info> {
    /// CHECK: todo
    #[account(constraint = validate_fn_quote(&function, &quote, &signer))]
    pub function: AccountInfo<'info>,
    /// CHECK: todo
    pub quote: AccountInfo<'info>,
    pub signer: Signer<'info>,
}
Commit count: 4

cargo fmt