lit_rust_sdk/
lib.rs

1pub mod accs;
2pub mod auth;
3pub mod chain;
4pub mod client;
5pub mod crypto;
6pub mod e2ee;
7pub mod error;
8pub mod network;
9pub mod pkp_signer;
10pub mod session;
11pub(crate) mod sev_snp;
12pub mod types;
13pub mod wrapped_keys;
14
15pub use auth::{
16    auth_config_from_delegation_auth_sig, create_eth_wallet_auth_data,
17    create_siwe_message_with_resources, generate_session_key_pair, pkp_eth_address_from_pubkey,
18    sign_siwe_with_eoa, validate_delegation_auth_sig, AuthConfig, AuthContext, AuthData, AuthSig,
19    CustomAuthParams, LitAbility, ResourceAbilityRequest, SessionKeyPair,
20};
21pub use chain::{
22    auth_method_id_for_eth_wallet, get_derived_pubkey, view_pkps_by_address,
23    view_pkps_by_auth_data, MintPkpTx, PaginatedPkps, Pagination, PaginationInfo, PaymentBalance,
24    PaymentManager, PaymentTx, PkpAuthMethod, PkpAuthMethodWithScopes, PkpData, PkpMintManager,
25    PkpPermissionsContext, PkpPermissionsManager, WithdrawRequest, WithdrawRequestInfo,
26};
27pub use client::{create_lit_client, ExecuteJsOptions, LitClient};
28pub use error::LitSdkError;
29pub use network::{
30    naga_dev, naga_local, naga_mainnet, naga_proto, naga_staging, naga_test, Endpoint,
31    NagaEndpoints, NetworkConfig,
32};
33pub use pkp_signer::PkpSigner;
34pub use types::{
35    DecryptParams, DecryptResponse, EncryptParams, EncryptResponse, ExecuteJsResponse,
36};
37
38pub use wrapped_keys::{
39    BatchGeneratePrivateKeysParams, BatchGeneratePrivateKeysResult, ExportPrivateKeyResult,
40    GenerateKeyParams, GeneratePrivateKeyAction, GeneratePrivateKeyResult, ImportPrivateKeyResult,
41    SignMessageParams, StoreEncryptedKeyBatchResult, StoreEncryptedKeyParams,
42    StoreEncryptedKeyResult, StoredKeyData, StoredKeyMetadata, WrappedKeysClient,
43    WrappedKeysKeyType, WrappedKeysNetwork,
44};