Crate lit_sdk

Crate lit_sdk 

Source
Expand description

The Rust Lit-Node SDK

Re-exports§

pub use encryption::EncryptionSignRequest;
pub use encryption::EncryptionSignRequestBuilder;
pub use encryption::EncryptionSignResponse;
pub use lit_node_core;
pub use sev;
pub use uuid;

Modules§

admin
Admin endpoint methods and data
encryption
Encryption methods
signature
Methods for combining signatures from LIT

Structs§

AdminRequest
Admin endpoint requests
AdminResponse
The response for an admin request
EncryptedBroadcastRequest
The general encrypted request for SDK requests That sends the same request to each node
EncryptedMulticastRequest
The general encrypted request for SDK requests That sends a different request to each node
EncryptedPayloadV1
Encrypted payload structure for version 1
EndpointRequest
A single request for a single endpoint
ExecuteFunctionRequestBuilder
The request builder
HandshakeRequestBuilder
The request builder
PKPClaimKeyRequestBuilder
The request builder
PKPSigningRequestBuilder
The request builder
Request
The general request for all SDK requests
Response
The general response for all SDK responses
SevSnp
Handler for Sev SNP attestation reports for LIT
SignSessionKeyRequestBuilder
The request builder

Enums§

EncryptedPayload
An encrypted payload that can be sent between wallets.
SdkError
Errors produced by this crate
UrlPrefix
The allowed http prefix

Functions§

compute_ipfs_hash
Compute the ipfs hash of a string

Type Aliases§

ExecuteFunctionRequest
The request type for execute lit action functions
ExecuteFunctionResponse
The response type for execute lit action functions
HandshakeRequest
The handshake request struct
HandshakeResponse
The response type for handshake calls
NodeIdentityKey
Node identity keys
PKPClaimKeyRequest
The pkp claim request struct
PKPClaimKeyResponse
The response type for pkp claim calls
PKPSigningRequest
The pkp signing request struct
PKPSigningResponse
The response type for pkp signing calls
SdkResult
Results produced by this crate
SignSessionKeyRequest
The sign session key request struct
SignSessionKeyResponse
The response type for sign session key calls