From 78473f6b5d111dbabc68889b718cf087116c60f2 Mon Sep 17 00:00:00 2001 From: Eric Tesenair Date: Tue, 19 May 2026 13:37:33 -0400 Subject: [PATCH] feat(server-wallets): add Rust SDK example Server-side wallet management examples built on dynamic-waas-sdk 0.0.3. Covers EVM and SVM wallet creation (with and without password-backed backup), message signing, EIP-712 typed-data signing, legacy and broadcast transaction flows, delegated wallet operations + webhook decryption, key-share recovery, and a parallel omnibus demo. Includes an end-to-end smoke test mirroring the Python parity surface. Where the SDK ships only chain-client convenience methods today (create_wallet_account, sign_message, export_private_key), this example builds the full transaction / typed-data surface on top of the public MPC orchestrators (run_sign_ecdsa, run_sign_ed25519, SignOpts, SignOptsEd25519, mpc_config::EVM_DERIVATION_PATH). --- examples/rust-server-wallets/.env.example | 8 + examples/rust-server-wallets/.gitignore | 16 + examples/rust-server-wallets/Cargo.lock | 9435 +++++++++++++++++ examples/rust-server-wallets/Cargo.toml | 137 + examples/rust-server-wallets/README.md | 366 + .../examples/smoke_test.rs | 1227 +++ .../src/bin/delegated-decrypt-webhook.rs | 129 + .../src/bin/delegated-sign-message.rs | 68 + .../src/bin/evm-recover-key-shares.rs | 64 + .../src/bin/evm-send-transaction.rs | 118 + .../src/bin/evm-sign-message.rs | 46 + .../src/bin/evm-sign-transaction.rs | 114 + .../src/bin/evm-sign-typed-data.rs | 130 + .../rust-server-wallets/src/bin/evm-wallet.rs | 153 + .../src/bin/omnibus-sweep.rs | 142 + .../src/bin/svm-send-transaction.rs | 99 + .../src/bin/svm-sign-message.rs | 40 + .../src/bin/svm-sign-transaction.rs | 83 + .../rust-server-wallets/src/bin/svm-wallet.rs | 133 + examples/rust-server-wallets/src/cli.rs | 44 + examples/rust-server-wallets/src/config.rs | 64 + examples/rust-server-wallets/src/delegated.rs | 61 + examples/rust-server-wallets/src/dynamic.rs | 42 + examples/rust-server-wallets/src/lib.rs | 19 + examples/rust-server-wallets/src/storage.rs | 132 + examples/rust-server-wallets/src/utils.rs | 38 + examples/rust-server-wallets/src/walletops.rs | 84 + .../rust-server-wallets/wallet.json.example | 10 + 28 files changed, 13002 insertions(+) create mode 100644 examples/rust-server-wallets/.env.example create mode 100644 examples/rust-server-wallets/.gitignore create mode 100644 examples/rust-server-wallets/Cargo.lock create mode 100644 examples/rust-server-wallets/Cargo.toml create mode 100644 examples/rust-server-wallets/README.md create mode 100644 examples/rust-server-wallets/examples/smoke_test.rs create mode 100644 examples/rust-server-wallets/src/bin/delegated-decrypt-webhook.rs create mode 100644 examples/rust-server-wallets/src/bin/delegated-sign-message.rs create mode 100644 examples/rust-server-wallets/src/bin/evm-recover-key-shares.rs create mode 100644 examples/rust-server-wallets/src/bin/evm-send-transaction.rs create mode 100644 examples/rust-server-wallets/src/bin/evm-sign-message.rs create mode 100644 examples/rust-server-wallets/src/bin/evm-sign-transaction.rs create mode 100644 examples/rust-server-wallets/src/bin/evm-sign-typed-data.rs create mode 100644 examples/rust-server-wallets/src/bin/evm-wallet.rs create mode 100644 examples/rust-server-wallets/src/bin/omnibus-sweep.rs create mode 100644 examples/rust-server-wallets/src/bin/svm-send-transaction.rs create mode 100644 examples/rust-server-wallets/src/bin/svm-sign-message.rs create mode 100644 examples/rust-server-wallets/src/bin/svm-sign-transaction.rs create mode 100644 examples/rust-server-wallets/src/bin/svm-wallet.rs create mode 100644 examples/rust-server-wallets/src/cli.rs create mode 100644 examples/rust-server-wallets/src/config.rs create mode 100644 examples/rust-server-wallets/src/delegated.rs create mode 100644 examples/rust-server-wallets/src/dynamic.rs create mode 100644 examples/rust-server-wallets/src/lib.rs create mode 100644 examples/rust-server-wallets/src/storage.rs create mode 100644 examples/rust-server-wallets/src/utils.rs create mode 100644 examples/rust-server-wallets/src/walletops.rs create mode 100644 examples/rust-server-wallets/wallet.json.example diff --git a/examples/rust-server-wallets/.env.example b/examples/rust-server-wallets/.env.example new file mode 100644 index 0000000..f0b39dc --- /dev/null +++ b/examples/rust-server-wallets/.env.example @@ -0,0 +1,8 @@ +DYNAMIC_API_TOKEN=your_dynamic_api_token +DYNAMIC_ENV_ID=your_environment_id + +# Optional — target preprod (defaults to production) +# DYNAMIC_BASE_API_URL=https://app.dynamic-preprod.xyz + +EVM_RPC_URL=https://base-sepolia.g.alchemy.com/v2/your_api_key +SOLANA_RPC_URL=https://api.devnet.solana.com diff --git a/examples/rust-server-wallets/.gitignore b/examples/rust-server-wallets/.gitignore new file mode 100644 index 0000000..0167903 --- /dev/null +++ b/examples/rust-server-wallets/.gitignore @@ -0,0 +1,16 @@ +.env +.env.local +.wallets.json +src/bin/delegated-sign-message.wallet.json +wallet.json + +# Cargo build artefacts +/target/ +**/*.rs.bk + +# OS junk +.DS_Store + +# Editor +.idea/ +.vscode/ diff --git a/examples/rust-server-wallets/Cargo.lock b/examples/rust-server-wallets/Cargo.lock new file mode 100644 index 0000000..a8f7507 --- /dev/null +++ b/examples/rust-server-wallets/Cargo.lock @@ -0,0 +1,9435 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "agave-feature-set" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52a2c365c0245cbb8959de725fc2b44c754b673fdf34c9a7f9d4a25c35a7bf1" +dependencies = [ + "ahash", + "solana-epoch-schedule", + "solana-hash", + "solana-pubkey", + "solana-sha256-hasher", + "solana-svm-feature-set", +] + +[[package]] +name = "ahash" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +dependencies = [ + "cfg-if", + "getrandom 0.3.4", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "aho-corasick" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +dependencies = [ + "memchr", +] + +[[package]] +name = "alloc-no-stdlib" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" + +[[package]] +name = "alloc-stdlib" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" +dependencies = [ + "alloc-no-stdlib", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "alloy" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59febb24956a41c29bb5f450978fbe825bd6456b3f80586c8bd558dc882e7b6a" +dependencies = [ + "alloy-consensus", + "alloy-core", + "alloy-eips", + "alloy-genesis", + "alloy-network", + "alloy-provider", + "alloy-rpc-client", + "alloy-rpc-types", + "alloy-serde", + "alloy-signer", + "alloy-signer-aws", + "alloy-signer-gcp", + "alloy-signer-ledger", + "alloy-transport", + "alloy-transport-http", +] + +[[package]] +name = "alloy-chains" +version = "0.1.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28e2652684758b0d9b389d248b209ed9fd9989ef489a550265fe4bb8454fe7eb" +dependencies = [ + "alloy-primitives", + "num_enum", + "strum", +] + +[[package]] +name = "alloy-consensus" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e88e1edea70787c33e11197d3f32ae380f3db19e6e061e539a5bcf8184a6b326" +dependencies = [ + "alloy-eips", + "alloy-primitives", + "alloy-rlp", + "alloy-serde", + "alloy-trie", + "auto_impl", + "c-kzg", + "derive_more 1.0.0", + "k256", + "serde", +] + +[[package]] +name = "alloy-consensus-any" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57b1bb53f40c0273cd1975573cd457b39213e68584e36d1401d25fd0398a1d65" +dependencies = [ + "alloy-consensus", + "alloy-eips", + "alloy-primitives", + "alloy-rlp", + "alloy-serde", + "serde", +] + +[[package]] +name = "alloy-core" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f1ab91967646311bb7dd32db4fee380c69fe624319dcd176b89fb2a420c6b5" +dependencies = [ + "alloy-dyn-abi", + "alloy-json-abi", + "alloy-primitives", + "alloy-rlp", + "alloy-sol-types", +] + +[[package]] +name = "alloy-dyn-abi" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf69d3061e2e908a4370bda5d8d6529d5080232776975489eec0b49ce971027e" +dependencies = [ + "alloy-json-abi", + "alloy-primitives", + "alloy-sol-type-parser", + "alloy-sol-types", + "const-hex", + "derive_more 2.1.1", + "itoa", + "serde", + "serde_json", + "winnow 0.7.15", +] + +[[package]] +name = "alloy-eip2930" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0069cf0642457f87a01a014f6dc29d5d893cd4fd8fddf0c3cdfad1bb3ebafc41" +dependencies = [ + "alloy-primitives", + "alloy-rlp", + "serde", +] + +[[package]] +name = "alloy-eip7702" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c986539255fb839d1533c128e190e557e52ff652c9ef62939e233a81dd93f7e" +dependencies = [ + "alloy-primitives", + "alloy-rlp", + "derive_more 1.0.0", + "k256", + "serde", +] + +[[package]] +name = "alloy-eips" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f9fadfe089e9ccc0650473f2d4ef0a28bc015bbca5631d9f0f09e49b557fdb3" +dependencies = [ + "alloy-eip2930", + "alloy-eip7702", + "alloy-primitives", + "alloy-rlp", + "alloy-serde", + "c-kzg", + "derive_more 1.0.0", + "once_cell", + "serde", + "sha2 0.10.9", +] + +[[package]] +name = "alloy-genesis" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b2a4cf7b70f3495788e74ce1c765260ffe38820a2a774ff4aacb62e31ea73f9" +dependencies = [ + "alloy-primitives", + "alloy-serde", + "alloy-trie", + "serde", +] + +[[package]] +name = "alloy-json-abi" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4584e3641181ff073e9d5bec5b3b8f78f9749d9fb108a1cfbc4399a4a139c72a" +dependencies = [ + "alloy-primitives", + "alloy-sol-type-parser", + "serde", + "serde_json", +] + +[[package]] +name = "alloy-json-rpc" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e29040b9d5fe2fb70415531882685b64f8efd08dfbd6cc907120650504821105" +dependencies = [ + "alloy-primitives", + "alloy-sol-types", + "serde", + "serde_json", + "thiserror 2.0.18", + "tracing", +] + +[[package]] +name = "alloy-network" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "510cc00b318db0dfccfdd2d032411cfae64fc144aef9679409e014145d3dacc4" +dependencies = [ + "alloy-consensus", + "alloy-consensus-any", + "alloy-eips", + "alloy-json-rpc", + "alloy-network-primitives", + "alloy-primitives", + "alloy-rpc-types-any", + "alloy-rpc-types-eth", + "alloy-serde", + "alloy-signer", + "alloy-sol-types", + "async-trait", + "auto_impl", + "futures-utils-wasm", + "serde", + "serde_json", + "thiserror 2.0.18", +] + +[[package]] +name = "alloy-network-primitives" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9081c099e798b8a2bba2145eb82a9a146f01fc7a35e9ab6e7b43305051f97550" +dependencies = [ + "alloy-consensus", + "alloy-eips", + "alloy-primitives", + "alloy-serde", + "serde", +] + +[[package]] +name = "alloy-primitives" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "777d58b30eb9a4db0e5f59bc30e8c2caef877fee7dc8734cf242a51a60f22e05" +dependencies = [ + "alloy-rlp", + "bytes", + "cfg-if", + "const-hex", + "derive_more 2.1.1", + "foldhash", + "hashbrown 0.15.5", + "indexmap 2.14.0", + "itoa", + "k256", + "keccak-asm", + "paste", + "proptest", + "rand 0.8.6", + "ruint", + "rustc-hash", + "serde", + "sha3", + "tiny-keccak", +] + +[[package]] +name = "alloy-provider" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc2dfaddd9a30aa870a78a4e1316e3e115ec1e12e552cbc881310456b85c1f24" +dependencies = [ + "alloy-chains", + "alloy-consensus", + "alloy-eips", + "alloy-json-rpc", + "alloy-network", + "alloy-network-primitives", + "alloy-primitives", + "alloy-rpc-client", + "alloy-rpc-types-eth", + "alloy-transport", + "alloy-transport-http", + "async-stream", + "async-trait", + "auto_impl", + "dashmap 6.2.1", + "futures", + "futures-utils-wasm", + "lru", + "parking_lot", + "pin-project 1.1.13", + "reqwest", + "schnellru", + "serde", + "serde_json", + "thiserror 2.0.18", + "tokio", + "tracing", + "url", + "wasmtimer", +] + +[[package]] +name = "alloy-rlp" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc90b1e703d3c03f4ff7f48e82dd0bc1c8211ab7d079cd836a06fcfeb06651cb" +dependencies = [ + "alloy-rlp-derive", + "arrayvec", + "bytes", +] + +[[package]] +name = "alloy-rlp-derive" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f36834a5c0a2fa56e171bf256c34d70fca07d0c0031583edea1c4946b7889c9e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "alloy-rpc-client" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "531137b283547d5b9a5cafc96b006c64ef76810c681d606f28be9781955293b6" +dependencies = [ + "alloy-json-rpc", + "alloy-primitives", + "alloy-transport", + "alloy-transport-http", + "futures", + "pin-project 1.1.13", + "reqwest", + "serde", + "serde_json", + "tokio", + "tokio-stream", + "tower 0.5.3", + "tracing", + "url", + "wasmtimer", +] + +[[package]] +name = "alloy-rpc-types" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3410a472ce26c457e9780f708ee6bd540b30f88f1f31fdab7a11d00bd6aa1aee" +dependencies = [ + "alloy-primitives", + "alloy-rpc-types-eth", + "alloy-serde", + "serde", +] + +[[package]] +name = "alloy-rpc-types-any" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed98e1af55a7d856bfa385f30f63d8d56be2513593655c904a8f4a7ec963aa3e" +dependencies = [ + "alloy-consensus-any", + "alloy-rpc-types-eth", + "alloy-serde", +] + +[[package]] +name = "alloy-rpc-types-eth" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8737d7a6e37ca7bba9c23e9495c6534caec6760eb24abc9d5ffbaaba147818e1" +dependencies = [ + "alloy-consensus", + "alloy-consensus-any", + "alloy-eips", + "alloy-network-primitives", + "alloy-primitives", + "alloy-rlp", + "alloy-serde", + "alloy-sol-types", + "derive_more 1.0.0", + "itertools 0.13.0", + "serde", + "serde_json", +] + +[[package]] +name = "alloy-serde" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5851bf8d5ad33014bd0c45153c603303e730acc8a209450a7ae6b4a12c2789e2" +dependencies = [ + "alloy-primitives", + "serde", + "serde_json", +] + +[[package]] +name = "alloy-signer" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e10ca565da6500cca015ba35ee424d59798f2e1b85bc0dd8f81dafd401f029a" +dependencies = [ + "alloy-dyn-abi", + "alloy-primitives", + "alloy-sol-types", + "async-trait", + "auto_impl", + "elliptic-curve", + "k256", + "thiserror 2.0.18", +] + +[[package]] +name = "alloy-signer-aws" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e774d4203ad7dbeba06876c8528a169b7cb56770bd900bc061e6a2c2756a736" +dependencies = [ + "alloy-consensus", + "alloy-network", + "alloy-primitives", + "alloy-signer", + "async-trait", + "aws-sdk-kms", + "k256", + "spki", + "thiserror 2.0.18", + "tracing", +] + +[[package]] +name = "alloy-signer-gcp" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9843facd50077d2010ac0ef9e9176f8a06f2e2c8e653d83d82859803c623c6fc" +dependencies = [ + "alloy-consensus", + "alloy-network", + "alloy-primitives", + "alloy-signer", + "async-trait", + "gcloud-sdk", + "k256", + "spki", + "thiserror 2.0.18", + "tracing", +] + +[[package]] +name = "alloy-signer-ledger" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08367716d2eee6f15f0f7ee2e855decbfedd12be12fe5f490a2d2717deda95bf" +dependencies = [ + "alloy-consensus", + "alloy-dyn-abi", + "alloy-network", + "alloy-primitives", + "alloy-signer", + "alloy-sol-types", + "async-trait", + "coins-ledger", + "futures-util", + "semver 1.0.28", + "thiserror 2.0.18", + "tracing", +] + +[[package]] +name = "alloy-sol-macro" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e68b32b6fa0d09bb74b4cefe35ccc8269d711c26629bc7cd98a47eeb12fe353f" +dependencies = [ + "alloy-sol-macro-expander", + "alloy-sol-macro-input", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "alloy-sol-macro-expander" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2afe6879ac373e58fd53581636f2cce843998ae0b058ebe1e4f649195e2bd23c" +dependencies = [ + "alloy-sol-macro-input", + "const-hex", + "heck", + "indexmap 2.14.0", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.117", + "syn-solidity", + "tiny-keccak", +] + +[[package]] +name = "alloy-sol-macro-input" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3ba01aee235a8c699d07e5be97ba215607564e71be72f433665329bec307d28" +dependencies = [ + "const-hex", + "dunce", + "heck", + "macro-string", + "proc-macro2", + "quote", + "syn 2.0.117", + "syn-solidity", +] + +[[package]] +name = "alloy-sol-type-parser" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c13fc168b97411e04465f03e632f31ef94cad1c7c8951bf799237fd7870d535" +dependencies = [ + "serde", + "winnow 0.7.15", +] + +[[package]] +name = "alloy-sol-types" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e960c4b52508ef2ae1e37cae5058e905e9ae099b107900067a503f8c454036f" +dependencies = [ + "alloy-json-abi", + "alloy-primitives", + "alloy-sol-macro", + "const-hex", + "serde", +] + +[[package]] +name = "alloy-transport" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "538a04a37221469cac0ce231b737fd174de2fdfcdd843bdd068cb39ed3e066ad" +dependencies = [ + "alloy-json-rpc", + "base64 0.22.1", + "futures-util", + "futures-utils-wasm", + "serde", + "serde_json", + "thiserror 2.0.18", + "tokio", + "tower 0.5.3", + "tracing", + "url", + "wasmtimer", +] + +[[package]] +name = "alloy-transport-http" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ed40eb1e1265b2911512f6aa1dcece9702d078f5a646730c45e39e2be00ac1c" +dependencies = [ + "alloy-json-rpc", + "alloy-transport", + "reqwest", + "serde_json", + "tower 0.5.3", + "tracing", + "url", +] + +[[package]] +name = "alloy-trie" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d95a94854e420f07e962f7807485856cde359ab99ab6413883e15235ad996e8b" +dependencies = [ + "alloy-primitives", + "alloy-rlp", + "arrayvec", + "derive_more 1.0.0", + "nybbles", + "serde", + "smallvec", + "tracing", +] + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.102" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" + +[[package]] +name = "ark-bn254" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a22f4561524cd949590d78d7d4c5df8f592430d221f7f3c9497bbafd8972120f" +dependencies = [ + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +dependencies = [ + "ark-ff 0.4.2", + "ark-poly", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "derivative", + "hashbrown 0.13.2", + "itertools 0.10.5", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ff" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b3235cc41ee7a12aaaf2c575a2ad7b46713a8a50bda2fc3b003a04845c05dd6" +dependencies = [ + "ark-ff-asm 0.3.0", + "ark-ff-macros 0.3.0", + "ark-serialize 0.3.0", + "ark-std 0.3.0", + "derivative", + "num-bigint 0.4.6", + "num-traits", + "paste", + "rustc_version 0.3.3", + "zeroize", +] + +[[package]] +name = "ark-ff" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +dependencies = [ + "ark-ff-asm 0.4.2", + "ark-ff-macros 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "derivative", + "digest 0.10.7", + "itertools 0.10.5", + "num-bigint 0.4.6", + "num-traits", + "paste", + "rustc_version 0.4.1", + "zeroize", +] + +[[package]] +name = "ark-ff" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" +dependencies = [ + "ark-ff-asm 0.5.0", + "ark-ff-macros 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "arrayvec", + "digest 0.10.7", + "educe", + "itertools 0.13.0", + "num-bigint 0.4.6", + "num-traits", + "paste", + "zeroize", +] + +[[package]] +name = "ark-ff-asm" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db02d390bf6643fb404d3d22d31aee1c4bc4459600aef9113833d17e786c6e44" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-asm" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-asm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" +dependencies = [ + "quote", + "syn 2.0.117", +] + +[[package]] +name = "ark-ff-macros" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" +dependencies = [ + "num-bigint 0.4.6", + "num-traits", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +dependencies = [ + "num-bigint 0.4.6", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" +dependencies = [ + "num-bigint 0.4.6", + "num-traits", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "ark-poly" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +dependencies = [ + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "derivative", + "hashbrown 0.13.2", +] + +[[package]] +name = "ark-serialize" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6c2b318ee6e10f8c2853e73a83adc0ccb88995aa978d8a3408d492ab2ee671" +dependencies = [ + "ark-std 0.3.0", + "digest 0.9.0", +] + +[[package]] +name = "ark-serialize" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +dependencies = [ + "ark-serialize-derive", + "ark-std 0.4.0", + "digest 0.10.7", + "num-bigint 0.4.6", +] + +[[package]] +name = "ark-serialize" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" +dependencies = [ + "ark-std 0.5.0", + "arrayvec", + "digest 0.10.7", + "num-bigint 0.4.6", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-std" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" +dependencies = [ + "num-traits", + "rand 0.8.6", +] + +[[package]] +name = "ark-std" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +dependencies = [ + "num-traits", + "rand 0.8.6", +] + +[[package]] +name = "ark-std" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" +dependencies = [ + "num-traits", + "rand 0.8.6", +] + +[[package]] +name = "arrayref" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" + +[[package]] +name = "arrayvec" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" +dependencies = [ + "serde", +] + +[[package]] +name = "asn1-rs" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror 1.0.69", + "time", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure 0.12.6", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "async-channel" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" +dependencies = [ + "concurrent-queue", + "event-listener 2.5.3", + "futures-core", +] + +[[package]] +name = "async-compression" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e79b3f8a79cccc2898f31920fc69f304859b3bd567490f75ebf51ae1c792a9ac" +dependencies = [ + "compression-codecs", + "compression-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "async-lock" +version = "3.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" +dependencies = [ + "event-listener 5.4.1", + "event-listener-strategy", + "pin-project-lite", +] + +[[package]] +name = "async-stream" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476" +dependencies = [ + "async-stream-impl", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "async-trait" +version = "0.1.89" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi 0.1.19", + "libc", + "winapi", +] + +[[package]] +name = "auto_impl" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "autocfg" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" + +[[package]] +name = "aws-credential-types" +version = "1.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f20799b373a1be121fe3005fba0c2090af9411573878f224df44b42727fcaf7" +dependencies = [ + "aws-smithy-async", + "aws-smithy-runtime-api", + "aws-smithy-types", + "zeroize", +] + +[[package]] +name = "aws-runtime" +version = "1.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dcd93c82209ac7413532388067dce79be5a8780c1786e5fae3df22e4dee2864" +dependencies = [ + "aws-credential-types", + "aws-sigv4", + "aws-smithy-async", + "aws-smithy-http", + "aws-smithy-runtime", + "aws-smithy-runtime-api", + "aws-smithy-types", + "aws-types", + "bytes", + "bytes-utils", + "fastrand", + "http 1.4.0", + "http-body 1.0.1", + "percent-encoding", + "pin-project-lite", + "tracing", + "uuid", +] + +[[package]] +name = "aws-sdk-kms" +version = "1.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2336350f96efcf9c2552b7fdb4dd07a0c1fef11f22b28fb020a9e33e7925cf9d" +dependencies = [ + "aws-credential-types", + "aws-runtime", + "aws-smithy-async", + "aws-smithy-http", + "aws-smithy-json", + "aws-smithy-observability", + "aws-smithy-runtime", + "aws-smithy-runtime-api", + "aws-smithy-types", + "aws-types", + "bytes", + "fastrand", + "http 0.2.12", + "http 1.4.0", + "regex-lite", + "tracing", +] + +[[package]] +name = "aws-sigv4" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68dc0b907359b120170613b5c09ccc61304eac3998ff6274b97d93ee6490115a" +dependencies = [ + "aws-credential-types", + "aws-smithy-http", + "aws-smithy-runtime-api", + "aws-smithy-types", + "bytes", + "form_urlencoded", + "hex", + "hmac 0.13.0", + "http 0.2.12", + "http 1.4.0", + "percent-encoding", + "sha2 0.11.0", + "time", + "tracing", +] + +[[package]] +name = "aws-smithy-async" +version = "1.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ffcaf626bdda484571968400c326a244598634dc75fd451325a54ad1a59acfc" +dependencies = [ + "futures-util", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "aws-smithy-http" +version = "0.63.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba1ab2dc1c2c3749ead27180d333c42f11be8b0e934058fb4b2258ee8dbe5231" +dependencies = [ + "aws-smithy-runtime-api", + "aws-smithy-types", + "bytes", + "bytes-utils", + "futures-core", + "futures-util", + "http 1.4.0", + "http-body 1.0.1", + "http-body-util", + "percent-encoding", + "pin-project-lite", + "pin-utils", + "tracing", +] + +[[package]] +name = "aws-smithy-json" +version = "0.62.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9648b0bb82a2eedd844052c6ad2a1a822d1f8e3adee5fbf668366717e428856a" +dependencies = [ + "aws-smithy-types", +] + +[[package]] +name = "aws-smithy-observability" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06c2315d173edbf1920da8ba3a7189695827002e4c0fc961973ab1c54abca9c" +dependencies = [ + "aws-smithy-runtime-api", +] + +[[package]] +name = "aws-smithy-runtime" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0504b1ab12debb5959e5165ee5fe97dd387e7aa7ea6a477bfd7635dfe769a4f5" +dependencies = [ + "aws-smithy-async", + "aws-smithy-http", + "aws-smithy-observability", + "aws-smithy-runtime-api", + "aws-smithy-types", + "bytes", + "fastrand", + "http 0.2.12", + "http 1.4.0", + "http-body 0.4.6", + "http-body 1.0.1", + "http-body-util", + "pin-project-lite", + "pin-utils", + "tokio", + "tracing", +] + +[[package]] +name = "aws-smithy-runtime-api" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71a13df6ada0aafbf21a73bdfcdf9324cfa9df77d96b8446045be3cde61b42e" +dependencies = [ + "aws-smithy-async", + "aws-smithy-runtime-api-macros", + "aws-smithy-types", + "bytes", + "http 0.2.12", + "http 1.4.0", + "pin-project-lite", + "tokio", + "tracing", + "zeroize", +] + +[[package]] +name = "aws-smithy-runtime-api-macros" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d7396fd9500589e62e460e987ecb671bad374934e55ec3b5f498cc7a8a8a7b7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "aws-smithy-types" +version = "1.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d73dbfbaa8e4bc57b9045137680b958d274823509a360abfd8e1d514d40c95c" +dependencies = [ + "base64-simd", + "bytes", + "bytes-utils", + "http 0.2.12", + "http 1.4.0", + "http-body 0.4.6", + "http-body 1.0.1", + "http-body-util", + "itoa", + "num-integer", + "pin-project-lite", + "pin-utils", + "ryu", + "serde", + "time", +] + +[[package]] +name = "aws-types" +version = "1.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4bbcaa9304ea40902d3d5f42a0428d1bd895a2b0f6999436fb279ffddc58ac" +dependencies = [ + "aws-credential-types", + "aws-smithy-async", + "aws-smithy-runtime-api", + "aws-smithy-types", + "rustc_version 0.4.1", + "tracing", +] + +[[package]] +name = "axum" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" +dependencies = [ + "async-trait", + "axum-core", + "bytes", + "futures-util", + "http 1.4.0", + "http-body 1.0.1", + "http-body-util", + "itoa", + "matchit", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "sync_wrapper", + "tower 0.5.3", + "tower-layer", + "tower-service", +] + +[[package]] +name = "axum-core" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http 1.4.0", + "http-body 1.0.1", + "http-body-util", + "mime", + "pin-project-lite", + "rustversion", + "sync_wrapper", + "tower-layer", + "tower-service", +] + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[package]] +name = "base64" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" + +[[package]] +name = "base64" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64-simd" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339abbe78e73178762e23bea9dfd08e697eb3f3301cd4be981c0f78ba5859195" +dependencies = [ + "outref", + "vsimd", +] + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bincode" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +dependencies = [ + "serde", +] + +[[package]] +name = "bit-set" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" +dependencies = [ + "serde_core", +] + +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + +[[package]] +name = "blake3" +version = "1.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0aa83c34e62843d924f905e0f5c866eb1dd6545fc4d719e803d9ba6030371fce" +dependencies = [ + "arrayref", + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.0", + "digest 0.11.3", +] + +[[package]] +name = "block-buffer" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "blst" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcdb4c7013139a150f9fc55d123186dbfaba0d912817466282c73ac49e71fb45" +dependencies = [ + "cc", + "glob", + "threadpool", + "zeroize", +] + +[[package]] +name = "borsh" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115e54d64eb62cdebad391c19efc9dce4981c690c85a33a12199d99bb9546fee" +dependencies = [ + "borsh-derive 0.10.4", + "hashbrown 0.13.2", +] + +[[package]] +name = "borsh" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd1e3f8955a5d7de9fab72fc8373fade9fb8a703968cb200ae3dc6cf08e185a" +dependencies = [ + "borsh-derive 1.6.1", + "bytes", + "cfg_aliases", +] + +[[package]] +name = "borsh-derive" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831213f80d9423998dd696e2c5345aba6be7a0bd8cd19e31c5243e13df1cef89" +dependencies = [ + "borsh-derive-internal", + "borsh-schema-derive-internal", + "proc-macro-crate 0.1.5", + "proc-macro2", + "syn 1.0.109", +] + +[[package]] +name = "borsh-derive" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfcfdc083699101d5a7965e49925975f2f55060f94f9a05e7187be95d530ca59" +dependencies = [ + "once_cell", + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "borsh-derive-internal" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65d6ba50644c98714aa2a70d13d7df3cd75cd2b523a2b452bf010443800976b3" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "borsh-schema-derive-internal" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "276691d96f063427be83e6692b86148e488ebba9f48f77788724ca027ba3b6d4" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "brotli" +version = "8.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bd8b9603c7aa97359dbd97ecf258968c95f3adddd6db2f7e7a5bef101c84560" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor", +] + +[[package]] +name = "brotli-decompressor" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", +] + +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "bumpalo" +version = "3.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" + +[[package]] +name = "bv" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8834bb1d8ee5dc048ee3124f2c7c1afcc6bc9aed03f11e9dfd8c69470a5db340" +dependencies = [ + "feature-probe", + "serde", +] + +[[package]] +name = "byte-slice-cast" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" + +[[package]] +name = "bytemuck" +version = "1.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" +dependencies = [ + "bytemuck_derive", +] + +[[package]] +name = "bytemuck_derive" +version = "1.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" +dependencies = [ + "serde", +] + +[[package]] +name = "bytes-utils" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dafe3a8757b027e2be6e4e5601ed563c55989fcf1546e933c66c8eb3a058d35" +dependencies = [ + "bytes", + "either", +] + +[[package]] +name = "c-kzg" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0307f72feab3300336fb803a57134159f6e20139af1357f36c54cb90d8e8928" +dependencies = [ + "blst", + "cc", + "glob", + "hex", + "libc", + "once_cell", + "serde", +] + +[[package]] +name = "caps" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd1ddba47aba30b6a889298ad0109c3b8dcb0e8fc993b459daa7067d46f865e0" +dependencies = [ + "libc", +] + +[[package]] +name = "cc" +version = "1.2.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1dce859f0832a7d088c4f1119888ab94ef4b5d6795d1ce05afb7fe159d79f98" +dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + +[[package]] +name = "cfg_eval" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45565fc9416b9896014f5732ac776f810ee53a66730c17e4020c3ec064a8f88f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "chrono" +version = "0.4.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", +] + +[[package]] +name = "clap" +version = "4.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "clap_lex" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" + +[[package]] +name = "cmov" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f88a43d011fc4a6876cb7344703e297c71dda42494fee094d5f7c76bf13f746" + +[[package]] +name = "coins-ledger" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab9bc0994d0aa0f4ade5f3a9baf4a8d936f250278c85a1124b401860454246ab" +dependencies = [ + "async-trait", + "byteorder", + "cfg-if", + "const-hex", + "getrandom 0.2.17", + "hidapi-rusb", + "js-sys", + "log", + "nix 0.26.4", + "once_cell", + "thiserror 1.0.69", + "tokio", + "tracing", + "wasm-bindgen", + "wasm-bindgen-futures", +] + +[[package]] +name = "colorchoice" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" + +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "compression-codecs" +version = "0.4.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce2548391e9c1929c21bf6aa2680af86fe4c1b33e6cea9ac1cfeec0bd11218cf" +dependencies = [ + "brotli", + "compression-core", + "flate2", + "memchr", +] + +[[package]] +name = "compression-core" +version = "0.4.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789" + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "console" +version = "0.15.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" +dependencies = [ + "encode_unicode", + "libc", + "once_cell", + "unicode-width", + "windows-sys 0.59.0", +] + +[[package]] +name = "console_error_panic_hook" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + +[[package]] +name = "console_log" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89f72f65e8501878b8a004d5a1afb780987e2ce2b4532c562e367a72c57499f" +dependencies = [ + "log", + "web-sys", +] + +[[package]] +name = "const-hex" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20d9a563d167a9cce0f94153382b33cb6eded6dfabff03c69ad65a28ea1514e0" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "proptest", + "serde_core", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "const_format" +version = "0.2.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4481a617ad9a412be3b97c5d403fef8ed023103368908b9c50af598ff467cc1e" +dependencies = [ + "const_format_proc_macros", + "konst", +] + +[[package]] +name = "const_format_proc_macros" +version = "0.2.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "rand_core 0.6.4", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77727bb15fa921304124b128af125e7e3b968275d1b108b379190264f4423710" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "crypto-mac" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" +dependencies = [ + "generic-array", + "subtle", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" +dependencies = [ + "byteorder", + "digest 0.9.0", + "rand_core 0.5.1", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "rand_core 0.6.4", + "rustc_version 0.4.1", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "darling" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" +dependencies = [ + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.117", +] + +[[package]] +name = "darling_macro" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "dashmap" +version = "5.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] +name = "dashmap" +version = "6.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] +name = "data-encoding" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4ae5f15dda3c708c0ade84bfee31ccab44a3da4f88015ed22f63732abe300c8" + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid 0.9.6", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "der-parser" +version = "8.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom", + "num-bigint 0.4.6", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" +dependencies = [ + "powerfmt", +] + +[[package]] +name = "derivation-path" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e5c37193a1db1d8ed868c03ec7b152175f26160a5b740e5e484143877e0adf0" + +[[package]] +name = "derivative" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl 1.0.0", +] + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl 2.1.1", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "unicode-xid", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version 0.4.1", + "syn 2.0.117", + "unicode-xid", +] + +[[package]] +name = "digest" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +dependencies = [ + "generic-array", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "const-oid 0.9.6", + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.0", + "const-oid 0.10.2", + "crypto-common 0.2.1", + "ctutils", +] + +[[package]] +name = "displaydoc" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "dlopen2" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09b4f5f101177ff01b8ec4ecc81eead416a8aa42819a2869311b3420fa114ffa" +dependencies = [ + "dlopen2_derive", + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "dlopen2_derive" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cbae11b3de8fce2a456e8ea3dada226b35fe791f0dc1d360c0941f0bb681f3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "dotenvy" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" + +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + +[[package]] +name = "dynamic-waas-sdk" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73af8bdadd839aeb7fc76136419d9551b9c5ad6da91781a4fb8f07a4bed20881" +dependencies = [ + "aes-gcm", + "base64 0.22.1", + "dynamic-waas-sdk-core", + "dynamic-waas-sdk-mpc", + "hex", + "pbkdf2 0.12.2", + "rand 0.9.4", + "rsa", + "serde", + "serde_json", + "sha2 0.10.9", + "thiserror 2.0.18", + "tokio", + "tracing", +] + +[[package]] +name = "dynamic-waas-sdk-core" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be7a3a2e752bb6c3493883771a44828a4ac9c723d20abf0245c6a8f8d669deba" +dependencies = [ + "dynamic-waas-sdk-mpc", + "futures", + "reqwest", + "serde", + "serde_json", + "thiserror 2.0.18", + "tokio", + "tracing", + "uuid", +] + +[[package]] +name = "dynamic-waas-sdk-evm" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97b706245daf23f59d21037e1882d9ee6b6a1b5705c17184baec6ded9b6b10fd" +dependencies = [ + "alloy-primitives", + "dynamic-waas-sdk", + "dynamic-waas-sdk-core", + "dynamic-waas-sdk-mpc", + "hex", + "k256", + "tokio", + "tracing", +] + +[[package]] +name = "dynamic-waas-sdk-mpc" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41425ebdc603d3488517ae737dafe34f3839f9c82070ec383c2fb805c84b66c5" +dependencies = [ + "bs58", + "dynamic-waas-sdk-mpc-sys", + "hex", + "sha2 0.10.9", + "sha3", + "thiserror 2.0.18", + "tokio", +] + +[[package]] +name = "dynamic-waas-sdk-mpc-sys" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8434ed2b4de2b0ad965fbe1c1066188cdaff43908fae27aca46858e93352689e" + +[[package]] +name = "dynamic-waas-sdk-svm" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6520689a598460cd8e1632c4f239f6b5a616a7e9ecc0b357f0876556b7f581b0" +dependencies = [ + "bs58", + "dynamic-waas-sdk", + "dynamic-waas-sdk-core", + "hex", + "tokio", + "tracing", +] + +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der", + "digest 0.10.7", + "elliptic-curve", + "rfc6979", + "signature 2.2.0", + "spki", +] + +[[package]] +name = "ed25519" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +dependencies = [ + "signature 1.6.4", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature 2.2.0", +] + +[[package]] +name = "ed25519-dalek" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" +dependencies = [ + "curve25519-dalek 3.2.0", + "ed25519 1.5.3", + "rand 0.7.3", + "serde", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek 4.1.3", + "ed25519 2.2.3", + "serde", + "sha2 0.10.9", + "subtle", + "zeroize", +] + +[[package]] +name = "ed25519-dalek-bip32" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d2be62a4061b872c8c0873ee4fc6f101ce7b889d039f019c5fa2af471a59908" +dependencies = [ + "derivation-path", + "ed25519-dalek 1.0.1", + "hmac 0.12.1", + "sha2 0.10.9", +] + +[[package]] +name = "educe" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" +dependencies = [ + "enum-ordinalize", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "either" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest 0.10.7", + "ff", + "generic-array", + "group", + "pem-rfc7468", + "pkcs8", + "rand_core 0.6.4", + "sec1", + "subtle", + "zeroize", +] + +[[package]] +name = "encode_unicode" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" + +[[package]] +name = "enum-ordinalize" +version = "4.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a1091a7bb1f8f2c4b28f1fe2cef4980ca2d410a3d727d67ecc3178c9b0800f0" +dependencies = [ + "enum-ordinalize-derive", +] + +[[package]] +name = "enum-ordinalize-derive" +version = "4.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ca9601fb2d62598ee17836250842873a413586e5d7ed88b356e38ddbb0ec631" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "env_logger" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" +dependencies = [ + "atty", + "humantime", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "event-listener" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" + +[[package]] +name = "event-listener" +version = "5.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +dependencies = [ + "event-listener 5.4.1", + "pin-project-lite", +] + +[[package]] +name = "fastbloom" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7f34442dbe69c60fe8eaf58a8cafff81a1f278816d8ab4db255b3bef4ac3c4" +dependencies = [ + "getrandom 0.3.4", + "libm", + "rand 0.9.4", + "siphasher 1.0.3", +] + +[[package]] +name = "fastrand" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" + +[[package]] +name = "fastrlp" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" +dependencies = [ + "arrayvec", + "auto_impl", + "bytes", +] + +[[package]] +name = "fastrlp" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce8dba4714ef14b8274c371879b175aa55b16b30f269663f19d576f380018dc4" +dependencies = [ + "arrayvec", + "auto_impl", + "bytes", +] + +[[package]] +name = "feature-probe" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835a3dc7d1ec9e75e2b5fb4ba75396837112d2060b03f7d43bc1897c7f7211da" + +[[package]] +name = "ff" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "find-msvc-tools" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" + +[[package]] +name = "five8" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75b8549488b4715defcb0d8a8a1c1c76a80661b5fa106b4ca0e7fce59d7d875" +dependencies = [ + "five8_core", +] + +[[package]] +name = "five8_const" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26dec3da8bc3ef08f2c04f61eab298c3ab334523e55f076354d6d6f613799a7b" +dependencies = [ + "five8_core", +] + +[[package]] +name = "five8_core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2551bf44bc5f776c15044b9b94153a00198be06743e262afaaa61f11ac7523a5" + +[[package]] +name = "fixed-hash" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" +dependencies = [ + "byteorder", + "rand 0.8.6", + "rustc-hex", + "static_assertions", +] + +[[package]] +name = "flate2" +version = "1.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" + +[[package]] +name = "futures-executor" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" + +[[package]] +name = "futures-macro" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "futures-sink" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" + +[[package]] +name = "futures-task" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" + +[[package]] +name = "futures-timer" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" + +[[package]] +name = "futures-util" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "futures-utils-wasm" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42012b0f064e01aa58b545fe3727f90f7dd4020f4a3ea735b50344965f5a57e9" + +[[package]] +name = "gcloud-sdk" +version = "0.25.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0775bfa745cdf7287ae9765a685a813b91049b6b6d5ca3de20a3d5d16a80d8b2" +dependencies = [ + "async-trait", + "bytes", + "chrono", + "futures", + "hyper", + "jsonwebtoken", + "once_cell", + "prost 0.13.5", + "prost-types 0.13.5", + "reqwest", + "secret-vault-value", + "serde", + "serde_json", + "tokio", + "tonic", + "tower 0.5.3", + "tower-layer", + "tower-util", + "tracing", + "url", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "gethostname" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1ebd34e35c46e00bb73e81363248d627782724609fe1b6396f553f68fe3862e" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi 5.3.0", + "wasip2", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", + "wasip2", + "wasip3", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "glob" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" + +[[package]] +name = "governor" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" +dependencies = [ + "cfg-if", + "dashmap 5.5.3", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot", + "portable-atomic", + "quanta", + "rand 0.8.6", + "smallvec", + "spinning_top", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "h2" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "171fefbc92fe4a4de27e0698d6a5b392d6a0e333506bc49133760b3bcf948733" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http 1.4.0", + "indexmap 2.14.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", + "serde", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + +[[package]] +name = "hermit-abi" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hidapi-rusb" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efdc2ec354929a6e8f3c6b6923a4d97427ec2f764cfee8cd4bfe890946cdf08b" +dependencies = [ + "cc", + "libc", + "pkg-config", + "rusb", +] + +[[package]] +name = "histogram" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12cb882ccb290b8646e554b157ab0b71e64e8d5bef775cd66b6531e52d302669" + +[[package]] +name = "hmac" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" +dependencies = [ + "crypto-mac", + "digest 0.9.0", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest 0.11.3", +] + +[[package]] +name = "hmac-drbg" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" +dependencies = [ + "digest 0.9.0", + "generic-array", + "hmac 0.8.1", +] + +[[package]] +name = "http" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +dependencies = [ + "bytes", + "http 0.2.12", + "pin-project-lite", +] + +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.4.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" +dependencies = [ + "bytes", + "futures-core", + "http 1.4.0", + "http-body 1.0.1", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "humantime" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" + +[[package]] +name = "hybrid-array" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da" +dependencies = [ + "typenum", +] + +[[package]] +name = "hyper" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6299f016b246a94207e63da54dbe807655bf9e00044f73ded42c3ac5305fbcca" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http 1.4.0", + "http-body 1.0.1", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f" +dependencies = [ + "http 1.4.0", + "hyper", + "hyper-util", + "rustls 0.23.40", + "rustls-native-certs", + "tokio", + "tokio-rustls 0.26.4", + "tower-service", + "webpki-roots 1.0.7", +] + +[[package]] +name = "hyper-timeout" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" +dependencies = [ + "hyper", + "hyper-util", + "pin-project-lite", + "tokio", + "tower-service", +] + +[[package]] +name = "hyper-tls" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" +dependencies = [ + "bytes", + "http-body-util", + "hyper", + "hyper-util", + "native-tls", + "tokio", + "tokio-native-tls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-channel", + "futures-util", + "http 1.4.0", + "http-body 1.0.1", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2 0.6.3", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collections" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38" + +[[package]] +name = "icu_properties" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14" + +[[package]] +name = "icu_provider" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "id-arena" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "impl-codec" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" +dependencies = [ + "parity-scale-codec", +] + +[[package]] +name = "impl-trait-for-tuples" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", +] + +[[package]] +name = "indexmap" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", + "serde", + "serde_core", +] + +[[package]] +name = "indicatif" +version = "0.17.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "183b3088984b400f4cfac3620d5e076c84da5364016b4f49473de574b2586235" +dependencies = [ + "console", + "number_prefix", + "portable-atomic", + "unicode-width", + "web-time", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "ipnet" +version = "2.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.117", +] + +[[package]] +name = "jobserver" +version = "0.1.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +dependencies = [ + "getrandom 0.3.4", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.98" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67df7112613f8bfd9150013a0314e196f4800d3201ae742489d999db2f979f08" +dependencies = [ + "cfg-if", + "futures-util", + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "jsonrpc-core" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" +dependencies = [ + "futures", + "futures-executor", + "futures-util", + "log", + "serde", + "serde_derive", + "serde_json", +] + +[[package]] +name = "jsonwebtoken" +version = "9.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde" +dependencies = [ + "base64 0.22.1", + "js-sys", + "pem 3.0.6", + "ring", + "serde", + "serde_json", + "simple_asn1", +] + +[[package]] +name = "k256" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" +dependencies = [ + "cfg-if", + "ecdsa", + "elliptic-curve", + "once_cell", + "sha2 0.10.9", +] + +[[package]] +name = "keccak" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb26cec98cce3a3d96cbb7bced3c4b16e3d13f27ec56dbd62cbc8f39cfb9d653" +dependencies = [ + "cpufeatures 0.2.17", +] + +[[package]] +name = "keccak-asm" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1766b89733097006f3a1388a02849865d6bc98c89273cb622e29fdd209922183" +dependencies = [ + "digest 0.10.7", + "sha3-asm", +] + +[[package]] +name = "konst" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "128133ed7824fcd73d6e7b17957c5eb7bacb885649bd8c69708b2331a10bcefb" +dependencies = [ + "konst_macro_rules", +] + +[[package]] +name = "konst_macro_rules" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4933f3f57a8e9d9da04db23fb153356ecaf00cbd14aee46279c33dc80925c37" + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +dependencies = [ + "spin", +] + +[[package]] +name = "leb128fmt" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" + +[[package]] +name = "libc" +version = "0.2.186" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" + +[[package]] +name = "libm" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" + +[[package]] +name = "libsecp256k1" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9d220bc1feda2ac231cb78c3d26f27676b8cf82c96971f7aeef3d0cf2797c73" +dependencies = [ + "arrayref", + "base64 0.12.3", + "digest 0.9.0", + "hmac-drbg", + "libsecp256k1-core", + "libsecp256k1-gen-ecmult", + "libsecp256k1-gen-genmult", + "rand 0.7.3", + "serde", + "sha2 0.9.9", + "typenum", +] + +[[package]] +name = "libsecp256k1-core" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0f6ab710cec28cef759c5f18671a27dae2a5f952cdaaee1d8e2908cb2478a80" +dependencies = [ + "crunchy", + "digest 0.9.0", + "subtle", +] + +[[package]] +name = "libsecp256k1-gen-ecmult" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccab96b584d38fac86a83f07e659f0deafd0253dc096dab5a36d53efe653c5c3" +dependencies = [ + "libsecp256k1-core", +] + +[[package]] +name = "libsecp256k1-gen-genmult" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67abfe149395e3aa1c48a2beb32b068e2334402df8181f818d3aee2b304c4f5d" +dependencies = [ + "libsecp256k1-core", +] + +[[package]] +name = "libusb1-sys" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da050ade7ac4ff1ba5379af847a10a10a8e284181e060105bf8d86960ce9ce0f" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" + +[[package]] +name = "lru" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +dependencies = [ + "hashbrown 0.15.5", +] + +[[package]] +name = "lru-slab" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" + +[[package]] +name = "macro-string" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b27834086c65ec3f9387b096d66e99f221cf081c2b738042aa252bcd41204e3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "matchit" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" + +[[package]] +name = "memchr" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" + +[[package]] +name = "memmap2" +version = "0.5.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +dependencies = [ + "autocfg", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[package]] +name = "mime_guess" +version = "2.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" +dependencies = [ + "mime", + "unicase", +] + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "mio" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1" +dependencies = [ + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", + "windows-sys 0.61.2", +] + +[[package]] +name = "native-tls" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "465500e14ea162429d264d44189adc38b199b62b1c21eea9f69e4b73cb03bbf2" +dependencies = [ + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", +] + +[[package]] +name = "nix" +version = "0.26.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +dependencies = [ + "bitflags 1.3.2", + "cfg-if", + "libc", + "memoffset 0.7.1", + "pin-utils", +] + +[[package]] +name = "nix" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" +dependencies = [ + "bitflags 2.11.1", + "cfg-if", + "cfg_aliases", + "libc", + "memoffset 0.9.1", +] + +[[package]] +name = "no-std-compat" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "nonzero_ext" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36" +dependencies = [ + "num-bigint 0.2.6", + "num-complex", + "num-integer", + "num-iter", + "num-rational", + "num-traits", +] + +[[package]] +name = "num-bigint" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-bigint" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-bigint-dig" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7" +dependencies = [ + "lazy_static", + "libm", + "num-integer", + "num-iter", + "num-traits", + "rand 0.8.6", + "smallvec", + "zeroize", +] + +[[package]] +name = "num-complex" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" +dependencies = [ + "autocfg", + "num-bigint 0.2.6", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_cpus" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" +dependencies = [ + "hermit-abi 0.5.2", + "libc", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "number_prefix" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" + +[[package]] +name = "nybbles" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8983bb634df7248924ee0c4c3a749609b5abcb082c28fffe3254b3eb3602b307" +dependencies = [ + "alloy-rlp", + "const-hex", + "proptest", + "serde", + "smallvec", +] + +[[package]] +name = "oid-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" +dependencies = [ + "asn1-rs", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl" +version = "0.10.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a45fa2aa886c42762255da344f0a0d313e254066c46aad76f300c3d3da62d967" +dependencies = [ + "bitflags 2.11.1", + "cfg-if", + "foreign-types", + "libc", + "openssl-macros", + "openssl-sys", +] + +[[package]] +name = "openssl-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + +[[package]] +name = "openssl-sys" +version = "0.9.116" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28a22dc7140cda5f096e5e7724a6962ca81a7f8bfd2979f9b18c11af56318c4" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "outref" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e" + +[[package]] +name = "parity-scale-codec" +version = "3.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799781ae679d79a948e13d4824a40970bfa500058d245760dd857301059810fa" +dependencies = [ + "arrayvec", + "bitvec", + "byte-slice-cast", + "const_format", + "impl-trait-for-tuples", + "parity-scale-codec-derive", + "rustversion", + "serde", +] + +[[package]] +name = "parity-scale-codec-derive" +version = "3.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34b4653168b563151153c9e4c08ebed57fb8262bebfa79711552fa983c623e7a" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "pbkdf2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest 0.10.7", + "hmac 0.12.1", + "sha2 0.10.9", +] + +[[package]] +name = "pem" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +dependencies = [ + "base64 0.13.1", +] + +[[package]] +name = "pem" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" +dependencies = [ + "base64 0.22.1", + "serde_core", +] + +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "percentage" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fd23b938276f14057220b707937bcb42fa76dda7560e57a2da30cb52d557937" +dependencies = [ + "num", +] + +[[package]] +name = "pest" +version = "2.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0848c601009d37dfa3430c4666e147e49cdcf1b92ecd3e63657d8a5f19da662" +dependencies = [ + "memchr", + "ucd-trie", +] + +[[package]] +name = "pin-project" +version = "0.4.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ef0f924a5ee7ea9cbcea77529dba45f8a9ba9f622419fe3386ca581a3ae9d5a" +dependencies = [ + "pin-project-internal 0.4.30", +] + +[[package]] +name = "pin-project" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +dependencies = [ + "pin-project-internal 1.1.13", +] + +[[package]] +name = "pin-project-internal" +version = "0.4.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "851c8d0ce9bebe43790dedfc86614c23494ac9f423dd618d3a61fc693eafe61e" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "pkcs1" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" +dependencies = [ + "der", + "pkcs8", + "spki", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "portable-atomic" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" + +[[package]] +name = "potential_utf" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.117", +] + +[[package]] +name = "primitive-types" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" +dependencies = [ + "fixed-hash", + "impl-codec", + "uint", +] + +[[package]] +name = "proc-macro-crate" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" +dependencies = [ + "toml", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "proc-macro2" +version = "1.0.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "proptest" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags 2.11.1", + "num-traits", + "rand 0.9.4", + "rand_chacha 0.9.0", + "rand_xorshift", + "regex-syntax", + "rusty-fork", + "tempfile", + "unarray", +] + +[[package]] +name = "prost" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5" +dependencies = [ + "bytes", + "prost-derive 0.13.5", +] + +[[package]] +name = "prost" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2ea70524a2f82d518bce41317d0fae74151505651af45faf1ffbd6fd33f0568" +dependencies = [ + "bytes", + "prost-derive 0.14.3", +] + +[[package]] +name = "prost-derive" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" +dependencies = [ + "anyhow", + "itertools 0.13.0", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "prost-derive" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b" +dependencies = [ + "anyhow", + "itertools 0.13.0", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "prost-types" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52c2c1bf36ddb1a1c396b3601a3cec27c2462e45f07c386894ec3ccf5332bd16" +dependencies = [ + "prost 0.13.5", +] + +[[package]] +name = "prost-types" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8991c4cbdb8bc5b11f0b074ffe286c30e523de90fee5ba8132f1399f23cb3dd7" +dependencies = [ + "prost 0.14.3", +] + +[[package]] +name = "qstring" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d464fae65fff2680baf48019211ce37aaec0c78e9264c84a3e484717f965104e" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "quanta" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3ab5a9d756f0d97bdc89019bd2e4ea098cf9cde50ee7564dde6b81ccc8f06c7" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi 0.11.1+wasi-snapshot-preview1", + "web-sys", + "winapi", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quinn" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" +dependencies = [ + "bytes", + "cfg_aliases", + "pin-project-lite", + "quinn-proto", + "quinn-udp", + "rustc-hash", + "rustls 0.23.40", + "socket2 0.6.3", + "thiserror 2.0.18", + "tokio", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-proto" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098" +dependencies = [ + "bytes", + "fastbloom", + "getrandom 0.3.4", + "lru-slab", + "rand 0.9.4", + "ring", + "rustc-hash", + "rustls 0.23.40", + "rustls-pki-types", + "rustls-platform-verifier", + "slab", + "thiserror 2.0.18", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-udp" +version = "0.5.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" +dependencies = [ + "cfg_aliases", + "libc", + "once_cell", + "socket2 0.6.3", + "tracing", + "windows-sys 0.60.2", +] + +[[package]] +name = "quote" +version = "1.0.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc", +] + +[[package]] +name = "rand" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "serde", +] + +[[package]] +name = "rand" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.5", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.5", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rand_xorshift" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" +dependencies = [ + "rand_core 0.9.5", +] + +[[package]] +name = "raw-cpuid" +version = "11.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "rayon" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "regex" +version = "1.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-lite" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cab834c73d247e67f4fae452806d17d3c7501756d98c8808d7c9c7aa7d18f973" + +[[package]] +name = "regex-syntax" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" + +[[package]] +name = "reqwest" +version = "0.12.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "http 1.4.0", + "http-body 1.0.1", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-tls", + "hyper-util", + "js-sys", + "log", + "mime_guess", + "native-tls", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls 0.23.40", + "rustls-native-certs", + "rustls-pki-types", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-native-tls", + "tokio-rustls 0.26.4", + "tokio-util", + "tower 0.5.3", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", + "webpki-roots 1.0.7", +] + +[[package]] +name = "reqwest-middleware" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57f17d28a6e6acfe1733fe24bcd30774d13bffa4b8a22535b4c8c98423088d4e" +dependencies = [ + "anyhow", + "async-trait", + "http 1.4.0", + "reqwest", + "serde", + "thiserror 1.0.69", + "tower-service", +] + +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rlp" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +dependencies = [ + "bytes", + "rustc-hex", +] + +[[package]] +name = "rsa" +version = "0.9.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8573f03f5883dcaebdfcf4725caa1ecb9c15b2ef50c43a07b816e06799bb12d" +dependencies = [ + "const-oid 0.9.6", + "digest 0.10.7", + "num-bigint-dig", + "num-integer", + "num-traits", + "pkcs1", + "pkcs8", + "rand_core 0.6.4", + "sha2 0.10.9", + "signature 2.2.0", + "spki", + "subtle", + "zeroize", +] + +[[package]] +name = "ruint" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0298da754d1395046b0afdc2f20ee76d29a8ae310cd30ffa84ed42acba9cb12a" +dependencies = [ + "alloy-rlp", + "ark-ff 0.3.0", + "ark-ff 0.4.2", + "ark-ff 0.5.0", + "bytes", + "fastrlp 0.3.1", + "fastrlp 0.4.0", + "num-bigint 0.4.6", + "num-integer", + "num-traits", + "parity-scale-codec", + "primitive-types", + "proptest", + "rand 0.8.6", + "rand 0.9.4", + "rlp", + "ruint-macro", + "serde_core", + "valuable", + "zeroize", +] + +[[package]] +name = "ruint-macro" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" + +[[package]] +name = "rusb" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab9f9ff05b63a786553a4c02943b74b34a988448671001e9a27e2f0565cc05a4" +dependencies = [ + "libc", + "libusb1-sys", +] + +[[package]] +name = "rust-server-wallets" +version = "0.1.0" +dependencies = [ + "alloy", + "anyhow", + "bincode", + "bs58", + "chrono", + "clap", + "dotenvy", + "dynamic-waas-sdk", + "dynamic-waas-sdk-evm", + "dynamic-waas-sdk-svm", + "ed25519-dalek 2.2.0", + "futures", + "hex", + "k256", + "rand 0.9.4", + "serde", + "serde_json", + "solana-client", + "solana-sdk", + "thiserror 2.0.18", + "tokio", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "rustc-hash" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" + +[[package]] +name = "rustc-hex" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" + +[[package]] +name = "rustc_version" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" +dependencies = [ + "semver 0.11.0", +] + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver 1.0.28", +] + +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom", +] + +[[package]] +name = "rustix" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +dependencies = [ + "bitflags 2.11.1", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls" +version = "0.21.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" +dependencies = [ + "log", + "ring", + "rustls-webpki 0.101.7", + "sct", +] + +[[package]] +name = "rustls" +version = "0.23.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef86cd5876211988985292b91c96a8f2d298df24e75989a43a3c73f2d4d8168b" +dependencies = [ + "log", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki 0.103.13", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls 0.23.40", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki 0.103.13", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" + +[[package]] +name = "rustls-webpki" +version = "0.101.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "rustls-webpki" +version = "0.103.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" + +[[package]] +name = "rusty-fork" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "schnellru" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "356285bbf17bea63d9e52e96bd18f039672ac92b55b8cb997d6162a2a37d1649" +dependencies = [ + "ahash", + "cfg-if", + "hashbrown 0.13.2", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "sct" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "pkcs8", + "subtle", + "zeroize", +] + +[[package]] +name = "secret-vault-value" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "662c7f8e99d46c9d3a87561d771a970c29efaccbab4bbdc6ab65d099d2358077" +dependencies = [ + "prost 0.14.3", + "prost-types 0.14.3", + "serde", + "serde_json", + "zeroize", +] + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags 2.11.1", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "semver-parser" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9900206b54a3527fdc7b8a938bffd94a568bac4f4aa8113b209df75a09c0dec2" +dependencies = [ + "pest", +] + +[[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde-big-array" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11fc7cc2c76d73e0f27ee52abbd64eec84d46f370c88371120433196934e4b7f" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "serde_json" +version = "1.0.149" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_with" +version = "3.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e72c1c2cb7b223fafb600a619537a871c2818583d619401b785e7c0b746ccde2" +dependencies = [ + "serde_core", + "serde_with_macros", +] + +[[package]] +name = "serde_with_macros" +version = "3.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b90c488738ecb4fb0262f41f43bc40efc5868d9fb744319ddf5f5317f417bfac" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" +dependencies = [ + "block-buffer 0.9.0", + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.9.0", + "opaque-debug", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "digest 0.11.3", +] + +[[package]] +name = "sha3" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77fd7028345d415a4034cf8777cd4f8ab1851274233b45f84e3d955502d93874" +dependencies = [ + "digest 0.10.7", + "keccak", +] + +[[package]] +name = "sha3-asm" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f3f15d4e239ebe08413eed880e0f9b5af4b40ee0472543320efa91d488e96a7" +dependencies = [ + "cc", + "cfg-if", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "signal-hook" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2" +dependencies = [ + "libc", + "signal-hook-registry", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + +[[package]] +name = "simd-adler32" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214" + +[[package]] +name = "simple_asn1" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d585997b0ac10be3c5ee635f1bab02d512760d14b7c468801ac8a01d9ae5f1d" +dependencies = [ + "num-bigint 0.4.6", + "num-traits", + "thiserror 2.0.18", + "time", +] + +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + +[[package]] +name = "siphasher" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +dependencies = [ + "serde", +] + +[[package]] +name = "socket2" +version = "0.5.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "socket2" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "solana-account" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f949fe4edaeaea78c844023bfc1c898e0b1f5a100f8a8d2d0f85d0a7b090258" +dependencies = [ + "bincode", + "serde", + "serde_bytes", + "serde_derive", + "solana-account-info", + "solana-clock", + "solana-instruction", + "solana-pubkey", + "solana-sdk-ids", + "solana-sysvar", +] + +[[package]] +name = "solana-account-decoder-client-types" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5519e8343325b707f17fbed54fcefb325131b692506d0af9e08a539d15e4f8cf" +dependencies = [ + "base64 0.22.1", + "bs58", + "serde", + "serde_derive", + "serde_json", + "solana-account", + "solana-pubkey", + "zstd", +] + +[[package]] +name = "solana-account-info" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8f5152a288ef1912300fc6efa6c2d1f9bb55d9398eb6c72326360b8063987da" +dependencies = [ + "bincode", + "serde", + "solana-program-error", + "solana-program-memory", + "solana-pubkey", +] + +[[package]] +name = "solana-address-lookup-table-interface" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1673f67efe870b64a65cb39e6194be5b26527691ce5922909939961a6e6b395" +dependencies = [ + "bincode", + "bytemuck", + "serde", + "serde_derive", + "solana-clock", + "solana-instruction", + "solana-pubkey", + "solana-sdk-ids", + "solana-slot-hashes", +] + +[[package]] +name = "solana-atomic-u64" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52e52720efe60465b052b9e7445a01c17550666beec855cce66f44766697bc2" +dependencies = [ + "parking_lot", +] + +[[package]] +name = "solana-big-mod-exp" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75db7f2bbac3e62cfd139065d15bcda9e2428883ba61fc8d27ccb251081e7567" +dependencies = [ + "num-bigint 0.4.6", + "num-traits", + "solana-define-syscall", +] + +[[package]] +name = "solana-bincode" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19a3787b8cf9c9fe3dd360800e8b70982b9e5a8af9e11c354b6665dd4a003adc" +dependencies = [ + "bincode", + "serde", + "solana-instruction", +] + +[[package]] +name = "solana-blake3-hasher" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a0801e25a1b31a14494fc80882a036be0ffd290efc4c2d640bfcca120a4672" +dependencies = [ + "blake3", + "solana-define-syscall", + "solana-hash", + "solana-sanitize", +] + +[[package]] +name = "solana-bn254" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4420f125118732833f36facf96a27e7b78314b2d642ba07fa9ffdacd8d79e243" +dependencies = [ + "ark-bn254", + "ark-ec", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "bytemuck", + "solana-define-syscall", + "thiserror 2.0.18", +] + +[[package]] +name = "solana-borsh" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "718333bcd0a1a7aed6655aa66bef8d7fb047944922b2d3a18f49cbc13e73d004" +dependencies = [ + "borsh 0.10.4", + "borsh 1.6.1", +] + +[[package]] +name = "solana-client" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc55d1f263e0be4127daf33378d313ea0977f9ffd3fba50fa544ca26722fc695" +dependencies = [ + "async-trait", + "bincode", + "dashmap 5.5.3", + "futures", + "futures-util", + "indexmap 2.14.0", + "indicatif", + "log", + "quinn", + "rayon", + "solana-account", + "solana-client-traits", + "solana-commitment-config", + "solana-connection-cache", + "solana-epoch-info", + "solana-hash", + "solana-instruction", + "solana-keypair", + "solana-measure", + "solana-message", + "solana-pubkey", + "solana-pubsub-client", + "solana-quic-client", + "solana-quic-definitions", + "solana-rpc-client", + "solana-rpc-client-api", + "solana-rpc-client-nonce-utils", + "solana-signature", + "solana-signer", + "solana-streamer", + "solana-thin-client", + "solana-time-utils", + "solana-tpu-client", + "solana-transaction", + "solana-transaction-error", + "solana-udp-client", + "thiserror 2.0.18", + "tokio", +] + +[[package]] +name = "solana-client-traits" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83f0071874e629f29e0eb3dab8a863e98502ac7aba55b7e0df1803fc5cac72a7" +dependencies = [ + "solana-account", + "solana-commitment-config", + "solana-epoch-info", + "solana-hash", + "solana-instruction", + "solana-keypair", + "solana-message", + "solana-pubkey", + "solana-signature", + "solana-signer", + "solana-system-interface", + "solana-transaction", + "solana-transaction-error", +] + +[[package]] +name = "solana-clock" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8584296123df8fe229b95e2ebfd37ae637fe9db9b7d4dd677ac5a78e80dbfce" +dependencies = [ + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-cluster-type" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ace9fea2daa28354d107ea879cff107181d85cd4e0f78a2bedb10e1a428c97e" +dependencies = [ + "serde", + "serde_derive", + "solana-hash", +] + +[[package]] +name = "solana-commitment-config" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac49c4dde3edfa832de1697e9bcdb7c3b3f7cb7a1981b7c62526c8bb6700fb73" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "solana-compute-budget-interface" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8432d2c4c22d0499aa06d62e4f7e333f81777b3d7c96050ae9e5cb71a8c3aee4" +dependencies = [ + "borsh 1.6.1", + "serde", + "serde_derive", + "solana-instruction", + "solana-sdk-ids", +] + +[[package]] +name = "solana-connection-cache" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45c1cff5ebb26aefff52f1a8e476de70ec1683f8cc6e4a8c86b615842d91f436" +dependencies = [ + "async-trait", + "bincode", + "crossbeam-channel", + "futures-util", + "indexmap 2.14.0", + "log", + "rand 0.8.6", + "rayon", + "solana-keypair", + "solana-measure", + "solana-metrics", + "solana-time-utils", + "solana-transaction-error", + "thiserror 2.0.18", + "tokio", +] + +[[package]] +name = "solana-cpi" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc71126edddc2ba014622fc32d0f5e2e78ec6c5a1e0eb511b85618c09e9ea11" +dependencies = [ + "solana-account-info", + "solana-define-syscall", + "solana-instruction", + "solana-program-error", + "solana-pubkey", + "solana-stable-layout", +] + +[[package]] +name = "solana-decode-error" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c781686a18db2f942e70913f7ca15dc120ec38dcab42ff7557db2c70c625a35" +dependencies = [ + "num-traits", +] + +[[package]] +name = "solana-define-syscall" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ae3e2abcf541c8122eafe9a625d4d194b4023c20adde1e251f94e056bb1aee2" + +[[package]] +name = "solana-derivation-path" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "939756d798b25c5ec3cca10e06212bdca3b1443cb9bb740a38124f58b258737b" +dependencies = [ + "derivation-path", + "qstring", + "uriparse", +] + +[[package]] +name = "solana-ed25519-program" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1feafa1691ea3ae588f99056f4bdd1293212c7ece28243d7da257c443e84753" +dependencies = [ + "bytemuck", + "bytemuck_derive", + "ed25519-dalek 1.0.1", + "solana-feature-set", + "solana-instruction", + "solana-precompile-error", + "solana-sdk-ids", +] + +[[package]] +name = "solana-epoch-info" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90ef6f0b449290b0b9f32973eefd95af35b01c5c0c34c569f936c34c5b20d77b" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "solana-epoch-rewards" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b575d3dd323b9ea10bb6fe89bf6bf93e249b215ba8ed7f68f1a3633f384db7" +dependencies = [ + "serde", + "serde_derive", + "solana-hash", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-epoch-rewards-hasher" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c5fd2662ae7574810904585fd443545ed2b568dbd304b25a31e79ccc76e81b" +dependencies = [ + "siphasher 0.3.11", + "solana-hash", + "solana-pubkey", +] + +[[package]] +name = "solana-epoch-schedule" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fce071fbddecc55d727b1d7ed16a629afe4f6e4c217bc8d00af3b785f6f67ed" +dependencies = [ + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-example-mocks" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84461d56cbb8bb8d539347151e0525b53910102e4bced875d49d5139708e39d3" +dependencies = [ + "serde", + "serde_derive", + "solana-address-lookup-table-interface", + "solana-clock", + "solana-hash", + "solana-instruction", + "solana-keccak-hasher", + "solana-message", + "solana-nonce", + "solana-pubkey", + "solana-sdk-ids", + "solana-system-interface", + "thiserror 2.0.18", +] + +[[package]] +name = "solana-feature-gate-interface" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43f5c5382b449e8e4e3016fb05e418c53d57782d8b5c30aa372fc265654b956d" +dependencies = [ + "bincode", + "serde", + "serde_derive", + "solana-account", + "solana-account-info", + "solana-instruction", + "solana-program-error", + "solana-pubkey", + "solana-rent", + "solana-sdk-ids", + "solana-system-interface", +] + +[[package]] +name = "solana-feature-set" +version = "2.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93b93971e289d6425f88e6e3cb6668c4b05df78b3c518c249be55ced8efd6b6d" +dependencies = [ + "ahash", + "lazy_static", + "solana-epoch-schedule", + "solana-hash", + "solana-pubkey", + "solana-sha256-hasher", +] + +[[package]] +name = "solana-fee-calculator" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d89bc408da0fb3812bc3008189d148b4d3e08252c79ad810b245482a3f70cd8d" +dependencies = [ + "log", + "serde", + "serde_derive", +] + +[[package]] +name = "solana-fee-structure" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33adf673581c38e810bf618f745bf31b683a0a4a4377682e6aaac5d9a058dd4e" +dependencies = [ + "serde", + "serde_derive", + "solana-message", + "solana-native-token", +] + +[[package]] +name = "solana-genesis-config" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3725085d47b96d37fef07a29d78d2787fc89a0b9004c66eed7753d1e554989f" +dependencies = [ + "bincode", + "chrono", + "memmap2", + "serde", + "serde_derive", + "solana-account", + "solana-clock", + "solana-cluster-type", + "solana-epoch-schedule", + "solana-fee-calculator", + "solana-hash", + "solana-inflation", + "solana-keypair", + "solana-logger", + "solana-poh-config", + "solana-pubkey", + "solana-rent", + "solana-sdk-ids", + "solana-sha256-hasher", + "solana-shred-version", + "solana-signer", + "solana-time-utils", +] + +[[package]] +name = "solana-hard-forks" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c28371f878e2ead55611d8ba1b5fb879847156d04edea13693700ad1a28baf" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "solana-hash" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5b96e9f0300fa287b545613f007dfe20043d7812bee255f418c1eb649c93b63" +dependencies = [ + "borsh 1.6.1", + "bytemuck", + "bytemuck_derive", + "five8", + "js-sys", + "serde", + "serde_derive", + "solana-atomic-u64", + "solana-sanitize", + "wasm-bindgen", +] + +[[package]] +name = "solana-inflation" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23eef6a09eb8e568ce6839573e4966850e85e9ce71e6ae1a6c930c1c43947de3" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "solana-instruction" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bab5682934bd1f65f8d2c16f21cb532526fcc1a09f796e2cacdb091eee5774ad" +dependencies = [ + "bincode", + "borsh 1.6.1", + "getrandom 0.2.17", + "js-sys", + "num-traits", + "serde", + "serde_derive", + "serde_json", + "solana-define-syscall", + "solana-pubkey", + "wasm-bindgen", +] + +[[package]] +name = "solana-instructions-sysvar" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0e85a6fad5c2d0c4f5b91d34b8ca47118fc593af706e523cdbedf846a954f57" +dependencies = [ + "bitflags 2.11.1", + "solana-account-info", + "solana-instruction", + "solana-program-error", + "solana-pubkey", + "solana-sanitize", + "solana-sdk-ids", + "solana-serialize-utils", + "solana-sysvar-id", +] + +[[package]] +name = "solana-keccak-hasher" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7aeb957fbd42a451b99235df4942d96db7ef678e8d5061ef34c9b34cae12f79" +dependencies = [ + "sha3", + "solana-define-syscall", + "solana-hash", + "solana-sanitize", +] + +[[package]] +name = "solana-keypair" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd3f04aa1a05c535e93e121a95f66e7dcccf57e007282e8255535d24bf1e98bb" +dependencies = [ + "ed25519-dalek 1.0.1", + "ed25519-dalek-bip32", + "five8", + "rand 0.7.3", + "solana-derivation-path", + "solana-pubkey", + "solana-seed-derivable", + "solana-seed-phrase", + "solana-signature", + "solana-signer", + "wasm-bindgen", +] + +[[package]] +name = "solana-last-restart-slot" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6360ac2fdc72e7463565cd256eedcf10d7ef0c28a1249d261ec168c1b55cdd" +dependencies = [ + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-loader-v2-interface" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8ab08006dad78ae7cd30df8eea0539e207d08d91eaefb3e1d49a446e1c49654" +dependencies = [ + "serde", + "serde_bytes", + "serde_derive", + "solana-instruction", + "solana-pubkey", + "solana-sdk-ids", +] + +[[package]] +name = "solana-loader-v3-interface" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f7162a05b8b0773156b443bccd674ea78bb9aa406325b467ea78c06c99a63a2" +dependencies = [ + "serde", + "serde_bytes", + "serde_derive", + "solana-instruction", + "solana-pubkey", + "solana-sdk-ids", + "solana-system-interface", +] + +[[package]] +name = "solana-loader-v4-interface" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "706a777242f1f39a83e2a96a2a6cb034cb41169c6ecbee2cf09cb873d9659e7e" +dependencies = [ + "serde", + "serde_bytes", + "serde_derive", + "solana-instruction", + "solana-pubkey", + "solana-sdk-ids", + "solana-system-interface", +] + +[[package]] +name = "solana-logger" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db8e777ec1afd733939b532a42492d888ec7c88d8b4127a5d867eb45c6eb5cd5" +dependencies = [ + "env_logger", + "lazy_static", + "libc", + "log", + "signal-hook", +] + +[[package]] +name = "solana-measure" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11dcd67cd2ae6065e494b64e861e0498d046d95a61cbbf1ae3d58be1ea0f42ed" + +[[package]] +name = "solana-message" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1796aabce376ff74bf89b78d268fa5e683d7d7a96a0a4e4813ec34de49d5314b" +dependencies = [ + "bincode", + "blake3", + "lazy_static", + "serde", + "serde_derive", + "solana-bincode", + "solana-hash", + "solana-instruction", + "solana-pubkey", + "solana-sanitize", + "solana-sdk-ids", + "solana-short-vec", + "solana-system-interface", + "solana-transaction-error", + "wasm-bindgen", +] + +[[package]] +name = "solana-metrics" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0375159d8460f423d39e5103dcff6e07796a5ec1850ee1fcfacfd2482a8f34b5" +dependencies = [ + "crossbeam-channel", + "gethostname", + "log", + "reqwest", + "solana-cluster-type", + "solana-sha256-hasher", + "solana-time-utils", + "thiserror 2.0.18", +] + +[[package]] +name = "solana-msg" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f36a1a14399afaabc2781a1db09cb14ee4cc4ee5c7a5a3cfcc601811379a8092" +dependencies = [ + "solana-define-syscall", +] + +[[package]] +name = "solana-native-token" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61515b880c36974053dd499c0510066783f0cc6ac17def0c7ef2a244874cf4a9" + +[[package]] +name = "solana-net-utils" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7a9e831d0f09bd92135d48c5bc79071bb59c0537b9459f1b4dec17ecc0558fa" +dependencies = [ + "anyhow", + "bincode", + "bytes", + "itertools 0.12.1", + "log", + "nix 0.30.1", + "rand 0.8.6", + "serde", + "serde_derive", + "socket2 0.5.10", + "solana-serde", + "tokio", + "url", +] + +[[package]] +name = "solana-nonce" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "703e22eb185537e06204a5bd9d509b948f0066f2d1d814a6f475dafb3ddf1325" +dependencies = [ + "serde", + "serde_derive", + "solana-fee-calculator", + "solana-hash", + "solana-pubkey", + "solana-sha256-hasher", +] + +[[package]] +name = "solana-nonce-account" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cde971a20b8dbf60144d6a84439dda86b5466e00e2843091fe731083cda614da" +dependencies = [ + "solana-account", + "solana-hash", + "solana-nonce", + "solana-sdk-ids", +] + +[[package]] +name = "solana-offchain-message" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b526398ade5dea37f1f147ce55dae49aa017a5d7326606359b0445ca8d946581" +dependencies = [ + "num_enum", + "solana-hash", + "solana-packet", + "solana-pubkey", + "solana-sanitize", + "solana-sha256-hasher", + "solana-signature", + "solana-signer", +] + +[[package]] +name = "solana-packet" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "004f2d2daf407b3ec1a1ca5ec34b3ccdfd6866dd2d3c7d0715004a96e4b6d127" +dependencies = [ + "bincode", + "bitflags 2.11.1", + "cfg_eval", + "serde", + "serde_derive", + "serde_with", +] + +[[package]] +name = "solana-perf" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37192c0be5c222ca49dbc5667288c5a8bb14837051dd98e541ee4dad160a5da9" +dependencies = [ + "ahash", + "bincode", + "bv", + "bytes", + "caps", + "curve25519-dalek 4.1.3", + "dlopen2", + "fnv", + "libc", + "log", + "nix 0.30.1", + "rand 0.8.6", + "rayon", + "serde", + "solana-hash", + "solana-message", + "solana-metrics", + "solana-packet", + "solana-pubkey", + "solana-rayon-threadlimit", + "solana-sdk-ids", + "solana-short-vec", + "solana-signature", + "solana-time-utils", +] + +[[package]] +name = "solana-poh-config" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d650c3b4b9060082ac6b0efbbb66865089c58405bfb45de449f3f2b91eccee75" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "solana-precompile-error" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d87b2c1f5de77dfe2b175ee8dd318d196aaca4d0f66f02842f80c852811f9f8" +dependencies = [ + "num-traits", + "solana-decode-error", +] + +[[package]] +name = "solana-precompiles" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36e92768a57c652edb0f5d1b30a7d0bc64192139c517967c18600debe9ae3832" +dependencies = [ + "lazy_static", + "solana-ed25519-program", + "solana-feature-set", + "solana-message", + "solana-precompile-error", + "solana-pubkey", + "solana-sdk-ids", + "solana-secp256k1-program", + "solana-secp256r1-program", +] + +[[package]] +name = "solana-presigner" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81a57a24e6a4125fc69510b6774cd93402b943191b6cddad05de7281491c90fe" +dependencies = [ + "solana-pubkey", + "solana-signature", + "solana-signer", +] + +[[package]] +name = "solana-program" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98eca145bd3545e2fbb07166e895370576e47a00a7d824e325390d33bf467210" +dependencies = [ + "bincode", + "blake3", + "borsh 0.10.4", + "borsh 1.6.1", + "bs58", + "bytemuck", + "console_error_panic_hook", + "console_log", + "getrandom 0.2.17", + "lazy_static", + "log", + "memoffset 0.9.1", + "num-bigint 0.4.6", + "num-derive", + "num-traits", + "rand 0.8.6", + "serde", + "serde_bytes", + "serde_derive", + "solana-account-info", + "solana-address-lookup-table-interface", + "solana-atomic-u64", + "solana-big-mod-exp", + "solana-bincode", + "solana-blake3-hasher", + "solana-borsh", + "solana-clock", + "solana-cpi", + "solana-decode-error", + "solana-define-syscall", + "solana-epoch-rewards", + "solana-epoch-schedule", + "solana-example-mocks", + "solana-feature-gate-interface", + "solana-fee-calculator", + "solana-hash", + "solana-instruction", + "solana-instructions-sysvar", + "solana-keccak-hasher", + "solana-last-restart-slot", + "solana-loader-v2-interface", + "solana-loader-v3-interface", + "solana-loader-v4-interface", + "solana-message", + "solana-msg", + "solana-native-token", + "solana-nonce", + "solana-program-entrypoint", + "solana-program-error", + "solana-program-memory", + "solana-program-option", + "solana-program-pack", + "solana-pubkey", + "solana-rent", + "solana-sanitize", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-secp256k1-recover", + "solana-serde-varint", + "solana-serialize-utils", + "solana-sha256-hasher", + "solana-short-vec", + "solana-slot-hashes", + "solana-slot-history", + "solana-stable-layout", + "solana-stake-interface", + "solana-system-interface", + "solana-sysvar", + "solana-sysvar-id", + "solana-vote-interface", + "thiserror 2.0.18", + "wasm-bindgen", +] + +[[package]] +name = "solana-program-entrypoint" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32ce041b1a0ed275290a5008ee1a4a6c48f5054c8a3d78d313c08958a06aedbd" +dependencies = [ + "solana-account-info", + "solana-msg", + "solana-program-error", + "solana-pubkey", +] + +[[package]] +name = "solana-program-error" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ee2e0217d642e2ea4bee237f37bd61bb02aec60da3647c48ff88f6556ade775" +dependencies = [ + "borsh 1.6.1", + "num-traits", + "serde", + "serde_derive", + "solana-decode-error", + "solana-instruction", + "solana-msg", + "solana-pubkey", +] + +[[package]] +name = "solana-program-memory" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a5426090c6f3fd6cfdc10685322fede9ca8e5af43cd6a59e98bfe4e91671712" +dependencies = [ + "solana-define-syscall", +] + +[[package]] +name = "solana-program-option" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc677a2e9bc616eda6dbdab834d463372b92848b2bfe4a1ed4e4b4adba3397d0" + +[[package]] +name = "solana-program-pack" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "319f0ef15e6e12dc37c597faccb7d62525a509fec5f6975ecb9419efddeb277b" +dependencies = [ + "solana-program-error", +] + +[[package]] +name = "solana-pubkey" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b62adb9c3261a052ca1f999398c388f1daf558a1b492f60a6d9e64857db4ff1" +dependencies = [ + "borsh 0.10.4", + "borsh 1.6.1", + "bytemuck", + "bytemuck_derive", + "curve25519-dalek 4.1.3", + "five8", + "five8_const", + "getrandom 0.2.17", + "js-sys", + "num-traits", + "rand 0.8.6", + "serde", + "serde_derive", + "solana-atomic-u64", + "solana-decode-error", + "solana-define-syscall", + "solana-sanitize", + "solana-sha256-hasher", + "wasm-bindgen", +] + +[[package]] +name = "solana-pubsub-client" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d18a7476e1d2e8df5093816afd8fffee94fbb6e442d9be8e6bd3e85f88ce8d5c" +dependencies = [ + "crossbeam-channel", + "futures-util", + "http 0.2.12", + "log", + "semver 1.0.28", + "serde", + "serde_derive", + "serde_json", + "solana-account-decoder-client-types", + "solana-clock", + "solana-pubkey", + "solana-rpc-client-types", + "solana-signature", + "thiserror 2.0.18", + "tokio", + "tokio-stream", + "tokio-tungstenite", + "tungstenite", + "url", +] + +[[package]] +name = "solana-quic-client" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44feb5f4a97494459c435aa56de810500cc24e22d0afc632990a8e54a07c05a4" +dependencies = [ + "async-lock", + "async-trait", + "futures", + "itertools 0.12.1", + "log", + "quinn", + "quinn-proto", + "rustls 0.23.40", + "solana-connection-cache", + "solana-keypair", + "solana-measure", + "solana-metrics", + "solana-net-utils", + "solana-pubkey", + "solana-quic-definitions", + "solana-rpc-client-api", + "solana-signer", + "solana-streamer", + "solana-tls-utils", + "solana-transaction-error", + "thiserror 2.0.18", + "tokio", +] + +[[package]] +name = "solana-quic-definitions" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbf0d4d5b049eb1d0c35f7b18f305a27c8986fc5c0c9b383e97adaa35334379e" +dependencies = [ + "solana-keypair", +] + +[[package]] +name = "solana-rayon-threadlimit" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02cc2a4cae3ef7bb6346b35a60756d2622c297d5fa204f96731db9194c0dc75b" +dependencies = [ + "num_cpus", +] + +[[package]] +name = "solana-rent" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1aea8fdea9de98ca6e8c2da5827707fb3842833521b528a713810ca685d2480" +dependencies = [ + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-sysvar-id", +] + +[[package]] +name = "solana-rent-collector" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "127e6dfa51e8c8ae3aa646d8b2672bc4ac901972a338a9e1cd249e030564fb9d" +dependencies = [ + "serde", + "serde_derive", + "solana-account", + "solana-clock", + "solana-epoch-schedule", + "solana-genesis-config", + "solana-pubkey", + "solana-rent", + "solana-sdk-ids", +] + +[[package]] +name = "solana-rent-debits" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f6f9113c6003492e74438d1288e30cffa8ccfdc2ef7b49b9e816d8034da18cd" +dependencies = [ + "solana-pubkey", + "solana-reward-info", +] + +[[package]] +name = "solana-reserved-account-keys" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4b22ea19ca2a3f28af7cd047c914abf833486bf7a7c4a10fc652fff09b385b1" +dependencies = [ + "lazy_static", + "solana-feature-set", + "solana-pubkey", + "solana-sdk-ids", +] + +[[package]] +name = "solana-reward-info" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18205b69139b1ae0ab8f6e11cdcb627328c0814422ad2482000fa2ca54ae4a2f" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "solana-rpc-client" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8d3161ac0918178e674c1f7f1bfac40de3e7ed0383bd65747d63113c156eaeb" +dependencies = [ + "async-trait", + "base64 0.22.1", + "bincode", + "bs58", + "futures", + "indicatif", + "log", + "reqwest", + "reqwest-middleware", + "semver 1.0.28", + "serde", + "serde_derive", + "serde_json", + "solana-account", + "solana-account-decoder-client-types", + "solana-clock", + "solana-commitment-config", + "solana-epoch-info", + "solana-epoch-schedule", + "solana-feature-gate-interface", + "solana-hash", + "solana-instruction", + "solana-message", + "solana-pubkey", + "solana-rpc-client-api", + "solana-signature", + "solana-transaction", + "solana-transaction-error", + "solana-transaction-status-client-types", + "solana-version", + "solana-vote-interface", + "tokio", +] + +[[package]] +name = "solana-rpc-client-api" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dbc138685c79d88a766a8fd825057a74ea7a21e1dd7f8de275ada899540fff7" +dependencies = [ + "anyhow", + "jsonrpc-core", + "reqwest", + "reqwest-middleware", + "serde", + "serde_derive", + "serde_json", + "solana-account-decoder-client-types", + "solana-clock", + "solana-rpc-client-types", + "solana-signer", + "solana-transaction-error", + "solana-transaction-status-client-types", + "thiserror 2.0.18", +] + +[[package]] +name = "solana-rpc-client-nonce-utils" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f0ee41b9894ff36adebe546a110b899b0d0294b07845d8acdc73822e6af4b0" +dependencies = [ + "solana-account", + "solana-commitment-config", + "solana-hash", + "solana-message", + "solana-nonce", + "solana-pubkey", + "solana-rpc-client", + "solana-sdk-ids", + "thiserror 2.0.18", +] + +[[package]] +name = "solana-rpc-client-types" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ea428a81729255d895ea47fba9b30fd4dacbfe571a080448121bd0592751676" +dependencies = [ + "base64 0.22.1", + "bs58", + "semver 1.0.28", + "serde", + "serde_derive", + "serde_json", + "solana-account", + "solana-account-decoder-client-types", + "solana-clock", + "solana-commitment-config", + "solana-fee-calculator", + "solana-inflation", + "solana-pubkey", + "solana-transaction-error", + "solana-transaction-status-client-types", + "solana-version", + "spl-generic-token", + "thiserror 2.0.18", +] + +[[package]] +name = "solana-sanitize" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61f1bc1357b8188d9c4a3af3fc55276e56987265eb7ad073ae6f8180ee54cecf" + +[[package]] +name = "solana-sdk" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cc0e4a7635b902791c44b6581bfb82f3ada32c5bc0929a64f39fe4bb384c86a" +dependencies = [ + "bincode", + "bs58", + "getrandom 0.1.16", + "js-sys", + "serde", + "serde_json", + "solana-account", + "solana-bn254", + "solana-client-traits", + "solana-cluster-type", + "solana-commitment-config", + "solana-compute-budget-interface", + "solana-decode-error", + "solana-derivation-path", + "solana-ed25519-program", + "solana-epoch-info", + "solana-epoch-rewards-hasher", + "solana-feature-set", + "solana-fee-structure", + "solana-genesis-config", + "solana-hard-forks", + "solana-inflation", + "solana-instruction", + "solana-keypair", + "solana-message", + "solana-native-token", + "solana-nonce-account", + "solana-offchain-message", + "solana-packet", + "solana-poh-config", + "solana-precompile-error", + "solana-precompiles", + "solana-presigner", + "solana-program", + "solana-program-memory", + "solana-pubkey", + "solana-quic-definitions", + "solana-rent-collector", + "solana-rent-debits", + "solana-reserved-account-keys", + "solana-reward-info", + "solana-sanitize", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-secp256k1-program", + "solana-secp256k1-recover", + "solana-secp256r1-program", + "solana-seed-derivable", + "solana-seed-phrase", + "solana-serde", + "solana-serde-varint", + "solana-short-vec", + "solana-shred-version", + "solana-signature", + "solana-signer", + "solana-system-transaction", + "solana-time-utils", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", + "solana-validator-exit", + "thiserror 2.0.18", + "wasm-bindgen", +] + +[[package]] +name = "solana-sdk-ids" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c5d8b9cc68d5c88b062a33e23a6466722467dde0035152d8fb1afbcdf350a5f" +dependencies = [ + "solana-pubkey", +] + +[[package]] +name = "solana-sdk-macro" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86280da8b99d03560f6ab5aca9de2e38805681df34e0bb8f238e69b29433b9df" +dependencies = [ + "bs58", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "solana-secp256k1-program" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f19833e4bc21558fe9ec61f239553abe7d05224347b57d65c2218aeeb82d6149" +dependencies = [ + "bincode", + "digest 0.10.7", + "libsecp256k1", + "serde", + "serde_derive", + "sha3", + "solana-feature-set", + "solana-instruction", + "solana-precompile-error", + "solana-sdk-ids", + "solana-signature", +] + +[[package]] +name = "solana-secp256k1-recover" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa3120b6cdaa270f39444f5093a90a7b03d296d362878f7a6991d6de3bbe496" +dependencies = [ + "borsh 1.6.1", + "libsecp256k1", + "solana-define-syscall", + "thiserror 2.0.18", +] + +[[package]] +name = "solana-secp256r1-program" +version = "2.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce0ae46da3071a900f02d367d99b2f3058fe2e90c5062ac50c4f20cfedad8f0f" +dependencies = [ + "bytemuck", + "openssl", + "solana-feature-set", + "solana-instruction", + "solana-precompile-error", + "solana-sdk-ids", +] + +[[package]] +name = "solana-seed-derivable" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beb82b5adb266c6ea90e5cf3967235644848eac476c5a1f2f9283a143b7c97f" +dependencies = [ + "solana-derivation-path", +] + +[[package]] +name = "solana-seed-phrase" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36187af2324f079f65a675ec22b31c24919cb4ac22c79472e85d819db9bbbc15" +dependencies = [ + "hmac 0.12.1", + "pbkdf2 0.11.0", + "sha2 0.10.9", +] + +[[package]] +name = "solana-serde" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1931484a408af466e14171556a47adaa215953c7f48b24e5f6b0282763818b04" +dependencies = [ + "serde", +] + +[[package]] +name = "solana-serde-varint" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a7e155eba458ecfb0107b98236088c3764a09ddf0201ec29e52a0be40857113" +dependencies = [ + "serde", +] + +[[package]] +name = "solana-serialize-utils" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "817a284b63197d2b27afdba829c5ab34231da4a9b4e763466a003c40ca4f535e" +dependencies = [ + "solana-instruction", + "solana-pubkey", + "solana-sanitize", +] + +[[package]] +name = "solana-sha256-hasher" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa3feb32c28765f6aa1ce8f3feac30936f16c5c3f7eb73d63a5b8f6f8ecdc44" +dependencies = [ + "sha2 0.10.9", + "solana-define-syscall", + "solana-hash", +] + +[[package]] +name = "solana-short-vec" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c54c66f19b9766a56fa0057d060de8378676cb64987533fa088861858fc5a69" +dependencies = [ + "serde", +] + +[[package]] +name = "solana-shred-version" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afd3db0461089d1ad1a78d9ba3f15b563899ca2386351d38428faa5350c60a98" +dependencies = [ + "solana-hard-forks", + "solana-hash", + "solana-sha256-hasher", +] + +[[package]] +name = "solana-signature" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64c8ec8e657aecfc187522fc67495142c12f35e55ddeca8698edbb738b8dbd8c" +dependencies = [ + "ed25519-dalek 1.0.1", + "five8", + "rand 0.8.6", + "serde", + "serde-big-array", + "serde_derive", + "solana-sanitize", +] + +[[package]] +name = "solana-signer" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c41991508a4b02f021c1342ba00bcfa098630b213726ceadc7cb032e051975b" +dependencies = [ + "solana-pubkey", + "solana-signature", + "solana-transaction-error", +] + +[[package]] +name = "solana-slot-hashes" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c8691982114513763e88d04094c9caa0376b867a29577939011331134c301ce" +dependencies = [ + "serde", + "serde_derive", + "solana-hash", + "solana-sdk-ids", + "solana-sysvar-id", +] + +[[package]] +name = "solana-slot-history" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97ccc1b2067ca22754d5283afb2b0126d61eae734fc616d23871b0943b0d935e" +dependencies = [ + "bv", + "serde", + "serde_derive", + "solana-sdk-ids", + "solana-sysvar-id", +] + +[[package]] +name = "solana-stable-layout" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f14f7d02af8f2bc1b5efeeae71bc1c2b7f0f65cd75bcc7d8180f2c762a57f54" +dependencies = [ + "solana-instruction", + "solana-pubkey", +] + +[[package]] +name = "solana-stake-interface" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5269e89fde216b4d7e1d1739cf5303f8398a1ff372a81232abbee80e554a838c" +dependencies = [ + "borsh 0.10.4", + "borsh 1.6.1", + "num-traits", + "serde", + "serde_derive", + "solana-clock", + "solana-cpi", + "solana-decode-error", + "solana-instruction", + "solana-program-error", + "solana-pubkey", + "solana-system-interface", + "solana-sysvar-id", +] + +[[package]] +name = "solana-streamer" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5643516e5206b89dd4bdf67c39815606d835a51a13260e43349abdb92d241b1d" +dependencies = [ + "async-channel", + "bytes", + "crossbeam-channel", + "dashmap 5.5.3", + "futures", + "futures-util", + "governor", + "histogram", + "indexmap 2.14.0", + "itertools 0.12.1", + "libc", + "log", + "nix 0.30.1", + "pem 1.1.1", + "percentage", + "quinn", + "quinn-proto", + "rand 0.8.6", + "rustls 0.23.40", + "smallvec", + "socket2 0.5.10", + "solana-keypair", + "solana-measure", + "solana-metrics", + "solana-net-utils", + "solana-packet", + "solana-perf", + "solana-pubkey", + "solana-quic-definitions", + "solana-signature", + "solana-signer", + "solana-time-utils", + "solana-tls-utils", + "solana-transaction-error", + "solana-transaction-metrics-tracker", + "thiserror 2.0.18", + "tokio", + "tokio-util", + "x509-parser", +] + +[[package]] +name = "solana-svm-feature-set" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f24b836eb4d74ec255217bdbe0f24f64a07adeac31aca61f334f91cd4a3b1d5" + +[[package]] +name = "solana-system-interface" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94d7c18cb1a91c6be5f5a8ac9276a1d7c737e39a21beba9ea710ab4b9c63bc90" +dependencies = [ + "js-sys", + "num-traits", + "serde", + "serde_derive", + "solana-decode-error", + "solana-instruction", + "solana-pubkey", + "wasm-bindgen", +] + +[[package]] +name = "solana-system-transaction" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bd98a25e5bcba8b6be8bcbb7b84b24c2a6a8178d7fb0e3077a916855ceba91a" +dependencies = [ + "solana-hash", + "solana-keypair", + "solana-message", + "solana-pubkey", + "solana-signer", + "solana-system-interface", + "solana-transaction", +] + +[[package]] +name = "solana-sysvar" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8c3595f95069f3d90f275bb9bd235a1973c4d059028b0a7f81baca2703815db" +dependencies = [ + "base64 0.22.1", + "bincode", + "bytemuck", + "bytemuck_derive", + "lazy_static", + "serde", + "serde_derive", + "solana-account-info", + "solana-clock", + "solana-define-syscall", + "solana-epoch-rewards", + "solana-epoch-schedule", + "solana-fee-calculator", + "solana-hash", + "solana-instruction", + "solana-instructions-sysvar", + "solana-last-restart-slot", + "solana-program-entrypoint", + "solana-program-error", + "solana-program-memory", + "solana-pubkey", + "solana-rent", + "solana-sanitize", + "solana-sdk-ids", + "solana-sdk-macro", + "solana-slot-hashes", + "solana-slot-history", + "solana-stake-interface", + "solana-sysvar-id", +] + +[[package]] +name = "solana-sysvar-id" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5762b273d3325b047cfda250787f8d796d781746860d5d0a746ee29f3e8812c1" +dependencies = [ + "solana-pubkey", + "solana-sdk-ids", +] + +[[package]] +name = "solana-thin-client" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c1025715a113e0e2e379b30a6bfe4455770dc0759dabf93f7dbd16646d5acbe" +dependencies = [ + "bincode", + "log", + "rayon", + "solana-account", + "solana-client-traits", + "solana-clock", + "solana-commitment-config", + "solana-connection-cache", + "solana-epoch-info", + "solana-hash", + "solana-instruction", + "solana-keypair", + "solana-message", + "solana-pubkey", + "solana-rpc-client", + "solana-rpc-client-api", + "solana-signature", + "solana-signer", + "solana-system-interface", + "solana-transaction", + "solana-transaction-error", +] + +[[package]] +name = "solana-time-utils" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6af261afb0e8c39252a04d026e3ea9c405342b08c871a2ad8aa5448e068c784c" + +[[package]] +name = "solana-tls-utils" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14494aa87a75a883d1abcfee00f1278a28ecc594a2f030084879eb40570728f6" +dependencies = [ + "rustls 0.23.40", + "solana-keypair", + "solana-pubkey", + "solana-signer", + "x509-parser", +] + +[[package]] +name = "solana-tpu-client" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17895ce70fd1dd93add3fbac87d599954ded93c63fa1c66f702d278d96a6da14" +dependencies = [ + "async-trait", + "bincode", + "futures-util", + "indexmap 2.14.0", + "indicatif", + "log", + "rayon", + "solana-client-traits", + "solana-clock", + "solana-commitment-config", + "solana-connection-cache", + "solana-epoch-schedule", + "solana-measure", + "solana-message", + "solana-net-utils", + "solana-pubkey", + "solana-pubsub-client", + "solana-quic-definitions", + "solana-rpc-client", + "solana-rpc-client-api", + "solana-signature", + "solana-signer", + "solana-transaction", + "solana-transaction-error", + "thiserror 2.0.18", + "tokio", +] + +[[package]] +name = "solana-transaction" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80657d6088f721148f5d889c828ca60c7daeedac9a8679f9ec215e0c42bcbf41" +dependencies = [ + "bincode", + "serde", + "serde_derive", + "solana-bincode", + "solana-feature-set", + "solana-hash", + "solana-instruction", + "solana-keypair", + "solana-message", + "solana-precompiles", + "solana-pubkey", + "solana-sanitize", + "solana-sdk-ids", + "solana-short-vec", + "solana-signature", + "solana-signer", + "solana-system-interface", + "solana-transaction-error", + "wasm-bindgen", +] + +[[package]] +name = "solana-transaction-context" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54a312304361987a85b2ef2293920558e6612876a639dd1309daf6d0d59ef2fe" +dependencies = [ + "bincode", + "serde", + "serde_derive", + "solana-account", + "solana-instruction", + "solana-instructions-sysvar", + "solana-pubkey", + "solana-rent", + "solana-sdk-ids", +] + +[[package]] +name = "solana-transaction-error" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "222a9dc8fdb61c6088baab34fc3a8b8473a03a7a5fd404ed8dd502fa79b67cb1" +dependencies = [ + "serde", + "serde_derive", + "solana-instruction", + "solana-sanitize", +] + +[[package]] +name = "solana-transaction-metrics-tracker" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03fc4e1b6252dc724f5ee69db6229feb43070b7318651580d2174da8baefb993" +dependencies = [ + "base64 0.22.1", + "bincode", + "log", + "rand 0.8.6", + "solana-packet", + "solana-perf", + "solana-short-vec", + "solana-signature", +] + +[[package]] +name = "solana-transaction-status-client-types" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51f1d7c2387c35850848212244d2b225847666cb52d3bd59a5c409d2c300303d" +dependencies = [ + "base64 0.22.1", + "bincode", + "bs58", + "serde", + "serde_derive", + "serde_json", + "solana-account-decoder-client-types", + "solana-commitment-config", + "solana-message", + "solana-reward-info", + "solana-signature", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", + "thiserror 2.0.18", +] + +[[package]] +name = "solana-udp-client" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dd36227dd3035ac09a89d4239551d2e3d7d9b177b61ccc7c6d393c3974d0efa" +dependencies = [ + "async-trait", + "solana-connection-cache", + "solana-keypair", + "solana-net-utils", + "solana-streamer", + "solana-transaction-error", + "thiserror 2.0.18", + "tokio", +] + +[[package]] +name = "solana-validator-exit" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bbf6d7a3c0b28dd5335c52c0e9eae49d0ae489a8f324917faf0ded65a812c1d" + +[[package]] +name = "solana-version" +version = "2.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3324d46c7f7b7f5d34bf7dc71a2883bdc072c7b28ca81d0b2167ecec4cf8da9f" +dependencies = [ + "agave-feature-set", + "rand 0.8.6", + "semver 1.0.28", + "serde", + "serde_derive", + "solana-sanitize", + "solana-serde-varint", +] + +[[package]] +name = "solana-vote-interface" +version = "2.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b80d57478d6599d30acc31cc5ae7f93ec2361a06aefe8ea79bc81739a08af4c3" +dependencies = [ + "bincode", + "num-derive", + "num-traits", + "serde", + "serde_derive", + "solana-clock", + "solana-decode-error", + "solana-hash", + "solana-instruction", + "solana-pubkey", + "solana-rent", + "solana-sdk-ids", + "solana-serde-varint", + "solana-serialize-utils", + "solana-short-vec", + "solana-system-interface", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "spinning_top" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" +dependencies = [ + "lock_api", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "spl-generic-token" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "741a62a566d97c58d33f9ed32337ceedd4e35109a686e31b1866c5dfa56abddc" +dependencies = [ + "bytemuck", + "solana-pubkey", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn-solidity" +version = "0.8.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab4e6eed052a117409a1a744c8bda9c3ea6934597cf7419f791cb7d590871c4c" +dependencies = [ + "paste", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", + "unicode-xid", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.2", + "once_cell", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" +dependencies = [ + "thiserror-impl 2.0.18", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "thread_local" +version = "1.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "threadpool" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" +dependencies = [ + "num_cpus", +] + +[[package]] +name = "time" +version = "0.3.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca" + +[[package]] +name = "time-macros" +version = "0.2.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "tinystr" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.52.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2 0.6.3", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tokio-native-tls" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" +dependencies = [ + "native-tls", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.12", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" +dependencies = [ + "rustls 0.23.40", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", + "tokio-util", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" +dependencies = [ + "futures-util", + "log", + "rustls 0.21.12", + "tokio", + "tokio-rustls 0.24.1", + "tungstenite", + "webpki-roots 0.25.4", +] + +[[package]] +name = "tokio-util" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_datetime" +version = "1.1.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.11+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b59c4d22ed448339746c59b905d24568fcbb3ab65a500494f7b8c3e97739f2b" +dependencies = [ + "indexmap 2.14.0", + "toml_datetime", + "toml_parser", + "winnow 1.0.3", +] + +[[package]] +name = "toml_parser" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" +dependencies = [ + "winnow 1.0.3", +] + +[[package]] +name = "tonic" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" +dependencies = [ + "async-stream", + "async-trait", + "axum", + "base64 0.22.1", + "bytes", + "h2", + "http 1.4.0", + "http-body 1.0.1", + "http-body-util", + "hyper", + "hyper-timeout", + "hyper-util", + "percent-encoding", + "pin-project 1.1.13", + "prost 0.13.5", + "rustls-native-certs", + "rustls-pemfile", + "socket2 0.5.10", + "tokio", + "tokio-rustls 0.26.4", + "tokio-stream", + "tower 0.4.13", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +dependencies = [ + "futures-core", + "futures-util", + "indexmap 1.9.3", + "pin-project 1.1.13", + "pin-project-lite", + "rand 0.8.6", + "slab", + "tokio", + "tokio-util", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "async-compression", + "bitflags 2.11.1", + "bytes", + "futures-core", + "futures-util", + "http 1.4.0", + "http-body 1.0.1", + "http-body-util", + "pin-project-lite", + "tokio", + "tokio-util", + "tower 0.5.3", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tower-util" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1093c19826d33807c72511e68f73b4a0469a3f22c2bd5f7d5212178b4b89674" +dependencies = [ + "futures-core", + "futures-util", + "pin-project 0.4.30", + "tower-service", +] + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 0.2.12", + "httparse", + "log", + "rand 0.8.6", + "rustls 0.21.12", + "sha1", + "thiserror 1.0.69", + "url", + "utf-8", + "webpki-roots 0.24.0", +] + +[[package]] +name = "typenum" +version = "1.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" + +[[package]] +name = "ucd-trie" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" + +[[package]] +name = "uint" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + +[[package]] +name = "unicase" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142" + +[[package]] +name = "unicode-ident" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" + +[[package]] +name = "unicode-segmentation" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" + +[[package]] +name = "unicode-width" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "uriparse" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0200d0fc04d809396c2ad43f3c95da3582a2556eba8d453c1087f4120ee352ff" +dependencies = [ + "fnv", + "lazy_static", +] + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "uuid" +version = "1.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76" +dependencies = [ + "getrandom 0.4.2", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "vsimd" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64" + +[[package]] +name = "wait-timeout" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.3+wasi-0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6" +dependencies = [ + "wit-bindgen 0.57.1", +] + +[[package]] +name = "wasip3" +version = "0.4.0+wasi-0.3.0-rc-2026-01-06" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" +dependencies = [ + "wit-bindgen 0.51.0", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.121" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49ace1d07c165b0864824eee619580c4689389afa9dc9ed3a4c75040d82e6790" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.71" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96492d0d3ffba25305a7dc88720d250b1401d7edca02cc3bcd50633b424673b8" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.121" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e68e6f4afd367a562002c05637acb8578ff2dea1943df76afb9e83d177c8578" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.121" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d95a9ec35c64b2a7cb35d3fead40c4238d0940c86d107136999567a4703259f2" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 2.0.117", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.121" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4e0100b01e9f0d03189a92b96772a1fb998639d981193d7dbab487302513441" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-encoder" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +dependencies = [ + "leb128fmt", + "wasmparser", +] + +[[package]] +name = "wasm-metadata" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" +dependencies = [ + "anyhow", + "indexmap 2.14.0", + "wasm-encoder", + "wasmparser", +] + +[[package]] +name = "wasm-streams" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "wasmparser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +dependencies = [ + "bitflags 2.11.1", + "hashbrown 0.15.5", + "indexmap 2.14.0", + "semver 1.0.28", +] + +[[package]] +name = "wasmtimer" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c598d6b99ea013e35844697fc4670d08339d5cda15588f193c6beedd12f644b" +dependencies = [ + "futures", + "js-sys", + "parking_lot", + "pin-utils", + "slab", + "wasm-bindgen", +] + +[[package]] +name = "web-sys" +version = "0.3.98" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b572dff8bcf38bad0fa19729c89bb5748b2b9b1d8be70cf90df697e3a8f32aa" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31141ce3fc3e300ae89b78c0dd67f9708061d1d2eda54b8209346fd6be9a92c" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "webpki-roots" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b291546d5d9d1eab74f069c77749f2cb8504a12caa20f0f2de93ddbf6f411888" +dependencies = [ + "rustls-webpki 0.101.7", +] + +[[package]] +name = "webpki-roots" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + +[[package]] +name = "webpki-roots" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52f5ee44c96cf55f1b349600768e3ece3a8f26010c05265ab73f945bb1a2eb9d" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm 0.52.6", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "winnow" +version = "0.7.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1" +dependencies = [ + "memchr", +] + +[[package]] +name = "wit-bindgen" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" +dependencies = [ + "wit-bindgen-rust-macro", +] + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "wit-bindgen-core" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" +dependencies = [ + "anyhow", + "heck", + "wit-parser", +] + +[[package]] +name = "wit-bindgen-rust" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" +dependencies = [ + "anyhow", + "heck", + "indexmap 2.14.0", + "prettyplease", + "syn 2.0.117", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", +] + +[[package]] +name = "wit-bindgen-rust-macro" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" +dependencies = [ + "anyhow", + "prettyplease", + "proc-macro2", + "quote", + "syn 2.0.117", + "wit-bindgen-core", + "wit-bindgen-rust", +] + +[[package]] +name = "wit-component" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" +dependencies = [ + "anyhow", + "bitflags 2.11.1", + "indexmap 2.14.0", + "log", + "serde", + "serde_derive", + "serde_json", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", +] + +[[package]] +name = "wit-parser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.14.0", + "log", + "semver 1.0.28", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser", +] + +[[package]] +name = "writeable" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" + +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + +[[package]] +name = "x509-parser" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" +dependencies = [ + "asn1-rs", + "base64 0.13.1", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "rusticata-macros", + "thiserror 1.0.69", + "time", +] + +[[package]] +name = "yoke" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "synstructure 0.13.2", +] + +[[package]] +name = "zerocopy" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "synstructure 0.13.2", +] + +[[package]] +name = "zeroize" +version = "1.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85a5b4158499876c763cb03bc4e49185d3cccbabb15b33c627f7884f43db852e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "zerotrie" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "zmij" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" + +[[package]] +name = "zstd" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "7.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" +dependencies = [ + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.0.16+zstd.1.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" +dependencies = [ + "cc", + "pkg-config", +] diff --git a/examples/rust-server-wallets/Cargo.toml b/examples/rust-server-wallets/Cargo.toml new file mode 100644 index 0000000..e77718d --- /dev/null +++ b/examples/rust-server-wallets/Cargo.toml @@ -0,0 +1,137 @@ +[package] +name = "rust-server-wallets" +version = "0.1.0" +edition = "2021" +rust-version = "1.90" +license = "Apache-2.0" +description = "Server-side wallet management examples using the Dynamic Rust SDK." +publish = false + +[lib] +name = "rust_server_wallets" +path = "src/lib.rs" + +[dependencies] +# Dynamic Rust SDK — published on crates.io. Pinned with `=` while the +# SDK is still in 0.0.x; minor bumps may be breaking until 0.1.0. +dynamic-waas-sdk = "=0.0.3" +dynamic-waas-sdk-evm = "=0.0.3" +dynamic-waas-sdk-svm = "=0.0.3" + +# Async runtime / utilities. +tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "sync", "signal"] } +futures = "0.3" + +# CLI parsing — small and well-known. +clap = { version = "4", features = ["derive"] } + +# Env loading. +dotenvy = "0.15" + +# JSON storage + (de)serialisation. +serde = { version = "1", features = ["derive"] } +serde_json = "1" + +# Logging. +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } + +# Hex + base58 for stash/display. +hex = "0.4" +bs58 = "0.5" + +# Solana transactions serialise via bincode — same convention solana-sdk +# uses internally and the wire format the cluster expects. +bincode = "1.3" + +# Time. +chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } + +# Error handling. +anyhow = "1" +thiserror = "2" + +# `rand` for the omnibus demo (random USDC amounts). +rand = "0.9" + +# alloy — EVM types, EIP-712 hashing, RLP tx encoding, JSON-RPC provider. +# Features: +# * consensus / network / rpc-types-eth — TxLegacy + Signed + RPC types +# * provider-http / transport-http — broadcast against EVM_RPC_URL +# * dyn-abi-eip712 — runtime EIP-712 hashing +alloy = { version = "0.8", features = [ + "consensus", + "network", + "rpc-types-eth", + "provider-http", + "providers", + "transport-http", + "dyn-abi", + "eip712", + "eips", + "k256", + "rlp", +] } + +# Solana SDK + JSON-RPC client. Mirrors the `gagliardetto/solana-go` +# choice in the Go example. +solana-sdk = "2" +solana-client = "2" + +# k256 — ECDSA recovery for off-chain signature verification in the +# smoke test. ed25519-dalek — Ed25519 signature verification for Solana +# off-chain verification. +k256 = { version = "0.13", default-features = false, features = ["ecdsa"] } +ed25519-dalek = "2" + +[[bin]] +name = "evm-wallet" +path = "src/bin/evm-wallet.rs" + +[[bin]] +name = "evm-sign-message" +path = "src/bin/evm-sign-message.rs" + +[[bin]] +name = "evm-sign-typed-data" +path = "src/bin/evm-sign-typed-data.rs" + +[[bin]] +name = "evm-sign-transaction" +path = "src/bin/evm-sign-transaction.rs" + +[[bin]] +name = "evm-send-transaction" +path = "src/bin/evm-send-transaction.rs" + +[[bin]] +name = "evm-recover-key-shares" +path = "src/bin/evm-recover-key-shares.rs" + +[[bin]] +name = "svm-wallet" +path = "src/bin/svm-wallet.rs" + +[[bin]] +name = "svm-sign-message" +path = "src/bin/svm-sign-message.rs" + +[[bin]] +name = "svm-sign-transaction" +path = "src/bin/svm-sign-transaction.rs" + +[[bin]] +name = "svm-send-transaction" +path = "src/bin/svm-send-transaction.rs" + +[[bin]] +name = "delegated-sign-message" +path = "src/bin/delegated-sign-message.rs" + +[[bin]] +name = "delegated-decrypt-webhook" +path = "src/bin/delegated-decrypt-webhook.rs" + +[[bin]] +name = "omnibus-sweep" +path = "src/bin/omnibus-sweep.rs" diff --git a/examples/rust-server-wallets/README.md b/examples/rust-server-wallets/README.md new file mode 100644 index 0000000..13e5ed6 --- /dev/null +++ b/examples/rust-server-wallets/README.md @@ -0,0 +1,366 @@ +# Dynamic Rust Server-Side Wallet Management + +Server-side wallet management examples using Dynamic's Rust SDK +(`dynamic-waas-sdk`, `dynamic-waas-sdk-evm`, `dynamic-waas-sdk-svm`). +Demonstrates wallet creation, message signing, delegated wallet +operations, and webhook decryption. + +> This example targets the v1 **stateless** SDK surface: every operation +> that touches an existing wallet takes explicit `WalletProperties` + +> `Vec` parameters. The SDK never holds per-wallet state +> across calls. + +## Rust SDK Status (0.0.x) + +The Rust SDK is published on crates.io as `0.0.3` (still pre-stable — +minor bumps may break compatibility until `0.1.0`). The high-level +chain-client wrappers (`DynamicEvmWalletClient`, `DynamicSvmWalletClient`) +only expose `create_wallet_account`, `sign_message`, and +`export_private_key` today, **but** the lower-level orchestration +primitives (`run_sign_ecdsa`, `run_sign_ed25519`, +`run_recover_key_shares`) are public and let you build everything else. + +This example uses those primitives to implement the **full** Python / Go +parity surface: + +| Capability | Implementation | +| --------------------------- | ------------------------------------------------------- | +| EVM `sign_typed_data` | EIP-712 hash via `alloy::dyn_abi::TypedData` → `run_sign_ecdsa` | +| EVM `sign_transaction` | `TxLegacy::signature_hash()` → `run_sign_ecdsa` → `TxEnvelope::encoded_2718()` | +| EVM `send_transaction` | Above + broadcast via `alloy::providers::ProviderBuilder` | +| SVM `sign_transaction` | `solana_sdk::Message::serialize()` → `run_sign_ed25519` | +| SVM `send_transaction` | Above + broadcast via `solana_client::RpcClient` | +| EVM `run_recover_key_shares`| Real impl using the top-level orchestrator | +| `decrypt_delegated_webhook_data` | Direct passthrough to the SDK | +| `sponsor_transaction` (SVM) | **Not** wired in — SDK doesn't expose it yet | + +When the SDK ships the high-level chain-client equivalents in a future +release, the binaries in `src/bin/` can be migrated from the primitive +calls to the wrapper calls without changing the example layout. + +> **Signing transactions and typed data in 0.0.3.** The chain-client +> convenience methods `sign_transaction` and `sign_typed_data` aren't on +> `DynamicEvmWalletClient` / `DynamicSvmWalletClient` yet, but the +> underlying MPC orchestrators are public and ready to use: +> +> - **EVM** — `run_sign_ecdsa` + `SignOpts` + `mpc_config::EVM_DERIVATION_PATH`. +> Compute the digest yourself (EIP-191 personal_sign, EIP-712 typed-data +> hash, or a legacy / EIP-1559 tx signing hash), sign it, then assemble +> `(r, s, v)` with your tx encoder. See `src/bin/evm-sign-transaction.rs` +> and `src/bin/evm-sign-typed-data.rs`. +> - **SVM** — `run_sign_ed25519` + `SignOptsEd25519`. Pass the raw bytes +> you want signed (e.g. a serialized Solana transaction message). See +> `src/bin/svm-sign-transaction.rs`. +> +> Footgun warning: get the derivation path, the digest, or the +> `is_formatted` flag wrong and you'll produce a syntactically valid +> signature that recovers to the wrong address. Every binary here +> verifies by recovering the signer and asserting it matches +> `wp.account_address` before treating the signature as good — copy that +> pattern. + +## Project Structure + +``` +rust-server-wallets/ +├── Cargo.toml # Workspace + bin definitions +├── .env.example +├── wallet.json.example # Template for delegated credentials +└── src/ + ├── lib.rs # Module wiring + ├── cli.rs # Tokio runtime + tracing init + ├── config.rs # .env loading + constants + ├── delegated.rs # wallet.json loader + ├── dynamic.rs # Client factories + ├── storage.rs # Local JSON store (.wallets.json) + ├── utils.rs # Address formatting + explorer links + ├── walletops.rs # Get-or-create helpers + └── bin/ + ├── evm-wallet.rs # create / list / delete EVM wallets + ├── evm-sign-message.rs # EIP-191 personal_sign + ├── evm-sign-typed-data.rs # EIP-712 typed-data signing + ├── evm-sign-transaction.rs # Sign legacy tx, no broadcast + ├── evm-send-transaction.rs # Sign + broadcast (Base Sepolia) + ├── evm-recover-key-shares.rs # Recover shares from password backup + ├── svm-wallet.rs # create / list / delete SVM wallets + ├── svm-sign-message.rs # Ed25519 message signing (base58) + ├── svm-sign-transaction.rs # Sign Solana tx, no broadcast + ├── svm-send-transaction.rs # Sign + broadcast (Solana devnet) + ├── delegated-sign-message.rs # Sign via a delegated wallet + ├── delegated-decrypt-webhook.rs # Unwrap encrypted webhook payload + └── omnibus-sweep.rs # Parallel wallet creation + signing +``` + +## SDK Method Coverage + +| SDK method | Demonstrated by | +| ------------------------------------------ | -------------------------------- | +| `DynamicWalletClient::authenticate_api_token` | `src/dynamic.rs` | +| EVM `create_wallet_account` | `src/bin/evm-wallet.rs` | +| EVM `sign_message` | `src/bin/evm-sign-message.rs` | +| SVM `create_wallet_account` | `src/bin/svm-wallet.rs` | +| SVM `sign_message` | `src/bin/svm-sign-message.rs` | +| `DelegatedEvmWalletClient::sign_message` | `src/bin/delegated-sign-message.rs` | +| `DelegatedSvmWalletClient::sign_message` | `src/bin/delegated-sign-message.rs` | +| `decrypt_delegated_webhook_data` | `src/bin/delegated-decrypt-webhook.rs` | +| `run_recover_key_shares` | `src/bin/evm-recover-key-shares.rs` | + +## Technical Stack + +- **[Dynamic Rust SDK](https://github.com/dynamic-labs/dynamic-waas-sdk/tree/main/rust)** + (`dynamic-waas-sdk`, `dynamic-waas-sdk-evm`, `dynamic-waas-sdk-svm`). +- **Rust 1.90+** (workspace requirement from the SDK). +- **Tokio** multi-thread runtime, **clap** for CLI parsing, **dotenvy** + for `.env` loading, **tracing** for logs. + +## Prerequisites + +- Rust 1.90 or later (install via [rustup.rs](https://rustup.rs/)). +- Dynamic API credentials ([app.dynamic.xyz](https://app.dynamic.xyz/)). +- Optional but recommended: + - An EVM RPC URL (Base Sepolia) for when send-transaction lands. + - A Solana devnet RPC URL for the SVM demos. + +## Setup + +### 1. Configure environment + +```bash +cp .env.example .env +# Edit .env with your credentials +``` + +Required: + +```env +DYNAMIC_API_TOKEN=your_dynamic_api_token +DYNAMIC_ENV_ID=your_environment_id + +# Optional — target preprod (defaults to production): +# DYNAMIC_BASE_API_URL=https://app.dynamic-preprod.xyz +``` + +### 2. Build + +```bash +cargo build +``` + +`Cargo.toml` pins `dynamic-waas-sdk*` to `=0.0.3` (the version this +example was authored against). When the SDK ships `0.1.0`, bump and +remove the `=` so cargo picks up patch updates. + +If you want to develop against an unreleased SDK branch, add a temporary +`[patch.crates-io]` block to `Cargo.toml`: + +```toml +[patch.crates-io] +dynamic-waas-sdk = { path = "../../../dynamic-waas-sdk/server-packages/rust/crates/dynamic-waas-sdk" } +dynamic-waas-sdk-evm = { path = "../../../dynamic-waas-sdk/server-packages/rust/crates/dynamic-waas-sdk-evm" } +dynamic-waas-sdk-svm = { path = "../../../dynamic-waas-sdk/server-packages/rust/crates/dynamic-waas-sdk-svm" } +``` + +## Running the Examples + +`cargo run --bin ` runs an individual binary. Pass arguments after +`--`: + +### EVM Wallet Management + +```bash +cargo run --bin evm-wallet -- --create +cargo run --bin evm-wallet -- --create --save +cargo run --bin evm-wallet -- --create --save --backup --password myPassword +cargo run --bin evm-wallet -- --list +cargo run --bin evm-wallet -- --delete 0x123... +``` + +### EVM Message Signing + +```bash +cargo run --bin evm-sign-message -- "Hello, World" +cargo run --bin evm-sign-message -- "Hello, World" --address 0x123... +``` + +### EVM Typed Data (EIP-712) + +```bash +cargo run --bin evm-sign-typed-data +cargo run --bin evm-sign-typed-data -- --address 0x123... +``` + +Computes the EIP-712 digest locally via `alloy::dyn_abi::TypedData`, +signs via the SDK's `run_sign_ecdsa`, and recovers the signer to verify. + +### EVM Transaction Signing (no broadcast) + +```bash +cargo run --bin evm-sign-transaction +cargo run --bin evm-sign-transaction -- --address 0x123... +``` + +Builds a `TxLegacy` (Base Sepolia), signs via `run_sign_ecdsa`, attaches +the `(r, s, v)`, and prints the raw EIP-2718-encoded transaction. + +### EVM Send Transaction (sign + broadcast) + +```bash +cargo run --bin evm-send-transaction +cargo run --bin evm-send-transaction -- --address 0x123... +``` + +Requires `EVM_RPC_URL` in `.env`. Fetches live nonce + gas price from the +RPC, signs, and broadcasts via `alloy::providers::ProviderBuilder`. + +### EVM Key Share Recovery + +```bash +cargo run --bin evm-recover-key-shares -- \ + --wallet-id \ + --password mySecretPassword \ + --key-share-id +``` + +`wallet-id` and `key-share-id` come from the original backup — the Node +and Python SDKs read them out of +`wallet_properties.external_server_key_shares_backup_info.backups["dynamic"]`. + +### Solana Wallet Management + +```bash +cargo run --bin svm-wallet -- --create --save +cargo run --bin svm-wallet -- --list +cargo run --bin svm-wallet -- --delete
+``` + +### Solana Message Signing + +```bash +cargo run --bin svm-sign-message -- "Hello, Solana" +cargo run --bin svm-sign-message -- "Hello, Solana" --address
+``` + +### Solana Transaction Signing (no broadcast) + +```bash +cargo run --bin svm-sign-transaction +cargo run --bin svm-sign-transaction -- --address
+``` + +Builds a 0-lamport self-transfer message via `solana_sdk`, signs via +`run_sign_ed25519`, and prints the wire transaction. + +### Solana Send Transaction (sign + broadcast) + +```bash +cargo run --bin svm-send-transaction +cargo run --bin svm-send-transaction -- --address
+``` + +Requires `SOLANA_RPC_URL` in `.env`. Fetches a fresh blockhash, signs, +and broadcasts via `solana_client::nonblocking::rpc_client::RpcClient`. + +> `--sponsored` is **not** supported — the Rust SDK 0.0.3 doesn't expose +> `sponsor_transaction` yet. + +### Delegated Wallet Operations + +Copy the credentials template and fill in the values produced by your +delegation webhook handler: + +```bash +cp wallet.json.example wallet.json +# Edit wallet.json with your delegated credentials +``` + +Then sign: + +```bash +cargo run --bin delegated-sign-message -- "Hello, World!" --wallet ./wallet.json +``` + +For decrypting webhook payloads: + +```bash +# Demo mode (no args): prints the API surface +cargo run --bin delegated-decrypt-webhook + +# Live decryption +cargo run --bin delegated-decrypt-webhook -- \ + --rsa-key ./private.pem \ + --payload ./webhook.json +``` + +### End-to-End: Omnibus Sweep + +```bash +cargo run --bin omnibus-sweep +cargo run --bin omnibus-sweep -- --wallets 20 +``` + +> The Rust version of this demo currently signs **messages** in place of +> transactions. Now that `evm-sign-transaction` works against the SDK, +> upgrading the omnibus demo to sign real ERC-20 transfers is a follow-up. + +### Smoke Test + +End-to-end verification mirroring `python-server-wallets/smoke_test.py`. +Walks the full lifecycle for each SDK surface (create, sign, verify +off-chain, EIP-712 typed data, transaction signing, storage round-trip, +recover-from-backup, threshold schemes), reporting PASS / FAIL per +sub-test. + +```bash +cargo run --example smoke_test # default: EVM + Solana +cargo run --example smoke_test -- --evm # EVM only +cargo run --example smoke_test -- --svm # Solana only +``` + +> Note: the Rust flag semantics differ from Python's `smoke_test.py`. +> Python uses `--svm` as **additive** ("EVM + Solana"); Rust treats +> `--evm` and `--svm` as **mutually exclusive filters** and runs both +> chains by default. + +Requires `DYNAMIC_API_TOKEN` and `DYNAMIC_ENV_ID` in `.env`. Each run +creates real MPC wallets against Dynamic — by default production. Set +`DYNAMIC_BASE_API_URL=https://app.dynamic-preprod.xyz` to target preprod. + +All sub-tests except SVM `sponsor_transaction` exercise real SDK paths — +including `sign_typed_data` and `sign_transaction` via the lower-level +orchestration primitives. See the +[SDK Status](#rust-sdk-status-00x) table for which wrappers are still +synthesised from `run_sign_ecdsa` / `run_sign_ed25519` directly. + +## Sample Output + +### Wallet Creation + +``` +Creating EVM server wallet (TWO_OF_TWO)... +Server wallet created in 2.34s +Address: 0x7E3629...5A02f0 +Wallet ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890 +Wallet saved to .wallets.json +``` + +### Message Signing + +``` +Signing message... + +Message signed in 1.45s +Message: "Hello, World" +Signature: 0xabc123...def456 +Signer: 0x7E3629...5A02f0 +``` + +## Production Notes + +- `.wallets.json` is **for testing only** — key shares are stored + unencrypted. In production, persist `WalletProperties` in your service + database and `Vec` in a KMS / Vault. +- Never commit `.env` or `wallet.json`. Both are in `.gitignore`. +- The `DecryptedWebhookData` type has a redacted `Debug` impl — prefer + `println!("{:?}", data)` over manual formatting that might log secrets. +- Pin the SDK to a tagged release once one is published; do not ship + against unreleased branches. diff --git a/examples/rust-server-wallets/examples/smoke_test.rs b/examples/rust-server-wallets/examples/smoke_test.rs new file mode 100644 index 0000000..00cbf19 --- /dev/null +++ b/examples/rust-server-wallets/examples/smoke_test.rs @@ -0,0 +1,1227 @@ +//! Rust port of `examples/python-server-wallets/smoke_test.py`. +//! +//! Runs the core SDK flows end-to-end against the real Dynamic API to +//! verify wallet creation, signing, persistence, and recovery work. Each +//! sub-test the Rust SDK can't fully exercise is reported as SKIP rather +//! than FAIL so the green/red signal stays meaningful as the SDK grows. +//! +//! Usage: +//! +//! cargo run --example smoke_test # default: EVM + Solana +//! cargo run --example smoke_test -- --evm # EVM only +//! cargo run --example smoke_test -- --svm # Solana only +//! +//! Note: the Rust flag semantics differ from the Python version. Python +//! uses `--svm` as additive ("EVM + Solana"); Rust treats `--evm` and +//! `--svm` as mutually exclusive filters and runs both chains by default. +//! Passing neither flag is the same as passing both. +//! +//! Requires `DYNAMIC_API_TOKEN` and `DYNAMIC_ENV_ID` in `.env` (or in the +//! environment). Hits Dynamic production by default — set +//! `DYNAMIC_BASE_API_URL=https://app.dynamic-preprod.xyz` to target preprod. +//! +//! WARNING: each run creates real wallets via MPC keygen and burns real +//! API quota. + +use std::path::{Path, PathBuf}; +use std::str::FromStr; +use std::time::Instant; + +use alloy::primitives::{eip191_hash_message, Address, PrimitiveSignature}; +use dynamic_waas_sdk::{DynamicWalletClient, ThresholdSignatureScheme}; +use dynamic_waas_sdk_evm::DynamicEvmWalletClient; +use dynamic_waas_sdk_svm::DynamicSvmWalletClient; + +use rust_server_wallets::{ + config, dynamic as factory, storage, + storage::{StoredKeyShare, StoredWallet}, +}; + +/// Tracks PASS / FAIL / SKIP counts and any error messages. +struct SmokeTest { + passed: usize, + failed: usize, + skipped: usize, + errors: Vec, +} + +impl SmokeTest { + fn new() -> Self { + Self { + passed: 0, + failed: 0, + skipped: 0, + errors: Vec::new(), + } + } + + fn ok(&mut self, name: &str, duration: f64) { + self.passed += 1; + println!(" PASS {name} ({duration:.2}s)"); + } + + fn fail(&mut self, name: &str, error: impl std::fmt::Display) { + self.failed += 1; + let msg = format!("{name}: {error}"); + println!(" FAIL {msg}"); + self.errors.push(msg); + } + + /// Distinct from `fail` — used for sub-tests the Rust SDK doesn't + /// yet support. Keeps green/red signal honest while we wait on + /// SDK parity. See the Python smoke_test.py for the full surface. + fn skip(&mut self, name: &str, reason: &str) { + self.skipped += 1; + println!(" SKIP {name}: {reason}"); + } + + fn summary(&self) -> bool { + let total = self.passed + self.failed + self.skipped; + println!("\n{}", "=".repeat(60)); + println!( + "{}/{} passed, {} failed, {} skipped", + self.passed, total, self.failed, self.skipped + ); + if !self.errors.is_empty() { + println!("\nFailures:"); + for e in &self.errors { + println!(" - {e}"); + } + } + self.failed == 0 + } +} + +/// Backs up an existing `.wallets.json` for the duration of a closure, +/// then restores it. Mirrors `WalletFileGuard` in the Python smoke test. +struct WalletFileGuard { + backup: Option, +} + +impl WalletFileGuard { + fn acquire() -> Self { + let live = Path::new(".wallets.json"); + if live.exists() { + let backup = PathBuf::from(".wallets.json.smoke-bak"); + // Best-effort rename. If it fails (e.g. permissions), the + // smoke test will fall back to a noisier merge — still + // safe because each save is keyed by wallet address. + let _ = std::fs::rename(live, &backup); + Self { + backup: Some(backup), + } + } else { + Self { backup: None } + } + } +} + +impl Drop for WalletFileGuard { + fn drop(&mut self) { + let live = Path::new(".wallets.json"); + if live.exists() { + let _ = std::fs::remove_file(live); + } + if let Some(backup) = &self.backup { + if backup.exists() { + let _ = std::fs::rename(backup, live); + } + } + } +} + +fn stored_shares_from(shares: &[dynamic_waas_sdk::ServerKeyShare]) -> Vec { + shares.iter().map(StoredKeyShare::from).collect() +} + +// --------------------------------------------------------------------------- +// EVM tests +// --------------------------------------------------------------------------- + +/// Mirrors `test_evm_create_and_sign` in the Python smoke test. +/// Returns the created wallet so the storage roundtrip test can reuse it. +async fn test_evm_create_and_sign( + t: &mut SmokeTest, + client: &DynamicWalletClient, +) -> Option<( + dynamic_waas_sdk::WalletProperties, + Vec, +)> { + println!("\nEVM: Create and Sign"); + println!("{}", "-".repeat(40)); + + let evm = DynamicEvmWalletClient::new(client); + + // create_wallet_account --------------------------------------------------- + let started = Instant::now(); + let (wp, shares) = match evm + .create_wallet_account(ThresholdSignatureScheme::TwoOfTwo, None, false) + .await + { + Ok(out) => out, + Err(e) => { + t.fail("create_wallet_account", e); + return None; + } + }; + let elapsed = started.elapsed().as_secs_f64(); + if !wp.account_address.starts_with("0x") { + t.fail( + "create_wallet_account", + format!("Bad address: {}", wp.account_address), + ); + return None; + } + if wp.wallet_id.is_empty() { + t.fail("create_wallet_account", "no wallet_id"); + return None; + } + if shares.is_empty() { + t.fail("create_wallet_account", "no key shares"); + return None; + } + t.ok("create_wallet_account", elapsed); + + // sign_message + verify --------------------------------------------------- + let message = "smoke-test-message"; + let started = Instant::now(); + let sig_hex = match evm.sign_message(&wp, &shares, message).await { + Ok(s) => s, + Err(e) => { + t.fail("sign_message", e); + return Some((wp, shares)); + } + }; + if !sig_hex.starts_with("0x") || sig_hex.len() != 132 { + t.fail( + "sign_message", + format!("Bad signature shape: len={} hex={sig_hex}", sig_hex.len()), + ); + return Some((wp, shares)); + } + t.ok("sign_message", started.elapsed().as_secs_f64()); + + let started = Instant::now(); + match recover_eip191_signer(message, &sig_hex) { + Ok(recovered) => { + let wp_addr = Address::from_str(&wp.account_address) + .expect("wallet address must parse as 0x-hex"); + if recovered == wp_addr { + t.ok("verify_signature", started.elapsed().as_secs_f64()); + } else { + t.fail( + "verify_signature", + format!("recovered {recovered} != {wp_addr}"), + ); + } + } + Err(e) => t.fail("verify_signature", e), + } + + // sign_typed_data — via the lower-level run_sign_ecdsa primitive + // (the high-level wrapper `DynamicEvmWalletClient::sign_typed_data` + // isn't shipped yet in 0.0.3, but the orchestrator is). + let started = Instant::now(); + match sign_typed_data_via_primitive(client, &wp, &shares).await { + Ok((signature, recovered)) => { + let wp_addr = Address::from_str(&wp.account_address).unwrap(); + if recovered == wp_addr { + println!( + " typed-data sig: {}", + &signature[..20.min(signature.len())] + ); + t.ok("sign_typed_data", started.elapsed().as_secs_f64()); + } else { + t.fail( + "sign_typed_data", + format!("recovered {recovered} != {wp_addr}"), + ); + } + } + Err(e) => t.fail("sign_typed_data", e), + } + + // sign_transaction — same approach, with a TxLegacy. + let started = Instant::now(); + match sign_transaction_via_primitive(client, &wp, &shares).await { + Ok(()) => t.ok("sign_transaction", started.elapsed().as_secs_f64()), + Err(e) => t.fail("sign_transaction", e), + } + + Some((wp, shares)) +} + +/// Mirrors `test_evm_storage_roundtrip`. Saves, reloads, signs again, +/// lists, deletes. +async fn test_evm_storage_roundtrip( + t: &mut SmokeTest, + client: &DynamicWalletClient, + wp: &dynamic_waas_sdk::WalletProperties, + shares: &[dynamic_waas_sdk::ServerKeyShare], +) { + println!("\nEVM: Storage Roundtrip"); + println!("{}", "-".repeat(40)); + + let _guard = WalletFileGuard::acquire(); + let evm = DynamicEvmWalletClient::new(client); + + // save ------------------------------------------------------------------- + let started = Instant::now(); + let to_save = StoredWallet { + address: wp.account_address.clone(), + wallet_id: wp.wallet_id.clone(), + chain_name: wp.chain_name.clone(), + threshold_signature_scheme: wp.threshold_signature_scheme, + derivation_path: wp.derivation_path.clone(), + key_shares: stored_shares_from(shares), + created_at: "2026-05-19T00:00:00Z".into(), + }; + if let Err(e) = storage::save(&to_save) { + t.fail("save_wallet", e); + return; + } + if !Path::new(".wallets.json").exists() { + t.fail("save_wallet", ".wallets.json not created"); + return; + } + t.ok("save_wallet", started.elapsed().as_secs_f64()); + + // get -------------------------------------------------------------------- + let started = Instant::now(); + let loaded = match storage::get(&wp.account_address) { + Ok(Some(w)) => w, + Ok(None) => { + t.fail("get_wallet", "wallet not found after save"); + return; + } + Err(e) => { + t.fail("get_wallet", e); + return; + } + }; + if loaded.address != wp.account_address + || loaded.wallet_id != wp.wallet_id + || loaded.key_shares.is_empty() + || loaded.key_shares[0].secret_share != shares[0].secret_share + { + t.fail("get_wallet", "loaded record didn't match what was saved"); + return; + } + t.ok("get_wallet", started.elapsed().as_secs_f64()); + + // list ------------------------------------------------------------------- + let started = Instant::now(); + match storage::list(None) { + Ok(all) if all.iter().any(|w| w.address == wp.account_address) => { + t.ok("list_wallets", started.elapsed().as_secs_f64()); + } + Ok(_) => t.fail("list_wallets", "wallet not in list"), + Err(e) => t.fail("list_wallets", e), + } + + // new "session": sign with the reloaded shares --------------------------- + let started = Instant::now(); + let reloaded_wp = loaded.to_properties(); + let reloaded_shares = loaded.shares(); + match evm + .sign_message(&reloaded_wp, &reloaded_shares, "new-session-test") + .await + { + Ok(sig) if sig.starts_with("0x") => { + t.ok("new_session: sign_message", started.elapsed().as_secs_f64()); + } + Ok(sig) => t.fail("new_session: sign_message", format!("bad signature: {sig}")), + Err(e) => t.fail("new_session: sign_message", e), + } + + // delete ----------------------------------------------------------------- + let started = Instant::now(); + match storage::delete(&wp.account_address) { + Ok(true) => {} + Ok(false) => { + t.fail("delete_wallet", "delete returned false"); + return; + } + Err(e) => { + t.fail("delete_wallet", e); + return; + } + } + match storage::get(&wp.account_address) { + Ok(None) => t.ok("delete_wallet", started.elapsed().as_secs_f64()), + Ok(Some(_)) => t.fail("delete_wallet", "wallet still exists after delete"), + Err(e) => t.fail("delete_wallet", e), + } +} + +/// Mirrors `test_evm_password_wallet`. Creates with password-backed share, +/// uses `run_recover_key_shares` to validate the recovery flow. +async fn test_evm_password_wallet(t: &mut SmokeTest, client: &DynamicWalletClient) { + println!("\nEVM: Password / Backup Flow"); + println!("{}", "-".repeat(40)); + + let password = "smoke-test-password-123".to_string(); + let evm = DynamicEvmWalletClient::new(client); + + // create with backup-to-Dynamic + password ------------------------------- + let started = Instant::now(); + let (wp, shares) = match evm + .create_wallet_account( + ThresholdSignatureScheme::TwoOfTwo, + Some(password.clone()), + /* back_up_to_dynamic */ true, + ) + .await + { + Ok(out) => out, + Err(e) => { + t.fail("create_wallet_account (with password)", e); + return; + } + }; + t.ok( + "create_wallet_account (with password)", + started.elapsed().as_secs_f64(), + ); + + // sign in the same session (shares still in memory) ---------------------- + let started = Instant::now(); + match evm.sign_message(&wp, &shares, "password-test").await { + Ok(sig) if sig.starts_with("0x") => { + t.ok( + "sign_message (same session, with shares)", + started.elapsed().as_secs_f64(), + ); + } + Ok(sig) => t.fail( + "sign_message (same session, with shares)", + format!("bad signature: {sig}"), + ), + Err(e) => t.fail("sign_message (same session, with shares)", e), + } + + // recover shares from the Dynamic backup via password -------------------- + // This is the Rust analogue of Python's "client.recover_key_shares()". + // The wallet's backup info — including the keyshare UUIDs to recover — + // lives in wp.external_server_key_shares_backup_info; pull them out and + // pass them along with the password. + let started = Instant::now(); + let backup_info = match &wp.external_server_key_shares_backup_info { + Some(info) => info, + None => { + t.fail( + "run_recover_key_shares", + "wallet has no external_server_key_shares_backup_info — \ + expected one after create with back_up_to_dynamic=true", + ); + return; + } + }; + let key_share_ids: Vec = backup_info + .backups + .get("dynamic") + .map(|entries| entries.iter().map(|e| e.key_share_id.clone()).collect()) + .unwrap_or_default(); + if key_share_ids.is_empty() { + t.fail( + "run_recover_key_shares", + "no 'dynamic' backup entries returned at create-time", + ); + return; + } + let recovered = match dynamic_waas_sdk::run_recover_key_shares( + client, + &wp.wallet_id, + key_share_ids, + &password, + ) + .await + { + Ok(s) => s, + Err(e) => { + t.fail("run_recover_key_shares", e); + return; + } + }; + if recovered.is_empty() { + t.fail("run_recover_key_shares", "no shares recovered"); + return; + } + t.ok("run_recover_key_shares", started.elapsed().as_secs_f64()); + + // sign with the recovered shares to prove they actually work ------------- + let started = Instant::now(); + match evm + .sign_message(&wp, &recovered, "post-recovery-test") + .await + { + Ok(sig) if sig.starts_with("0x") => { + t.ok( + "sign_with_recovered_shares", + started.elapsed().as_secs_f64(), + ); + } + Ok(sig) => t.fail( + "sign_with_recovered_shares", + format!("bad signature: {sig}"), + ), + Err(e) => t.fail("sign_with_recovered_shares", e), + } + + // No-password counterpart: create_wallet_account with password=None, + // back_up_to_dynamic=false. The caller is now fully responsible for + // the share — Dynamic stores nothing. Then sign with that locally- + // held share to prove the no-password path works end-to-end. This + // contrasts with the password path above so the section exercises + // both branches of the create surface. + let started = Instant::now(); + let (wp_local, shares_local) = match evm + .create_wallet_account(ThresholdSignatureScheme::TwoOfTwo, None, false) + .await + { + Ok(out) => out, + Err(e) => { + t.fail("create_wallet_account (no password)", e); + return; + } + }; + t.ok( + "create_wallet_account (no password)", + started.elapsed().as_secs_f64(), + ); + + let started = Instant::now(); + match evm + .sign_message(&wp_local, &shares_local, "local-shares-no-password") + .await + { + Ok(sig) if sig.starts_with("0x") => { + // Verify recovery so we know the no-password path produced a + // real signature, not just a successful API call. + match recover_eip191_signer("local-shares-no-password", &sig) { + Ok(recovered) => { + let wp_addr = Address::from_str(&wp_local.account_address).unwrap(); + if recovered == wp_addr { + t.ok( + "sign_with_local_shares (no password)", + started.elapsed().as_secs_f64(), + ); + } else { + t.fail( + "sign_with_local_shares (no password)", + format!("recovered {recovered} != {wp_addr}"), + ); + } + } + Err(e) => t.fail("sign_with_local_shares (no password)", e), + } + } + Ok(sig) => t.fail( + "sign_with_local_shares (no password)", + format!("bad signature: {sig}"), + ), + Err(e) => t.fail("sign_with_local_shares (no password)", e), + } +} + +/// Mirrors `test_evm_threshold_schemes`. Round-trips create+sign under +/// both 2-of-2 and 2-of-3. +/// +/// Caveat: 2-of-3 keygen does more MPC rounds (3 parties instead of 2) +/// and routinely brushes against the **20-second hardcoded timeout** +/// baked into the prebuilt SODOT MPC binary inside +/// `dynamic-waas-sdk-mpc-sys` 0.0.3. That timeout isn't configurable +/// from Rust today. When 2-of-3 hits it we down-grade to SKIP so the +/// honest signal — "the SDK can't yet complete this within its own +/// timeout window" — stays distinct from a real bug in the example. +async fn test_evm_threshold_schemes(t: &mut SmokeTest, client: &DynamicWalletClient) { + println!("\nEVM: Threshold Schemes"); + println!("{}", "-".repeat(40)); + + let evm = DynamicEvmWalletClient::new(client); + for scheme in [ + ThresholdSignatureScheme::TwoOfTwo, + ThresholdSignatureScheme::TwoOfThree, + ] { + let label = format!("create + sign ({scheme:?})"); + let started = Instant::now(); + let result = async { + let (wp, shares) = evm.create_wallet_account(scheme, None, false).await?; + let sig = evm + .sign_message(&wp, &shares, &format!("threshold-test-{scheme:?}")) + .await?; + if !sig.starts_with("0x") { + anyhow::bail!("bad signature: {sig}"); + } + anyhow::Ok(()) + } + .await; + match result { + Ok(()) => t.ok(&label, started.elapsed().as_secs_f64()), + Err(e) => { + // The MPC native lib raises this exact string when the + // ceremony exceeds its 20-second budget. Treat it as a + // known SDK limitation (SKIP) instead of an example bug + // (FAIL). Any other error is still a real failure. + let msg = format!("{e:#}"); + let is_known_timeout = scheme == ThresholdSignatureScheme::TwoOfThree + && msg.contains("operation timed out"); + if is_known_timeout { + t.skip( + &label, + "hit the 20s timeout hardcoded in dynamic-waas-sdk-mpc-sys 0.0.3 \ + (3-party MPC keygen routinely brushes against it)", + ); + } else { + t.fail(&label, e); + } + } + } + } +} + +// --------------------------------------------------------------------------- +// SVM tests +// --------------------------------------------------------------------------- + +async fn test_svm_create_and_sign( + t: &mut SmokeTest, + client: &DynamicWalletClient, +) -> Option<( + dynamic_waas_sdk::WalletProperties, + Vec, +)> { + println!("\nSVM: Create and Sign"); + println!("{}", "-".repeat(40)); + + let svm = DynamicSvmWalletClient::new(client); + + // create_wallet_account --------------------------------------------------- + let started = Instant::now(); + let (wp, shares) = match svm + .create_wallet_account(ThresholdSignatureScheme::TwoOfTwo, None, false) + .await + { + Ok(out) => out, + Err(e) => { + t.fail("create_wallet_account", e); + return None; + } + }; + if wp.account_address.is_empty() { + t.fail("create_wallet_account", "no address"); + return None; + } + if shares.is_empty() { + t.fail("create_wallet_account", "no key shares"); + return None; + } + t.ok("create_wallet_account", started.elapsed().as_secs_f64()); + + // sign_message + Ed25519 verify ------------------------------------------ + let message = "smoke-test-solana"; + let started = Instant::now(); + let sig_b58 = match svm.sign_message(&wp, &shares, message).await { + Ok(s) => s, + Err(e) => { + t.fail("sign_message", e); + return Some((wp, shares)); + } + }; + if sig_b58.is_empty() { + t.fail("sign_message", "empty signature"); + return Some((wp, shares)); + } + t.ok("sign_message", started.elapsed().as_secs_f64()); + + let started = Instant::now(); + match verify_solana_signature(message, &sig_b58, &wp.account_address) { + Ok(()) => t.ok("verify_signature", started.elapsed().as_secs_f64()), + Err(e) => t.fail("verify_signature", e), + } + + // sign_transaction — via the lower-level run_sign_ed25519 primitive. + let started = Instant::now(); + match sign_svm_transaction_via_primitive(client, &wp, &shares).await { + Ok(()) => t.ok("sign_transaction", started.elapsed().as_secs_f64()), + Err(e) => t.fail("sign_transaction", e), + } + + Some((wp, shares)) +} + +/// SVM analogue of `test_evm_password_wallet`. Creates a Solana wallet +/// with `back_up_to_dynamic=true` + password, signs, then exercises the +/// full recovery round-trip (`run_recover_key_shares` → sign with the +/// recovered share → off-chain Ed25519 verify). +async fn test_svm_password_wallet(t: &mut SmokeTest, client: &DynamicWalletClient) { + println!("\nSVM: Password / Backup Flow"); + println!("{}", "-".repeat(40)); + + let password = "smoke-test-password-svm".to_string(); + let svm = DynamicSvmWalletClient::new(client); + + let started = Instant::now(); + let (wp, shares) = match svm + .create_wallet_account( + ThresholdSignatureScheme::TwoOfTwo, + Some(password.clone()), + /* back_up_to_dynamic */ true, + ) + .await + { + Ok(out) => out, + Err(e) => { + t.fail("create_wallet_account (with password)", e); + return; + } + }; + t.ok( + "create_wallet_account (with password)", + started.elapsed().as_secs_f64(), + ); + + let started = Instant::now(); + let message = "password-test-svm"; + match svm.sign_message(&wp, &shares, message).await { + Ok(sig) => match verify_solana_signature(message, &sig, &wp.account_address) { + Ok(()) => t.ok( + "sign_message (same session, with shares)", + started.elapsed().as_secs_f64(), + ), + Err(e) => t.fail("sign_message (same session, with shares)", e), + }, + Err(e) => t.fail("sign_message (same session, with shares)", e), + } + + // Recover the share from Dynamic's backup using the password. + let started = Instant::now(); + let backup_info = match &wp.external_server_key_shares_backup_info { + Some(info) => info, + None => { + t.fail( + "run_recover_key_shares", + "wallet has no external_server_key_shares_backup_info — \ + expected one after create with back_up_to_dynamic=true", + ); + return; + } + }; + let key_share_ids: Vec = backup_info + .backups + .get("dynamic") + .map(|entries| entries.iter().map(|e| e.key_share_id.clone()).collect()) + .unwrap_or_default(); + if key_share_ids.is_empty() { + t.fail( + "run_recover_key_shares", + "no 'dynamic' backup entries returned at create-time", + ); + return; + } + let recovered = match dynamic_waas_sdk::run_recover_key_shares( + client, + &wp.wallet_id, + key_share_ids, + &password, + ) + .await + { + Ok(s) => s, + Err(e) => { + t.fail("run_recover_key_shares", e); + return; + } + }; + if recovered.is_empty() { + t.fail("run_recover_key_shares", "no shares recovered"); + return; + } + t.ok("run_recover_key_shares", started.elapsed().as_secs_f64()); + + // Prove the recovered share signs correctly by verifying off-chain. + let started = Instant::now(); + let post = "post-recovery-test-svm"; + match svm.sign_message(&wp, &recovered, post).await { + Ok(sig) => match verify_solana_signature(post, &sig, &wp.account_address) { + Ok(()) => t.ok( + "sign_with_recovered_shares", + started.elapsed().as_secs_f64(), + ), + Err(e) => t.fail("sign_with_recovered_shares", e), + }, + Err(e) => t.fail("sign_with_recovered_shares", e), + } + + // No-password counterpart: create with password=None and + // back_up_to_dynamic=false. Caller keeps the share; Dynamic stores + // nothing. Same shape as the EVM no-password path above. + let started = Instant::now(); + let (wp_local, shares_local) = match svm + .create_wallet_account(ThresholdSignatureScheme::TwoOfTwo, None, false) + .await + { + Ok(out) => out, + Err(e) => { + t.fail("create_wallet_account (no password)", e); + return; + } + }; + t.ok( + "create_wallet_account (no password)", + started.elapsed().as_secs_f64(), + ); + + let started = Instant::now(); + let message = "local-shares-no-password-svm"; + match svm.sign_message(&wp_local, &shares_local, message).await { + Ok(sig) => match verify_solana_signature(message, &sig, &wp_local.account_address) { + Ok(()) => t.ok( + "sign_with_local_shares (no password)", + started.elapsed().as_secs_f64(), + ), + Err(e) => t.fail("sign_with_local_shares (no password)", e), + }, + Err(e) => t.fail("sign_with_local_shares (no password)", e), + } +} + +/// SVM analogue of `test_evm_threshold_schemes`. Round-trips create+sign +/// under both 2-of-2 and 2-of-3 against `DynamicSvmWalletClient`. +/// +/// Same 20s-timeout caveat as the EVM version applies: 2-of-3 Ed25519 +/// keygen does more rounds than 2-of-2 and routinely brushes the +/// hardcoded timeout in `dynamic-waas-sdk-mpc-sys` 0.0.3. We downgrade +/// that specific failure mode to SKIP so the signal stays distinct from +/// a real bug. +async fn test_svm_threshold_schemes(t: &mut SmokeTest, client: &DynamicWalletClient) { + println!("\nSVM: Threshold Schemes"); + println!("{}", "-".repeat(40)); + + let svm = DynamicSvmWalletClient::new(client); + for scheme in [ + ThresholdSignatureScheme::TwoOfTwo, + ThresholdSignatureScheme::TwoOfThree, + ] { + let label = format!("create + sign ({scheme:?})"); + let started = Instant::now(); + let result = async { + let (wp, shares) = svm.create_wallet_account(scheme, None, false).await?; + let sig = svm + .sign_message(&wp, &shares, &format!("threshold-test-svm-{scheme:?}")) + .await?; + if sig.is_empty() { + anyhow::bail!("empty signature"); + } + // Reject obvious garbage by verifying the signature off-chain. + // verify_solana_signature returns Err on any mismatch; surface + // it instead of swallowing as a "the sign call succeeded" PASS. + verify_solana_signature( + &format!("threshold-test-svm-{scheme:?}"), + &sig, + &wp.account_address, + )?; + anyhow::Ok(()) + } + .await; + match result { + Ok(()) => t.ok(&label, started.elapsed().as_secs_f64()), + Err(e) => { + let msg = format!("{e:#}"); + let is_known_timeout = scheme == ThresholdSignatureScheme::TwoOfThree + && msg.contains("operation timed out"); + if is_known_timeout { + t.skip( + &label, + "hit the 20s timeout hardcoded in dynamic-waas-sdk-mpc-sys 0.0.3 \ + (3-party Ed25519 keygen routinely brushes against it)", + ); + } else { + t.fail(&label, e); + } + } + } + } +} + +async fn test_svm_storage_roundtrip( + t: &mut SmokeTest, + client: &DynamicWalletClient, + wp: &dynamic_waas_sdk::WalletProperties, + shares: &[dynamic_waas_sdk::ServerKeyShare], +) { + println!("\nSVM: Storage Roundtrip"); + println!("{}", "-".repeat(40)); + + let _guard = WalletFileGuard::acquire(); + let svm = DynamicSvmWalletClient::new(client); + + let started = Instant::now(); + let to_save = StoredWallet { + address: wp.account_address.clone(), + wallet_id: wp.wallet_id.clone(), + chain_name: wp.chain_name.clone(), + threshold_signature_scheme: wp.threshold_signature_scheme, + derivation_path: wp.derivation_path.clone(), + key_shares: stored_shares_from(shares), + created_at: "2026-05-19T00:00:00Z".into(), + }; + if let Err(e) = storage::save(&to_save) { + t.fail("save_wallet", e); + return; + } + let loaded = match storage::get(&wp.account_address) { + Ok(Some(w)) => w, + Ok(None) => { + t.fail("save_wallet", "wallet not found after save"); + return; + } + Err(e) => { + t.fail("save_wallet", e); + return; + } + }; + if loaded.chain_name != "SVM" { + t.fail( + "save_wallet", + format!("expected chain SVM, got {}", loaded.chain_name), + ); + return; + } + t.ok("save_wallet", started.elapsed().as_secs_f64()); + + // New "session": sign with stored shares ---------------------------------- + let started = Instant::now(); + let reloaded_wp = loaded.to_properties(); + let reloaded_shares = loaded.shares(); + match svm + .sign_message(&reloaded_wp, &reloaded_shares, "new-session-svm") + .await + { + Ok(sig) if !sig.is_empty() => { + t.ok("new_session: sign_message", started.elapsed().as_secs_f64()); + } + Ok(_) => t.fail("new_session: sign_message", "empty signature"), + Err(e) => t.fail("new_session: sign_message", e), + } + + let started = Instant::now(); + match storage::delete(&wp.account_address) { + Ok(true) => {} + Ok(false) => { + t.fail("delete_wallet", "delete returned false"); + return; + } + Err(e) => { + t.fail("delete_wallet", e); + return; + } + } + match storage::get(&wp.account_address) { + Ok(None) => t.ok("delete_wallet", started.elapsed().as_secs_f64()), + Ok(Some(_)) => t.fail("delete_wallet", "wallet still exists after delete"), + Err(e) => t.fail("delete_wallet", e), + } +} + +// --------------------------------------------------------------------------- +// Signature verification helpers +// --------------------------------------------------------------------------- + +/// Recover the EIP-191 `personal_sign` signer from a 65-byte signature. +/// Matches `eth_account.Account.recover_message` in the Python smoke test. +fn recover_eip191_signer(message: &str, signature_hex: &str) -> anyhow::Result
{ + let sig_bytes = hex::decode(signature_hex.trim_start_matches("0x"))?; + if sig_bytes.len() != 65 { + anyhow::bail!("signature must be 65 bytes, got {}", sig_bytes.len()); + } + let signature = PrimitiveSignature::try_from(sig_bytes.as_slice())?; + let digest = eip191_hash_message(message.as_bytes()); + let recovered = signature.recover_address_from_prehash(&digest)?; + Ok(recovered) +} + +/// Verify a base58-encoded Ed25519 signature against the wallet's base58 +/// address (which is its public key). Returns Err if the signature is +/// malformed or doesn't validate. +fn verify_solana_signature( + message: &str, + signature_b58: &str, + address_b58: &str, +) -> anyhow::Result<()> { + use ed25519_dalek::{Signature, Verifier, VerifyingKey}; + + let pk_bytes = bs58::decode(address_b58).into_vec()?; + if pk_bytes.len() != 32 { + anyhow::bail!( + "expected 32-byte Ed25519 pubkey, got {} bytes", + pk_bytes.len() + ); + } + let mut pk_arr = [0u8; 32]; + pk_arr.copy_from_slice(&pk_bytes); + let verifying_key = VerifyingKey::from_bytes(&pk_arr)?; + + let sig_bytes = bs58::decode(signature_b58).into_vec()?; + if sig_bytes.len() != 64 { + anyhow::bail!( + "expected 64-byte Ed25519 signature, got {} bytes", + sig_bytes.len() + ); + } + let mut sig_arr = [0u8; 64]; + sig_arr.copy_from_slice(&sig_bytes); + let signature = Signature::from_bytes(&sig_arr); + + verifying_key.verify(message.as_bytes(), &signature)?; + Ok(()) +} + +// --------------------------------------------------------------------------- +// Transaction-signing primitives — exercise the lower-level SDK +// orchestrators (`run_sign_ecdsa`, `run_sign_ed25519`) since the +// high-level wrappers haven't shipped yet in 0.0.3. +// --------------------------------------------------------------------------- + +/// Sign a small EIP-712 `Mail` struct and recover the signer for verification. +/// Returns `(0x-prefixed signature hex, recovered address)`. +async fn sign_typed_data_via_primitive( + client: &DynamicWalletClient, + wp: &dynamic_waas_sdk::WalletProperties, + shares: &[dynamic_waas_sdk::ServerKeyShare], +) -> anyhow::Result<(String, Address)> { + use alloy::dyn_abi::TypedData; + use alloy::primitives::U256; + use dynamic_waas_sdk::{mpc_config::EVM_DERIVATION_PATH, run_sign_ecdsa, SignOpts}; + + let from = Address::from_str(&wp.account_address)?; + let typed_data: TypedData = serde_json::from_value(serde_json::json!({ + "types": { + "EIP712Domain": [ + { "name": "name", "type": "string" }, + { "name": "version", "type": "string" }, + { "name": "chainId", "type": "uint256" } + ], + "Mail": [ + { "name": "from", "type": "address" }, + { "name": "to", "type": "address" }, + { "name": "contents", "type": "string" } + ] + }, + "primaryType": "Mail", + "domain": { "name": "DynamicRustSDKExample", "version": "1", "chainId": 1 }, + "message": { + "from": from.to_checksum(None), + "to": "0x0000000000000000000000000000000000000001", + "contents": "hello typed data" + } + }))?; + let digest = typed_data.eip712_signing_hash()?; + let digest_bytes: [u8; 32] = digest.into(); + + let share = shares + .first() + .ok_or_else(|| anyhow::anyhow!("no key shares"))? + .clone(); + let derivation_path = wp + .derivation_path + .clone() + .unwrap_or_else(|| EVM_DERIVATION_PATH.to_vec()); + + let sig = run_sign_ecdsa( + client, + SignOpts::new( + wp.wallet_id.clone(), + digest_bytes, + hex::encode(digest_bytes), + /* is_formatted */ true, + share, + derivation_path, + ), + ) + .await?; + + let primitive = PrimitiveSignature::new( + U256::from_be_slice(&sig.r), + U256::from_be_slice(&sig.s), + sig.v == 28, + ); + let recovered = primitive.recover_address_from_prehash(&digest)?; + let mut bytes = Vec::with_capacity(65); + bytes.extend_from_slice(&sig.r); + bytes.extend_from_slice(&sig.s); + bytes.push(sig.v); + Ok((format!("0x{}", hex::encode(&bytes)), recovered)) +} + +/// Sign a `TxLegacy` (no broadcast) and verify the recovered signer matches. +async fn sign_transaction_via_primitive( + client: &DynamicWalletClient, + wp: &dynamic_waas_sdk::WalletProperties, + shares: &[dynamic_waas_sdk::ServerKeyShare], +) -> anyhow::Result<()> { + use alloy::consensus::{SignableTransaction, TxLegacy}; + use alloy::primitives::{TxKind, U256}; + use dynamic_waas_sdk::{mpc_config::EVM_DERIVATION_PATH, run_sign_ecdsa, SignOpts}; + + let from = Address::from_str(&wp.account_address)?; + let tx = TxLegacy { + chain_id: Some(config::BASE_SEPOLIA_CHAIN_ID), + nonce: 0, + gas_price: 1_000_000_000, + gas_limit: 21_000, + to: TxKind::Call(Address::from([0u8; 20])), + value: U256::ZERO, + input: Default::default(), + }; + let signing_hash = tx.signature_hash(); + let hash_bytes: [u8; 32] = signing_hash.into(); + + let share = shares + .first() + .ok_or_else(|| anyhow::anyhow!("no key shares"))? + .clone(); + let derivation_path = wp + .derivation_path + .clone() + .unwrap_or_else(|| EVM_DERIVATION_PATH.to_vec()); + + let sig = run_sign_ecdsa( + client, + SignOpts::new( + wp.wallet_id.clone(), + hash_bytes, + hex::encode(hash_bytes), + /* is_formatted */ true, + share, + derivation_path, + ), + ) + .await?; + + let primitive = PrimitiveSignature::new( + U256::from_be_slice(&sig.r), + U256::from_be_slice(&sig.s), + sig.v == 28, + ); + let recovered = primitive.recover_address_from_prehash(&signing_hash)?; + if recovered != from { + anyhow::bail!("recovered {recovered} != wallet address {from}"); + } + Ok(()) +} + +/// Sign a 0-lamport self-transfer message (no broadcast). +async fn sign_svm_transaction_via_primitive( + client: &DynamicWalletClient, + wp: &dynamic_waas_sdk::WalletProperties, + shares: &[dynamic_waas_sdk::ServerKeyShare], +) -> anyhow::Result<()> { + use dynamic_waas_sdk::{run_sign_ed25519, SignOptsEd25519}; + #[allow(deprecated)] + use solana_sdk::system_instruction; + use solana_sdk::{hash::Hash, message::Message, pubkey::Pubkey}; + + let from = Pubkey::from_str(&wp.account_address)?; + let instruction = system_instruction::transfer(&from, &from, 0); + let message = Message::new_with_blockhash(&[instruction], Some(&from), &Hash::default()); + let message_bytes = message.serialize(); + + let share = shares + .first() + .ok_or_else(|| anyhow::anyhow!("no key shares"))? + .clone(); + + let sig_arr: [u8; 64] = run_sign_ed25519( + client, + SignOptsEd25519::new(wp.wallet_id.clone(), message_bytes.clone(), share), + ) + .await?; + + // Verify locally with ed25519-dalek so we catch silent MPC misbehaviour. + use ed25519_dalek::{Signature, Verifier, VerifyingKey}; + let pk_bytes = bs58::decode(&wp.account_address).into_vec()?; + let mut pk_arr = [0u8; 32]; + pk_arr.copy_from_slice(&pk_bytes); + let verifying_key = VerifyingKey::from_bytes(&pk_arr)?; + let signature = Signature::from_bytes(&sig_arr); + verifying_key.verify(&message_bytes, &signature)?; + Ok(()) +} + +// --------------------------------------------------------------------------- +// Main +// --------------------------------------------------------------------------- + +#[tokio::main] +async fn main() -> anyhow::Result<()> { + let args: Vec = std::env::args().collect(); + let want_evm = args.iter().any(|a| a == "--evm"); + let want_svm = args.iter().any(|a| a == "--svm"); + // Default: both. Either flag alone narrows the run to just that chain. + // Both flags = same as the default. Mutually-exclusive intent is + // captured by "no flag → both, one flag → that chain only". + let (run_evm, run_svm) = match (want_evm, want_svm) { + (false, false) => (true, true), + (true, true) => (true, true), + (true, false) => (true, false), + (false, true) => (false, true), + }; + + let c = config::require_dynamic_creds()?; + let env_id_preview = c.dynamic_env_id.chars().take(8).collect::(); + println!("Dynamic Rust SDK Smoke Test"); + println!("Environment: {env_id_preview}..."); + if let Some(base) = &c.dynamic_base_api_url { + println!("Base URL: {base}"); + } else { + println!("Base URL: (default — production)"); + } + println!( + "Running chains: {}", + match (run_evm, run_svm) { + (true, true) => "EVM + SVM", + (true, false) => "EVM only (--evm)", + (false, true) => "SVM only (--svm)", + (false, false) => unreachable!("at least one chain is always selected"), + } + ); + println!("{}", "=".repeat(60)); + + let client = factory::authenticated_client().await?; + + let mut t = SmokeTest::new(); + + if run_evm { + let (wp, shares) = match test_evm_create_and_sign(&mut t, &client).await { + Some(pair) => pair, + None => { + t.skip( + "EVM storage roundtrip", + "skipped — no wallet from create_and_sign", + ); + t.summary(); + std::process::exit(1); + } + }; + test_evm_storage_roundtrip(&mut t, &client, &wp, &shares).await; + test_evm_password_wallet(&mut t, &client).await; + test_evm_threshold_schemes(&mut t, &client).await; + } + + if run_svm { + if let Some((wp, shares)) = test_svm_create_and_sign(&mut t, &client).await { + test_svm_storage_roundtrip(&mut t, &client, &wp, &shares).await; + } else { + t.skip( + "SVM storage roundtrip", + "skipped — no wallet from create_and_sign", + ); + } + test_svm_password_wallet(&mut t, &client).await; + test_svm_threshold_schemes(&mut t, &client).await; + } + + let success = t.summary(); + std::process::exit(if success { 0 } else { 1 }); +} diff --git a/examples/rust-server-wallets/src/bin/delegated-decrypt-webhook.rs b/examples/rust-server-wallets/src/bin/delegated-decrypt-webhook.rs new file mode 100644 index 0000000..f120047 --- /dev/null +++ b/examples/rust-server-wallets/src/bin/delegated-decrypt-webhook.rs @@ -0,0 +1,129 @@ +//! Unwrap an encrypted delegation webhook payload using the customer's RSA +//! private key. +//! +//! Modes: +//! +//! - Demo (no args): prints the API surface — useful for documentation. +//! - Live: pass --rsa-key and --payload to actually decrypt. +//! +//! The payload file may be either the full `wallet.delegation.created` +//! webhook body or just the inner `data` object. + +use std::path::PathBuf; + +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::{decrypt_delegated_webhook_data, EncryptedDelegatedPayload}; +use serde::Deserialize; + +use rust_server_wallets::cli; + +#[derive(Parser, Debug)] +struct Args { + /// Path to your RSA private key (PEM) + #[arg(long)] + rsa_key: Option, + /// Path to the encrypted webhook payload JSON + #[arg(long)] + payload: Option, +} + +#[derive(Debug, Deserialize)] +#[serde(rename_all = "camelCase")] +struct EnvelopePair { + chain: Option, + wallet_id: Option, + public_key: Option, + encrypted_delegated_share: EncryptedDelegatedPayload, + encrypted_wallet_api_key: EncryptedDelegatedPayload, +} + +#[derive(Debug, Deserialize)] +struct WebhookPayload { + #[serde(default)] + data: Option, + #[serde(flatten)] + inline: Option, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + + match (args.rsa_key.as_ref(), args.payload.as_ref()) { + (None, None) => { + print_demo(); + Ok(()) + } + (Some(_), None) | (None, Some(_)) => { + anyhow::bail!("both --rsa-key and --payload are required for live decryption"); + } + (Some(rsa_key), Some(payload)) => run_live(rsa_key, payload), + } + }) +} + +fn run_live(rsa_key: &std::path::Path, payload: &std::path::Path) -> anyhow::Result<()> { + let pem = std::fs::read_to_string(rsa_key).context("read RSA key")?; + let raw = std::fs::read_to_string(payload).context("read payload")?; + let parsed: WebhookPayload = serde_json::from_str(&raw).context("parse webhook payload")?; + let env = parsed + .data + .or(parsed.inline) + .context("payload must contain either a top-level envelope or a `data` object")?; + + let decrypted = decrypt_delegated_webhook_data( + &pem, + &env.encrypted_delegated_share, + &env.encrypted_wallet_api_key, + ) + .context("decrypt webhook")?; + + println!("Decryption succeeded."); + if let Some(c) = env.chain { + println!("Chain: {c}"); + } + if let Some(w) = env.wallet_id { + println!("Wallet ID: {w}"); + } + if let Some(p) = env.public_key { + println!("Public key: {p}"); + } + println!("API key: {}", mask(&decrypted.wallet_api_key)); + println!("Share keygen: {}", decrypted.server_key_share.key_share_id); + println!(); + println!("Persist these credentials to your KMS / database (never plaintext at rest)"); + println!("and feed them into delegated-sign-message via wallet.json."); + Ok(()) +} + +fn mask(s: &str) -> String { + if s.len() <= 8 { + return "***".to_string(); + } + let (head, _) = s.split_at(4); + let tail_start = s.len() - 4; + format!("{}...{}", head, &s[tail_start..]) +} + +fn print_demo() { + println!("Delegated Webhook Decryption — API Demo"); + println!("=======================================\n"); + println!("decrypt_delegated_webhook_data(rsa_pem, &encrypted_share, &encrypted_api_key)"); + println!(); + println!("Inputs:"); + println!(" - rsa_pem: &str — your RSA private key (PEM)"); + println!(" - encrypted_share: &EncryptedDelegatedPayload (from webhook payload)"); + println!(" - encrypted_api_key: &EncryptedDelegatedPayload (from webhook payload)"); + println!(); + println!("Returns DecryptedWebhookData with:"); + println!(" - server_key_share: ServerKeyShare (pass to delegated sign methods)"); + println!(" - wallet_api_key: String (use to build a DelegatedWalletClient)"); + println!(); + println!("Security:"); + println!(" - Store decrypted credentials encrypted at rest (KMS / Vault)."); + println!(" - Never log raw secrets — Debug impl is redacted, but println!() isn't."); + println!(" - The RSA private key must remain server-side only."); + println!(); + println!("Run with --rsa-key --payload to actually decrypt a payload."); +} diff --git a/examples/rust-server-wallets/src/bin/delegated-sign-message.rs b/examples/rust-server-wallets/src/bin/delegated-sign-message.rs new file mode 100644 index 0000000..3cee8d3 --- /dev/null +++ b/examples/rust-server-wallets/src/bin/delegated-sign-message.rs @@ -0,0 +1,68 @@ +//! Sign a message via a delegated wallet. Credentials come from a +//! `wallet.json` file produced by your delegation webhook handler. +//! +//! Example: +//! +//! cargo run --bin delegated-sign-message -- \ +//! "Hello, World!" \ +//! --wallet src/bin/delegated-sign-message.wallet.json + +use std::path::PathBuf; + +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::WalletProperties; +use dynamic_waas_sdk_evm::DelegatedEvmWalletClient; +use dynamic_waas_sdk_svm::DelegatedSvmWalletClient; + +use rust_server_wallets::{cli, delegated::DelegatedWalletFile, dynamic as factory}; + +#[derive(Parser, Debug)] +struct Args { + /// Message to sign + message: String, + /// Path to wallet.json (defaults to ./wallet.json next to this binary) + #[arg(long, default_value = "wallet.json")] + wallet: PathBuf, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + let file = DelegatedWalletFile::load(&args.wallet)?; + println!("Chain: {}", file.chain); + println!("Wallet ID: {}", file.wallet_id); + println!("Address: {}", file.address); + + // Per-wallet delegated client — auth is the wallet API key delivered + // via webhook. + let delegated = factory::delegated_client(&file.wallet_api_key)?; + let share = file.share(); + + // Build a WalletProperties from the wallet.json identity fields. + // For delegated flows, the customer always has wallet_id + address; + // chain comes from the same payload. + let wp = WalletProperties::new(&file.chain, &file.wallet_id, &file.address); + + let started = std::time::Instant::now(); + let signature = match file.chain.as_str() { + "EVM" => DelegatedEvmWalletClient::new(&delegated) + .sign_message(&wp, std::slice::from_ref(&share), &args.message) + .await + .context("delegated EVM sign_message")?, + "SVM" => DelegatedSvmWalletClient::new(&delegated) + .sign_message(&wp, std::slice::from_ref(&share), &args.message) + .await + .context("delegated SVM sign_message")?, + other => anyhow::bail!("unsupported chain in wallet.json: {other:?} (use EVM or SVM)"), + }; + + println!( + "\nMessage signed in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Message: {:?}", args.message); + println!("Signature: {signature}"); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/evm-recover-key-shares.rs b/examples/rust-server-wallets/src/bin/evm-recover-key-shares.rs new file mode 100644 index 0000000..8f5e26e --- /dev/null +++ b/examples/rust-server-wallets/src/bin/evm-recover-key-shares.rs @@ -0,0 +1,64 @@ +//! Recover key shares for a wallet that was created with +//! `back_up_to_dynamic=true`. After recovery, the shares can be re-vaulted +//! and used for signing. +//! +//! Example: +//! +//! cargo run --bin evm-recover-key-shares -- \ +//! --wallet-id \ +//! --password mySecretPassword \ +//! --key-share-id +//! +//! `wallet-id` and `key-share-id` come from the original backup. The Node +//! and Python SDKs read them out of +//! `wallet_properties.external_server_key_shares_backup_info.backups["dynamic"]`; +//! this binary takes them as flags so it can recover without first +//! retrieving the full WalletProperties. + +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::run_recover_key_shares; + +use rust_server_wallets::{cli, dynamic as factory}; + +#[derive(Parser, Debug)] +#[command(about = "Recover backed-up key shares for a Dynamic wallet")] +struct Args { + /// Wallet UUID (returned by create_wallet_account as `wallet_id`) + #[arg(long)] + wallet_id: String, + /// Backup password (must match the password used at create time) + #[arg(long)] + password: String, + /// One or more server-assigned key share UUIDs from the original backup + #[arg(long, required = true)] + key_share_id: Vec, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + + let client = factory::authenticated_client().await?; + println!("Recovering {} key share(s)...", args.key_share_id.len()); + let started = std::time::Instant::now(); + + let shares = + run_recover_key_shares(&client, &args.wallet_id, args.key_share_id, &args.password) + .await + .context("recover key shares")?; + + println!( + "Recovered {} share(s) in {:.2}s", + shares.len(), + started.elapsed().as_secs_f64() + ); + for (i, s) in shares.iter().enumerate() { + println!(" share {}: keygen_id={}", i + 1, s.key_share_id); + } + println!(); + println!("These shares are now in memory only. Re-vault them in your KMS / database"); + println!("if you intend to use them in future sessions."); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/evm-send-transaction.rs b/examples/rust-server-wallets/src/bin/evm-send-transaction.rs new file mode 100644 index 0000000..431cf68 --- /dev/null +++ b/examples/rust-server-wallets/src/bin/evm-send-transaction.rs @@ -0,0 +1,118 @@ +//! Sign + broadcast an EVM transaction. Fetches a live nonce + gas price +//! from the configured `EVM_RPC_URL`, signs the tx via Dynamic's MPC +//! ceremony (`run_sign_ecdsa`), and submits the raw bytes to the same +//! RPC endpoint. +//! +//! Examples: +//! +//! cargo run --bin evm-send-transaction +//! cargo run --bin evm-send-transaction -- --address 0xabc... + +use alloy::consensus::{SignableTransaction, TxEnvelope, TxLegacy}; +use alloy::eips::eip2718::Encodable2718; +use alloy::primitives::{Address, PrimitiveSignature, TxKind, U256}; +use alloy::providers::{Provider, ProviderBuilder}; +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::{mpc_config::EVM_DERIVATION_PATH, run_sign_ecdsa, SignOpts}; +use std::str::FromStr; + +use rust_server_wallets::{cli, config, dynamic as factory, utils, walletops}; + +#[derive(Parser, Debug)] +struct Args { + /// Use a saved wallet by address (omit to create an ephemeral wallet) + #[arg(long)] + address: Option, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + let cfg = config::require_dynamic_creds()?; + let rpc_url = cfg + .evm_rpc_url + .as_deref() + .ok_or_else(|| anyhow::anyhow!("EVM_RPC_URL is required — set it in .env"))?; + + let client = factory::authenticated_client().await?; + let (wp, shares) = walletops::ensure_evm_wallet(&client, args.address.as_deref()).await?; + let from = Address::from_str(&wp.account_address).context("parse wallet address")?; + + // Build an HTTP provider against the configured RPC. + let provider = + ProviderBuilder::new().on_http(rpc_url.parse().context("parse EVM_RPC_URL")?); + + // Pre-flight: live nonce + suggested gas price so the tx has a chance + // of landing. + let nonce = provider + .get_transaction_count(from) + .await + .context("fetch nonce")?; + let gas_price = provider.get_gas_price().await.context("fetch gas price")?; + + let tx = TxLegacy { + chain_id: Some(config::BASE_SEPOLIA_CHAIN_ID), + nonce, + gas_price, + gas_limit: 21_000, + to: TxKind::Call(Address::from([0u8; 20])), + value: U256::ZERO, + input: Default::default(), + }; + + let signing_hash = tx.signature_hash(); + + // Sign via MPC. + let share = shares + .first() + .ok_or_else(|| anyhow::anyhow!("no key shares"))? + .clone(); + let derivation_path = wp + .derivation_path + .clone() + .unwrap_or_else(|| EVM_DERIVATION_PATH.to_vec()); + let hash_bytes: [u8; 32] = signing_hash.into(); + + println!("\nSigning EVM transaction..."); + let started = std::time::Instant::now(); + let sig = run_sign_ecdsa( + &client, + SignOpts::new( + wp.wallet_id.clone(), + hash_bytes, + hex::encode(hash_bytes), + /* is_formatted */ true, + share, + derivation_path, + ), + ) + .await + .context("run_sign_ecdsa")?; + + let primitive = PrimitiveSignature::new( + U256::from_be_slice(&sig.r), + U256::from_be_slice(&sig.s), + /* parity */ sig.v == 28, + ); + let signed = tx.into_signed(primitive); + let envelope: TxEnvelope = signed.into(); + let raw = envelope.encoded_2718(); + + println!("Broadcasting via {rpc_url}..."); + let pending = provider + .send_raw_transaction(&raw) + .await + .context("eth_sendRawTransaction")?; + let hash = *pending.tx_hash(); + + println!( + "\nTransaction sent in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Hash: {hash}"); + println!("Explorer: {}", utils::evm_tx_link(&hash.to_string())); + println!("Wallet: {}", from); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/evm-sign-message.rs b/examples/rust-server-wallets/src/bin/evm-sign-message.rs new file mode 100644 index 0000000..911fe15 --- /dev/null +++ b/examples/rust-server-wallets/src/bin/evm-sign-message.rs @@ -0,0 +1,46 @@ +//! Sign an EIP-191 personal_sign message with a Dynamic EVM server wallet. +//! +//! Examples: +//! +//! cargo run --bin evm-sign-message -- "Hello, World!" +//! cargo run --bin evm-sign-message -- "Hello, World!" --address 0xabc... + +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk_evm::DynamicEvmWalletClient; + +use rust_server_wallets::{cli, dynamic as factory, walletops}; + +#[derive(Parser, Debug)] +struct Args { + /// Message to sign + message: String, + /// Use a saved wallet by address (omit to create an ephemeral wallet) + #[arg(long)] + address: Option, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + let client = factory::authenticated_client().await?; + let (wp, shares) = walletops::ensure_evm_wallet(&client, args.address.as_deref()).await?; + + let evm = DynamicEvmWalletClient::new(&client); + println!("\nSigning message..."); + let started = std::time::Instant::now(); + let sig = evm + .sign_message(&wp, &shares, &args.message) + .await + .context("sign message")?; + + println!( + "\nMessage signed in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Message: {:?}", args.message); + println!("Signature: {sig}"); + println!("Signer: {}", wp.account_address); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/evm-sign-transaction.rs b/examples/rust-server-wallets/src/bin/evm-sign-transaction.rs new file mode 100644 index 0000000..7485e97 --- /dev/null +++ b/examples/rust-server-wallets/src/bin/evm-sign-transaction.rs @@ -0,0 +1,114 @@ +//! Sign a legacy EVM transaction using the Dynamic SDK's `run_sign_ecdsa` +//! primitive. Returns the raw signed transaction hex — no broadcast. +//! For broadcasting, see `evm-send-transaction`. +//! +//! Examples: +//! +//! cargo run --bin evm-sign-transaction +//! cargo run --bin evm-sign-transaction -- --address 0xabc... + +use alloy::consensus::{SignableTransaction, TxEnvelope, TxLegacy}; +use alloy::eips::eip2718::Encodable2718; +use alloy::primitives::{Address, PrimitiveSignature, TxKind, U256}; +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::{mpc_config::EVM_DERIVATION_PATH, run_sign_ecdsa, SignOpts}; +use std::str::FromStr; + +use rust_server_wallets::{cli, config, dynamic as factory, walletops}; + +#[derive(Parser, Debug)] +struct Args { + /// Use a saved wallet by address (omit to create an ephemeral wallet) + #[arg(long)] + address: Option, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + config::require_dynamic_creds()?; + + let client = factory::authenticated_client().await?; + let (wp, shares) = walletops::ensure_evm_wallet(&client, args.address.as_deref()).await?; + let from = Address::from_str(&wp.account_address).context("parse wallet address")?; + + // Example legacy transaction on Base Sepolia. In production, fetch + // a live nonce + gas price from an RPC provider before signing — + // see `evm-send-transaction` for that flow. + let tx = TxLegacy { + chain_id: Some(config::BASE_SEPOLIA_CHAIN_ID), + nonce: 0, + gas_price: 1_000_000_000, // 1 gwei + gas_limit: 21_000, + to: TxKind::Call(Address::from([0u8; 20])), + value: U256::ZERO, + input: Default::default(), + }; + + // 1. Compute the signing hash (keccak256 of RLP-encoded unsigned tx). + let signing_hash = tx.signature_hash(); + + // 2. Sign via MPC. + let share = shares + .first() + .ok_or_else(|| anyhow::anyhow!("no key shares"))? + .clone(); + let derivation_path = wp + .derivation_path + .clone() + .unwrap_or_else(|| EVM_DERIVATION_PATH.to_vec()); + let hash_bytes: [u8; 32] = signing_hash.into(); + + println!("\nSigning EVM transaction..."); + let started = std::time::Instant::now(); + let sig = run_sign_ecdsa( + &client, + SignOpts::new( + wp.wallet_id.clone(), + hash_bytes, + hex::encode(hash_bytes), + /* is_formatted */ true, + share, + derivation_path, + ), + ) + .await + .context("run_sign_ecdsa")?; + + // 3. Attach the signature and serialise as a signed wire tx. + let primitive = PrimitiveSignature::new( + U256::from_be_slice(&sig.r), + U256::from_be_slice(&sig.s), + /* parity */ sig.v == 28, + ); + // Sanity: recovered signer must match the wallet address. + let recovered = primitive + .recover_address_from_prehash(&signing_hash) + .context("recover signer from tx signing hash")?; + if recovered != from { + anyhow::bail!("recovered signer {recovered} does NOT match wallet address {from}"); + } + + let signed = tx.into_signed(primitive); + let tx_hash = *signed.hash(); + // Encodable2718 is implemented on the envelope, not on Signed. + let envelope: TxEnvelope = signed.into(); + let raw = envelope.encoded_2718(); + + println!( + "\nTransaction signed in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Chain: Base Sepolia ({})", config::BASE_SEPOLIA_CHAIN_ID); + println!("Tx hash (pre-broadcast): {}", tx_hash); + println!("Raw TX: 0x{}", hex::encode(&raw)); + println!("Signer: {}", from); + println!("\nTo broadcast manually:"); + println!( + " curl -X POST $EVM_RPC_URL -d '{{\"jsonrpc\":\"2.0\",\"method\":\"eth_sendRawTransaction\",\"params\":[\"0x{}\"],\"id\":1}}'", + hex::encode(&raw) + ); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/evm-sign-typed-data.rs b/examples/rust-server-wallets/src/bin/evm-sign-typed-data.rs new file mode 100644 index 0000000..502f0af --- /dev/null +++ b/examples/rust-server-wallets/src/bin/evm-sign-typed-data.rs @@ -0,0 +1,130 @@ +//! Sign an EIP-712 typed-data structure using the Dynamic SDK's low-level +//! `run_sign_ecdsa` orchestrator (the high-level +//! `DynamicEvmWalletClient::sign_typed_data` wrapper hasn't shipped yet in +//! 0.0.3, but the underlying primitive is public). +//! +//! Examples: +//! +//! cargo run --bin evm-sign-typed-data +//! cargo run --bin evm-sign-typed-data -- --address 0xabc... + +use alloy::dyn_abi::TypedData; +use alloy::primitives::{Address, B256, U256}; +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::{mpc_config::EVM_DERIVATION_PATH, run_sign_ecdsa, SignOpts}; +use std::str::FromStr; + +use rust_server_wallets::{cli, config, dynamic as factory, walletops}; + +#[derive(Parser, Debug)] +struct Args { + /// Use a saved wallet by address (omit to create an ephemeral wallet) + #[arg(long)] + address: Option, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + config::require_dynamic_creds()?; + + let client = factory::authenticated_client().await?; + let (wp, shares) = walletops::ensure_evm_wallet(&client, args.address.as_deref()).await?; + let from = Address::from_str(&wp.account_address).context("parse wallet address")?; + + // Build the typed-data structure. Same shape the Go and Python + // examples use: a `Mail` struct with chainId=1. + let typed_data: TypedData = serde_json::from_value(serde_json::json!({ + "types": { + "EIP712Domain": [ + { "name": "name", "type": "string" }, + { "name": "version", "type": "string" }, + { "name": "chainId", "type": "uint256" } + ], + "Mail": [ + { "name": "from", "type": "address" }, + { "name": "to", "type": "address" }, + { "name": "contents", "type": "string" } + ] + }, + "primaryType": "Mail", + "domain": { + "name": "DynamicRustSDKExample", + "version": "1", + "chainId": 1 + }, + "message": { + "from": from.to_checksum(None), + "to": "0x0000000000000000000000000000000000000001", + "contents": "hello typed data" + } + })) + .context("build typed data")?; + + // 1. Compute the EIP-712 digest locally: + // keccak256("\x19\x01" || domainSeparator || messageHash) + let digest: B256 = typed_data + .eip712_signing_hash() + .context("compute EIP-712 signing hash")?; + + // 2. Sign the digest. is_formatted=true tells the server "this is + // already the final digest — don't apply EIP-191 wrapping". + let share = shares + .first() + .ok_or_else(|| anyhow::anyhow!("no key shares"))? + .clone(); + let derivation_path = wp + .derivation_path + .clone() + .unwrap_or_else(|| EVM_DERIVATION_PATH.to_vec()); + let digest_bytes: [u8; 32] = digest.into(); + + println!("\nSigning EIP-712 typed data..."); + let started = std::time::Instant::now(); + let sig = run_sign_ecdsa( + &client, + SignOpts::new( + wp.wallet_id.clone(), + digest_bytes, + hex::encode(digest_bytes), + /* is_formatted */ true, + share, + derivation_path, + ), + ) + .await + .context("run_sign_ecdsa")?; + + // 3. Serialise as 0x-prefixed r||s||v (65 bytes; v ∈ {27, 28}). + let mut bytes = Vec::with_capacity(65); + bytes.extend_from_slice(&sig.r); + bytes.extend_from_slice(&sig.s); + bytes.push(sig.v); + let signature_hex = format!("0x{}", hex::encode(&bytes)); + + // Sanity check the signature recovers to the wallet address. + let primitive = alloy::primitives::PrimitiveSignature::new( + U256::from_be_slice(&sig.r), + U256::from_be_slice(&sig.s), + /* parity */ sig.v == 28, + ); + let recovered = primitive + .recover_address_from_prehash(&digest) + .context("recover signer from typed-data digest")?; + + println!( + "\nTyped data signed in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Primary type: {}", typed_data.primary_type); + println!("Signature: {signature_hex}"); + println!("Signer: {}", wp.account_address); + if recovered.eq(&from) { + println!("Recovered signer matches wallet address ✓"); + } else { + anyhow::bail!("recovered signer {recovered} does NOT match wallet address {from}"); + } + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/evm-wallet.rs b/examples/rust-server-wallets/src/bin/evm-wallet.rs new file mode 100644 index 0000000..c91c11d --- /dev/null +++ b/examples/rust-server-wallets/src/bin/evm-wallet.rs @@ -0,0 +1,153 @@ +//! Create, list, and delete Dynamic EVM server wallets. +//! +//! Examples: +//! +//! cargo run --bin evm-wallet -- --create +//! cargo run --bin evm-wallet -- --create --save +//! cargo run --bin evm-wallet -- --create --save --backup --password mySecretPassword +//! cargo run --bin evm-wallet -- --list +//! cargo run --bin evm-wallet -- --delete 0x123... + +use anyhow::Context; +use chrono::Utc; +use clap::Parser; +use dynamic_waas_sdk::ThresholdSignatureScheme; +use dynamic_waas_sdk_evm::DynamicEvmWalletClient; + +use rust_server_wallets::{ + cli, dynamic as factory, storage, + storage::{StoredKeyShare, StoredWallet}, +}; + +#[derive(Parser, Debug)] +#[command(about = "Manage Dynamic EVM server wallets")] +struct Args { + /// Create a new wallet + #[arg(long)] + create: bool, + /// List saved EVM wallets + #[arg(long)] + list: bool, + /// Delete a saved wallet by address + #[arg(long)] + delete: Option, + /// Persist the wallet to .wallets.json + #[arg(long, requires = "create")] + save: bool, + /// Back up the share to Dynamic (requires --password to later sign) + #[arg(long, requires = "create")] + backup: bool, + /// Password used to encrypt the backup (required with --backup) + #[arg(long)] + password: Option, + /// Threshold scheme (Rust SDK 0.0.3 supports 2 only) + #[arg(long, default_value_t = 2)] + threshold: u8, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + + if !args.create && !args.list && args.delete.is_none() { + anyhow::bail!("specify --create, --list, or --delete
"); + } + + if args.list { + return run_list(); + } + if let Some(addr) = args.delete { + return run_delete(&addr); + } + + run_create(args).await + }) +} + +async fn run_create(args: Args) -> anyhow::Result<()> { + if args.threshold != 2 { + println!( + "Note: Rust SDK 0.0.3 only supports threshold=2 (2-of-2). Ignoring --threshold={}.", + args.threshold + ); + } + if args.backup && args.password.is_none() { + anyhow::bail!("--backup requires --password"); + } + + let client = factory::authenticated_client().await?; + let evm = DynamicEvmWalletClient::new(&client); + + println!("Creating EVM server wallet (TWO_OF_TWO)..."); + let started = std::time::Instant::now(); + let (wp, shares) = evm + .create_wallet_account( + ThresholdSignatureScheme::default(), + args.password.clone(), + args.backup, + ) + .await + .context("create wallet")?; + + println!( + "Server wallet created in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Address: {}", wp.account_address); + println!("Wallet ID: {}", wp.wallet_id); + if args.backup { + println!("Key share backed up to Dynamic"); + } + + if !args.save { + println!("Tip: Add --save to persist this wallet for reuse"); + return Ok(()); + } + + let stored = StoredWallet { + address: wp.account_address.clone(), + wallet_id: wp.wallet_id.clone(), + chain_name: wp.chain_name.clone(), + threshold_signature_scheme: wp.threshold_signature_scheme, + derivation_path: wp.derivation_path.clone(), + key_shares: if args.backup { + Vec::new() + } else { + shares.iter().map(StoredKeyShare::from).collect() + }, + created_at: Utc::now().to_rfc3339(), + }; + storage::save(&stored)?; + println!("Wallet saved to .wallets.json"); + Ok(()) +} + +fn run_list() -> anyhow::Result<()> { + let wallets = storage::list(Some("EVM"))?; + if wallets.is_empty() { + println!("No saved EVM wallets found."); + println!("Tip: Use `cargo run --bin evm-wallet -- --create --save` to create one."); + return Ok(()); + } + println!("Saved EVM wallets ({}):\n", wallets.len()); + for (i, w) in wallets.iter().enumerate() { + println!("{}. {}", i + 1, w.address); + println!(" Wallet ID: {}", w.wallet_id); + let loc = if w.key_shares.is_empty() { + "backed up to Dynamic" + } else { + "stored locally" + }; + println!(" Key shares: {loc}"); + println!(" Created: {}\n", w.created_at); + } + Ok(()) +} + +fn run_delete(addr: &str) -> anyhow::Result<()> { + if !storage::delete(addr)? { + anyhow::bail!("wallet not found: {addr}"); + } + println!("Wallet deleted successfully"); + Ok(()) +} diff --git a/examples/rust-server-wallets/src/bin/omnibus-sweep.rs b/examples/rust-server-wallets/src/bin/omnibus-sweep.rs new file mode 100644 index 0000000..58e857b --- /dev/null +++ b/examples/rust-server-wallets/src/bin/omnibus-sweep.rs @@ -0,0 +1,142 @@ +//! End-to-end omnibus demo: create one "omnibus" wallet plus N customer +//! wallets, then sign a message from each customer wallet to demonstrate +//! throughput at scale. +//! +//! This demo signs an auth message per customer wallet rather than +//! broadcasting a real on-chain sweep — upgrading to ERC-20 transfers +//! via `run_sign_ecdsa` + `alloy` is a follow-up. The shape (parallel +//! wallet creation, parallel signing) is what matters for the +//! throughput demonstration. +//! +//! Examples: +//! +//! cargo run --bin omnibus-sweep +//! cargo run --bin omnibus-sweep -- --wallets 20 + +use std::time::Instant; + +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::ThresholdSignatureScheme; +use dynamic_waas_sdk_evm::DynamicEvmWalletClient; +use futures::stream::{self, StreamExt}; + +use rust_server_wallets::{cli, config, dynamic as factory, utils}; + +#[derive(Parser, Debug)] +struct Args { + /// Number of customer wallets to create + #[arg(long, default_value_t = 10)] + wallets: usize, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + if args.wallets == 0 { + anyhow::bail!("--wallets must be positive"); + } + + let client = factory::authenticated_client().await?; + let evm = DynamicEvmWalletClient::new(&client); + + println!("Dynamic Server Wallets Demo — Omnibus Sweep"); + println!("{}", "=".repeat(60)); + println!( + "Configuration: {} wallets, chain id {}", + args.wallets, + config::BASE_SEPOLIA_CHAIN_ID + ); + println!("{}", "=".repeat(60)); + + println!("\nCreating omnibus wallet..."); + let (omnibus_wp, _omnibus_shares) = evm + .create_wallet_account(ThresholdSignatureScheme::default(), None, false) + .await + .context("create omnibus wallet")?; + println!( + "Omnibus wallet: {}\n", + utils::format_address(&omnibus_wp.account_address) + ); + + println!("Creating {} customer wallets...", args.wallets); + let customers = stream::iter(0..args.wallets) + .map(|i| { + let evm = DynamicEvmWalletClient::new(&client); + async move { + let result = evm + .create_wallet_account(ThresholdSignatureScheme::default(), None, false) + .await; + match result { + Ok((wp, shares)) => { + println!( + " customer wallet {} created: {}", + i + 1, + utils::format_address(&wp.account_address) + ); + Some((wp, shares)) + } + Err(e) => { + eprintln!(" customer wallet {} failed: {e}", i + 1); + None + } + } + } + }) + .buffer_unordered(config::WALLET_CREATION_CONCURRENCY) + .filter_map(|w| async move { w }) + .collect::>() + .await; + println!( + "Created {}/{} customer wallets\n", + customers.len(), + args.wallets + ); + + if customers.is_empty() { + anyhow::bail!("no customer wallets were created"); + } + + println!("Signing one auth message per customer wallet (sweep stand-in)...",); + let started = Instant::now(); + let signed = stream::iter(customers.iter().enumerate()) + .map(|(i, (wp, shares))| { + let evm = DynamicEvmWalletClient::new(&client); + let omnibus_addr = omnibus_wp.account_address.clone(); + async move { + let message = format!("sweep::customer_{}::to::{omnibus_addr}", i + 1); + match evm.sign_message(wp, shares, &message).await { + Ok(sig) => { + println!(" customer {} signed: {}", i + 1, &sig[..sig.len().min(20)]); + true + } + Err(e) => { + eprintln!(" customer {} sign failed: {e}", i + 1); + false + } + } + } + }) + .buffer_unordered(config::TRANSACTION_CONCURRENCY) + .filter(|ok| { + let ok = *ok; + async move { ok } + }) + .count() + .await; + + println!("{}", "=".repeat(60)); + println!("Demo completed in {:.2}s", started.elapsed().as_secs_f64()); + println!( + "Omnibus wallet: {} ({})", + omnibus_wp.account_address, + utils::evm_address_link(&omnibus_wp.account_address) + ); + println!("Sweep messages signed: {signed}"); + println!( + "Upgrade path: swap the sign_message call above for a real ERC-20 transfer \ + via run_sign_ecdsa + alloy to complete the sweep on-chain." + ); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/svm-send-transaction.rs b/examples/rust-server-wallets/src/bin/svm-send-transaction.rs new file mode 100644 index 0000000..40c44f4 --- /dev/null +++ b/examples/rust-server-wallets/src/bin/svm-send-transaction.rs @@ -0,0 +1,99 @@ +//! Sign + broadcast a Solana transaction. Fetches a fresh blockhash from +//! `SOLANA_RPC_URL`, signs via Dynamic's MPC ceremony +//! (`run_sign_ed25519`), assembles the wire transaction, and submits it +//! via `sendTransaction`. +//! +//! Sponsored mode (`--sponsored`) isn't supported here — the Rust SDK +//! 0.0.3 doesn't expose `sponsor_transaction`. +//! +//! Examples: +//! +//! cargo run --bin svm-send-transaction +//! cargo run --bin svm-send-transaction -- --address
+ +use std::str::FromStr; + +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::{run_sign_ed25519, SignOptsEd25519}; +use solana_client::nonblocking::rpc_client::RpcClient; +#[allow(deprecated)] +use solana_sdk::system_instruction; +use solana_sdk::{ + commitment_config::CommitmentConfig, instruction::Instruction, message::Message, + pubkey::Pubkey, signature::Signature, transaction::Transaction, +}; + +use rust_server_wallets::{cli, config, dynamic as factory, utils, walletops}; + +#[derive(Parser, Debug)] +struct Args { + /// Use a saved wallet by address (omit to create an ephemeral wallet) + #[arg(long)] + address: Option, + /// Use Dynamic gas sponsorship (not supported in Rust SDK 0.0.3) + #[arg(long)] + sponsored: bool, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + let cfg = config::require_dynamic_creds()?; + let rpc_url = cfg + .solana_rpc_url + .as_deref() + .ok_or_else(|| anyhow::anyhow!("SOLANA_RPC_URL is required — set it in .env"))?; + if args.sponsored { + anyhow::bail!( + "--sponsored is not supported by dynamic-waas-sdk-svm 0.0.3 — \ + sponsor_transaction is not yet exposed in this SDK version." + ); + } + + let client = factory::authenticated_client().await?; + let (wp, shares) = walletops::ensure_svm_wallet(&client, args.address.as_deref()).await?; + let from = Pubkey::from_str(&wp.account_address).context("parse Solana address")?; + + // Fetch a fresh blockhash so the cluster will accept the tx. + let rpc = + RpcClient::new_with_commitment(rpc_url.to_string(), CommitmentConfig::finalized()); + let recent_blockhash = rpc + .get_latest_blockhash() + .await + .context("fetch latest blockhash")?; + + let instruction: Instruction = system_instruction::transfer(&from, &from, 0); + let message = Message::new_with_blockhash(&[instruction], Some(&from), &recent_blockhash); + let message_bytes = message.serialize(); + + let share = shares + .first() + .ok_or_else(|| anyhow::anyhow!("no key shares"))? + .clone(); + + println!("\nSending Solana transaction..."); + let started = std::time::Instant::now(); + let sig_arr: [u8; 64] = run_sign_ed25519( + &client, + SignOptsEd25519::new(wp.wallet_id.clone(), message_bytes.clone(), share), + ) + .await + .context("run_sign_ed25519")?; + let signature = Signature::from(sig_arr); + + let mut tx = Transaction::new_unsigned(message); + tx.signatures[0] = signature; + + let sig = rpc.send_transaction(&tx).await.context("sendTransaction")?; + + println!( + "\nTransaction sent in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Signature: {sig}"); + println!("Explorer: {}", utils::solana_tx_link(&sig.to_string())); + println!("Wallet: {}", from); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/svm-sign-message.rs b/examples/rust-server-wallets/src/bin/svm-sign-message.rs new file mode 100644 index 0000000..2fa40db --- /dev/null +++ b/examples/rust-server-wallets/src/bin/svm-sign-message.rs @@ -0,0 +1,40 @@ +//! Sign a UTF-8 message with a Dynamic Solana server wallet. Returns a +//! base58-encoded 64-byte Ed25519 signature. + +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk_svm::DynamicSvmWalletClient; + +use rust_server_wallets::{cli, dynamic as factory, walletops}; + +#[derive(Parser, Debug)] +struct Args { + message: String, + #[arg(long)] + address: Option, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + let client = factory::authenticated_client().await?; + let (wp, shares) = walletops::ensure_svm_wallet(&client, args.address.as_deref()).await?; + + let svm = DynamicSvmWalletClient::new(&client); + println!("\nSigning Solana message..."); + let started = std::time::Instant::now(); + let sig = svm + .sign_message(&wp, &shares, &args.message) + .await + .context("sign message")?; + + println!( + "\nMessage signed in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Message: {:?}", args.message); + println!("Signature (base58): {sig}"); + println!("Signer: {}", wp.account_address); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/svm-sign-transaction.rs b/examples/rust-server-wallets/src/bin/svm-sign-transaction.rs new file mode 100644 index 0000000..d3bb2b3 --- /dev/null +++ b/examples/rust-server-wallets/src/bin/svm-sign-transaction.rs @@ -0,0 +1,83 @@ +//! Sign a Solana transaction message using the Dynamic SDK's +//! `run_sign_ed25519` primitive. Builds a 0-lamport self-transfer on +//! devnet, signs the message bytes, attaches the signature to a wire +//! transaction, and prints the raw hex. No broadcast — see +//! `svm-send-transaction` for that. +//! +//! Examples: +//! +//! cargo run --bin svm-sign-transaction +//! cargo run --bin svm-sign-transaction -- --address
+ +use std::str::FromStr; + +use anyhow::Context; +use clap::Parser; +use dynamic_waas_sdk::{run_sign_ed25519, SignOptsEd25519}; +#[allow(deprecated)] +use solana_sdk::system_instruction; +use solana_sdk::{ + hash::Hash, instruction::Instruction, message::Message, pubkey::Pubkey, signature::Signature, + transaction::Transaction, +}; + +use rust_server_wallets::{cli, config, dynamic as factory, walletops}; + +#[derive(Parser, Debug)] +struct Args { + /// Use a saved wallet by address (omit to create an ephemeral wallet) + #[arg(long)] + address: Option, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + config::require_dynamic_creds()?; + + let client = factory::authenticated_client().await?; + let (wp, shares) = walletops::ensure_svm_wallet(&client, args.address.as_deref()).await?; + let from = Pubkey::from_str(&wp.account_address).context("parse Solana address")?; + + // Build a minimal self-transfer (0 lamports) — exercises the same + // sign path as a real instruction without needing devnet funds. + // Hash::default() is a placeholder blockhash; for actual broadcast + // see svm-send-transaction (it fetches a fresh blockhash from the RPC). + let instruction: Instruction = system_instruction::transfer(&from, &from, 0); + let message = Message::new_with_blockhash(&[instruction], Some(&from), &Hash::default()); + let message_bytes = message.serialize(); + + // Sign via MPC. The server-side request is hardcoded to + // is_formatted=false; the SDK signs the raw message bytes. + let share = shares + .first() + .ok_or_else(|| anyhow::anyhow!("no key shares"))? + .clone(); + + println!("\nSigning Solana transaction message..."); + let started = std::time::Instant::now(); + let sig_arr: [u8; 64] = run_sign_ed25519( + &client, + SignOptsEd25519::new(wp.wallet_id.clone(), message_bytes.clone(), share), + ) + .await + .context("run_sign_ed25519")?; + let signature = Signature::from(sig_arr); + + // Attach the signature into the wire transaction. + let mut tx = Transaction::new_unsigned(message); + tx.signatures[0] = signature; + + let wire = bincode::serialize(&tx).context("serialize signed tx")?; + + println!( + "\nTransaction signed in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Signature (base58): {}", signature); + println!("Wire tx (hex): 0x{}", hex::encode(&wire)); + println!("Signer: {}", from); + println!("\nTo broadcast manually, base64-encode the wire bytes and POST to the RPC's sendTransaction method."); + Ok(()) + }) +} diff --git a/examples/rust-server-wallets/src/bin/svm-wallet.rs b/examples/rust-server-wallets/src/bin/svm-wallet.rs new file mode 100644 index 0000000..4ea498d --- /dev/null +++ b/examples/rust-server-wallets/src/bin/svm-wallet.rs @@ -0,0 +1,133 @@ +//! Create, list, and delete Dynamic Solana (SVM) server wallets. +//! +//! Examples: +//! +//! cargo run --bin svm-wallet -- --create +//! cargo run --bin svm-wallet -- --create --save +//! cargo run --bin svm-wallet -- --create --save --backup --password myPassword +//! cargo run --bin svm-wallet -- --list +//! cargo run --bin svm-wallet -- --delete
+ +use anyhow::Context; +use chrono::Utc; +use clap::Parser; +use dynamic_waas_sdk::ThresholdSignatureScheme; +use dynamic_waas_sdk_svm::DynamicSvmWalletClient; + +use rust_server_wallets::{ + cli, dynamic as factory, storage, + storage::{StoredKeyShare, StoredWallet}, +}; + +#[derive(Parser, Debug)] +#[command(about = "Manage Dynamic Solana server wallets")] +struct Args { + #[arg(long)] + create: bool, + #[arg(long)] + list: bool, + #[arg(long)] + delete: Option, + #[arg(long, requires = "create")] + save: bool, + #[arg(long, requires = "create")] + backup: bool, + #[arg(long)] + password: Option, +} + +fn main() { + cli::run(|| async { + let args = Args::parse(); + if !args.create && !args.list && args.delete.is_none() { + anyhow::bail!("specify --create, --list, or --delete
"); + } + if args.list { + return run_list(); + } + if let Some(addr) = args.delete { + return run_delete(&addr); + } + run_create(args).await + }) +} + +async fn run_create(args: Args) -> anyhow::Result<()> { + if args.backup && args.password.is_none() { + anyhow::bail!("--backup requires --password"); + } + let client = factory::authenticated_client().await?; + let svm = DynamicSvmWalletClient::new(&client); + + println!("Creating Solana server wallet..."); + let started = std::time::Instant::now(); + let (wp, shares) = svm + .create_wallet_account( + ThresholdSignatureScheme::default(), + args.password.clone(), + args.backup, + ) + .await + .context("create wallet")?; + + println!( + "Solana wallet created in {:.2}s", + started.elapsed().as_secs_f64() + ); + println!("Address: {}", wp.account_address); + println!("Wallet ID: {}", wp.wallet_id); + if args.backup { + println!("Key share backed up to Dynamic"); + } + + if !args.save { + println!("Tip: Add --save to persist this wallet for reuse"); + return Ok(()); + } + + let stored = StoredWallet { + address: wp.account_address.clone(), + wallet_id: wp.wallet_id.clone(), + chain_name: wp.chain_name.clone(), + threshold_signature_scheme: wp.threshold_signature_scheme, + derivation_path: wp.derivation_path.clone(), + key_shares: if args.backup { + Vec::new() + } else { + shares.iter().map(StoredKeyShare::from).collect() + }, + created_at: Utc::now().to_rfc3339(), + }; + storage::save(&stored)?; + println!("Wallet saved to .wallets.json"); + Ok(()) +} + +fn run_list() -> anyhow::Result<()> { + let wallets = storage::list(Some("SVM"))?; + if wallets.is_empty() { + println!("No saved Solana wallets found."); + return Ok(()); + } + println!("Saved Solana wallets ({}):\n", wallets.len()); + for (i, w) in wallets.iter().enumerate() { + println!("{}. {}", i + 1, w.address); + println!(" Wallet ID: {}", w.wallet_id); + let loc = if w.key_shares.is_empty() { + "backed up to Dynamic" + } else { + "stored locally" + }; + println!(" Key shares: {loc}"); + println!(" Created: {}\n", w.created_at); + } + Ok(()) +} + +fn run_delete(addr: &str) -> anyhow::Result<()> { + if !storage::delete(addr)? { + anyhow::bail!("wallet not found: {addr}"); + } + println!("Wallet deleted successfully"); + Ok(()) +} diff --git a/examples/rust-server-wallets/src/cli.rs b/examples/rust-server-wallets/src/cli.rs new file mode 100644 index 0000000..f29f142 --- /dev/null +++ b/examples/rust-server-wallets/src/cli.rs @@ -0,0 +1,44 @@ +//! Shared CLI scaffolding: tracing init + signal-aware Tokio entrypoint. + +use std::future::Future; + +/// Configure tracing once per process. Reads RUST_LOG (default = `info`). +pub fn init_tracing() { + use tracing_subscriber::EnvFilter; + let _ = tracing_subscriber::fmt() + .with_env_filter( + EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info")), + ) + .with_target(false) + .try_init(); +} + +/// Run an async main with sensible defaults: multi-thread Tokio runtime, +/// SIGINT cancellation, and a top-level anyhow error reporter. +pub fn run(f: F) +where + F: FnOnce() -> Fut, + Fut: Future>, +{ + init_tracing(); + + let rt = tokio::runtime::Builder::new_multi_thread() + .enable_all() + .build() + .expect("build Tokio runtime"); + + let result = rt.block_on(async { + tokio::select! { + res = f() => res, + _ = tokio::signal::ctrl_c() => { + eprintln!("\nInterrupted."); + Ok(()) + } + } + }); + + if let Err(err) = result { + eprintln!("Error: {err:#}"); + std::process::exit(1); + } +} diff --git a/examples/rust-server-wallets/src/config.rs b/examples/rust-server-wallets/src/config.rs new file mode 100644 index 0000000..76e805e --- /dev/null +++ b/examples/rust-server-wallets/src/config.rs @@ -0,0 +1,64 @@ +//! Environment-driven configuration. Loaded from `.env` in the crate root +//! the first time anything in this module is touched. +//! +//! Mirrors `lib/config.py` in the Python example. + +use std::sync::OnceLock; + +#[derive(Debug, Clone)] +pub struct Config { + pub dynamic_api_token: String, + pub dynamic_env_id: String, + pub dynamic_base_api_url: Option, + pub evm_rpc_url: Option, + pub solana_rpc_url: Option, +} + +/// Base Sepolia is the default EVM testnet for these examples. +pub const BASE_SEPOLIA_CHAIN_ID: u64 = 84532; +pub const EVM_EXPLORER_BASE: &str = "https://sepolia.basescan.org"; +pub const SOLANA_EXPLORER_BASE: &str = "https://explorer.solana.com"; +pub const SOLANA_EXPLORER_QUERY: &str = "?cluster=devnet"; + +/// Demo tuning knobs. +pub const MAX_USDC_AMOUNT: u64 = 1000; +pub const WALLET_CREATION_CONCURRENCY: usize = 5; +pub const TRANSACTION_CONCURRENCY: usize = 25; + +static CONFIG: OnceLock = OnceLock::new(); + +pub fn get() -> &'static Config { + CONFIG.get_or_init(load_from_env) +} + +fn load_from_env() -> Config { + // Best-effort .env load — missing file is fine if the caller exported + // the variables in their shell. + let _ = dotenvy::dotenv(); + + Config { + dynamic_api_token: std::env::var("DYNAMIC_API_TOKEN").unwrap_or_default(), + dynamic_env_id: std::env::var("DYNAMIC_ENV_ID").unwrap_or_default(), + dynamic_base_api_url: optional_env("DYNAMIC_BASE_API_URL"), + evm_rpc_url: optional_env("EVM_RPC_URL"), + solana_rpc_url: optional_env("SOLANA_RPC_URL"), + } +} + +fn optional_env(name: &str) -> Option { + match std::env::var(name) { + Ok(v) if !v.is_empty() => Some(v), + _ => None, + } +} + +/// Bail with a clear error if the Dynamic credentials are missing. +pub fn require_dynamic_creds() -> anyhow::Result<&'static Config> { + let c = get(); + if c.dynamic_api_token.is_empty() || c.dynamic_env_id.is_empty() { + anyhow::bail!( + "DYNAMIC_API_TOKEN and DYNAMIC_ENV_ID are required — copy .env.example to .env" + ); + } + Ok(c) +} diff --git a/examples/rust-server-wallets/src/delegated.rs b/examples/rust-server-wallets/src/delegated.rs new file mode 100644 index 0000000..9c7bb69 --- /dev/null +++ b/examples/rust-server-wallets/src/delegated.rs @@ -0,0 +1,61 @@ +//! Delegated `wallet.json` loader. Same schema as the Python and Go +//! examples so credentials are interchangeable. + +use std::path::Path; + +use anyhow::Context; +use dynamic_waas_sdk::ServerKeyShare; +use serde::{Deserialize, Serialize}; + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct DelegatedWalletFile { + /// Either "EVM" or "SVM". Optional — defaults to EVM. + #[serde(default = "default_chain")] + pub chain: String, + + pub address: String, + #[serde(rename = "walletId")] + pub wallet_id: String, + #[serde(rename = "walletApiKey")] + pub wallet_api_key: String, + #[serde(rename = "delegatedShare")] + pub delegated_share: DelegatedShareJson, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct DelegatedShareJson { + #[serde(default, rename = "keyShareId")] + pub key_share_id: String, + #[serde(rename = "secretShare")] + pub secret_share: String, +} + +fn default_chain() -> String { + "EVM".into() +} + +impl DelegatedWalletFile { + pub fn load(path: &Path) -> anyhow::Result { + let raw = + std::fs::read_to_string(path).with_context(|| format!("read {}", path.display()))?; + let parsed: DelegatedWalletFile = + serde_json::from_str(&raw).with_context(|| format!("parse {}", path.display()))?; + if parsed.wallet_id.is_empty() + || parsed.wallet_api_key.is_empty() + || parsed.delegated_share.secret_share.is_empty() + { + anyhow::bail!( + "{} missing required field(s): walletId, walletApiKey, delegatedShare.secretShare", + path.display(), + ); + } + Ok(parsed) + } + + pub fn share(&self) -> ServerKeyShare { + ServerKeyShare::new( + &self.delegated_share.key_share_id, + &self.delegated_share.secret_share, + ) + } +} diff --git a/examples/rust-server-wallets/src/dynamic.rs b/examples/rust-server-wallets/src/dynamic.rs new file mode 100644 index 0000000..5dbbb70 --- /dev/null +++ b/examples/rust-server-wallets/src/dynamic.rs @@ -0,0 +1,42 @@ +//! Dynamic SDK client factories. Wrap the SDK constructors so individual +//! binaries don't repeat the auth boilerplate. + +use anyhow::Context; +use dynamic_waas_sdk::{ + DelegatedWalletClient, DelegatedWalletClientOpts, DynamicWalletClient, DynamicWalletClientOpts, +}; + +use crate::config; + +/// Build an authenticated top-level Dynamic client. The chain-specific +/// wrappers (`DynamicEvmWalletClient`, `DynamicSvmWalletClient`) borrow +/// this inner client by reference. +pub async fn authenticated_client() -> anyhow::Result { + let c = config::require_dynamic_creds()?; + + let mut opts = DynamicWalletClientOpts::new(&c.dynamic_env_id); + if let Some(url) = &c.dynamic_base_api_url { + opts = opts.base_api_url(url); + } + + let mut client = DynamicWalletClient::new(opts).context("build Dynamic client")?; + client + .authenticate_api_token(&c.dynamic_api_token) + .await + .context("authenticate Dynamic API token")?; + Ok(client) +} + +/// Build a delegated client. Unlike `authenticated_client`, this auth +/// scheme is per-wallet — pass the wallet-scoped API key delivered via +/// webhook. +pub fn delegated_client(wallet_api_key: &str) -> anyhow::Result { + let c = config::require_dynamic_creds()?; + + let mut opts = DelegatedWalletClientOpts::new(&c.dynamic_env_id, wallet_api_key); + if let Some(url) = &c.dynamic_base_api_url { + opts = opts.base_api_url(url); + } + + DelegatedWalletClient::new(opts).context("build delegated client") +} diff --git a/examples/rust-server-wallets/src/lib.rs b/examples/rust-server-wallets/src/lib.rs new file mode 100644 index 0000000..d4b382e --- /dev/null +++ b/examples/rust-server-wallets/src/lib.rs @@ -0,0 +1,19 @@ +//! Shared helpers for the Dynamic Rust server-wallet examples. +//! +//! Each binary in `src/bin/` is a thin shim around one SDK method. The +//! plumbing — config loading, client construction, local JSON storage — +//! lives here so the demos stay focused. + +pub mod cli; +pub mod config; +pub mod delegated; +pub mod dynamic; +pub mod storage; +pub mod utils; +pub mod walletops; + +/// Banner printed at the top of every binary so it's visible in CI / shared +/// terminal sessions that demos are using *test* infrastructure. +pub const SAFETY_BANNER: &str = + "[rust-server-wallets] WARNING: local .wallets.json is for testing only — \ + production deployments must vault key shares."; diff --git a/examples/rust-server-wallets/src/storage.rs b/examples/rust-server-wallets/src/storage.rs new file mode 100644 index 0000000..e18636b --- /dev/null +++ b/examples/rust-server-wallets/src/storage.rs @@ -0,0 +1,132 @@ +//! Local JSON wallet store. +//! +//! WARNING: FOR TESTING AND DEVELOPMENT ONLY — NOT FOR PRODUCTION USE. +//! +//! Key shares are stored unencrypted in `.wallets.json`. In production, +//! persist the SDK's `WalletProperties` in your service database and the +//! `Vec` in a KMS / Vault. The stateless v1 contract makes +//! that split trivial — every signing method takes both as explicit +//! arguments. + +use std::path::PathBuf; + +use anyhow::Context; +use dynamic_waas_sdk::{ServerKeyShare, ThresholdSignatureScheme, WalletProperties}; +use serde::{Deserialize, Serialize}; + +const WALLET_FILE: &str = ".wallets.json"; + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct StoredKeyShare { + pub key_share_id: String, + pub secret_share: String, +} + +impl From<&ServerKeyShare> for StoredKeyShare { + fn from(s: &ServerKeyShare) -> Self { + Self { + key_share_id: s.key_share_id.clone(), + secret_share: s.secret_share.clone(), + } + } +} + +impl StoredKeyShare { + pub fn to_server(&self) -> ServerKeyShare { + ServerKeyShare::new(&self.key_share_id, &self.secret_share) + } +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct StoredWallet { + pub address: String, + pub wallet_id: String, + pub chain_name: String, // "EVM" or "SVM" + #[serde(default)] + pub threshold_signature_scheme: ThresholdSignatureScheme, + #[serde(default)] + pub derivation_path: Option>, + #[serde(default)] + pub key_shares: Vec, + pub created_at: String, +} + +impl StoredWallet { + pub fn to_properties(&self) -> WalletProperties { + let mut wp = WalletProperties::new(&self.chain_name, &self.wallet_id, &self.address) + .with_threshold(self.threshold_signature_scheme); + if let Some(path) = &self.derivation_path { + wp = wp.with_derivation_path(path.clone()); + } + wp + } + + pub fn shares(&self) -> Vec { + self.key_shares.iter().map(|k| k.to_server()).collect() + } +} + +fn wallet_path() -> PathBuf { + std::env::current_dir() + .unwrap_or_else(|_| PathBuf::from(".")) + .join(WALLET_FILE) +} + +pub fn load() -> anyhow::Result> { + let path = wallet_path(); + if !path.exists() { + return Ok(std::collections::BTreeMap::new()); + } + let raw = std::fs::read_to_string(&path).context("read wallets file")?; + match serde_json::from_str(&raw) { + Ok(map) => Ok(map), + Err(e) => { + eprintln!("Warning: failed to parse {}: {e}", path.display()); + Ok(std::collections::BTreeMap::new()) + } + } +} + +pub fn save(wallet: &StoredWallet) -> anyhow::Result<()> { + let mut wallets = load()?; + wallets.insert(wallet.address.clone(), wallet.clone()); + write_all(&wallets) +} + +pub fn get(address: &str) -> anyhow::Result> { + Ok(load()?.get(address).cloned()) +} + +pub fn list(chain: Option<&str>) -> anyhow::Result> { + let wallets = load()?; + Ok(wallets + .into_values() + .filter(|w| match chain { + Some(c) => w.chain_name.eq_ignore_ascii_case(c), + None => true, + }) + .collect()) +} + +pub fn delete(address: &str) -> anyhow::Result { + let mut wallets = load()?; + if wallets.remove(address).is_none() { + return Ok(false); + } + write_all(&wallets)?; + Ok(true) +} + +fn write_all(wallets: &std::collections::BTreeMap) -> anyhow::Result<()> { + let path = wallet_path(); + let data = serde_json::to_string_pretty(wallets)?; + std::fs::write(&path, data).context("write wallets file")?; + // 0o600 on Unix to keep the file out of world-readable scopes. Best- + // effort: ignored on non-Unix; this storage is testing-only anyway. + #[cfg(unix)] + { + use std::os::unix::fs::PermissionsExt; + let _ = std::fs::set_permissions(&path, std::fs::Permissions::from_mode(0o600)); + } + Ok(()) +} diff --git a/examples/rust-server-wallets/src/utils.rs b/examples/rust-server-wallets/src/utils.rs new file mode 100644 index 0000000..5365878 --- /dev/null +++ b/examples/rust-server-wallets/src/utils.rs @@ -0,0 +1,38 @@ +//! Tiny formatting helpers shared by the demo binaries. + +use crate::config; + +pub fn format_address(address: &str) -> String { + if address.len() <= 14 { + return address.to_string(); + } + let (lhs, rhs) = address.split_at(8); + let suffix = &rhs[rhs.len().saturating_sub(6)..]; + format!("{lhs}...{suffix}") +} + +pub fn evm_tx_link(hash: &str) -> String { + format!("{}/tx/{}", config::EVM_EXPLORER_BASE, hash) +} + +pub fn evm_address_link(address: &str) -> String { + format!("{}/address/{}", config::EVM_EXPLORER_BASE, address) +} + +pub fn solana_tx_link(signature: &str) -> String { + format!( + "{}/tx/{}{}", + config::SOLANA_EXPLORER_BASE, + signature, + config::SOLANA_EXPLORER_QUERY + ) +} + +pub fn solana_address_link(address: &str) -> String { + format!( + "{}/address/{}{}", + config::SOLANA_EXPLORER_BASE, + address, + config::SOLANA_EXPLORER_QUERY + ) +} diff --git a/examples/rust-server-wallets/src/walletops.rs b/examples/rust-server-wallets/src/walletops.rs new file mode 100644 index 0000000..5417181 --- /dev/null +++ b/examples/rust-server-wallets/src/walletops.rs @@ -0,0 +1,84 @@ +//! Shared "load existing wallet or create a fresh ephemeral one" helpers. +//! Mirrors `lib/wallet_helpers.py` in the Python example. + +use anyhow::Context; +use dynamic_waas_sdk::{ + DynamicWalletClient, ServerKeyShare, ThresholdSignatureScheme, WalletProperties, +}; +use dynamic_waas_sdk_evm::DynamicEvmWalletClient; +use dynamic_waas_sdk_svm::DynamicSvmWalletClient; + +use crate::storage; + +/// EVM: returns (wallet metadata, key shares). If `address` is supplied, +/// loads from local storage; otherwise creates a new ephemeral wallet. +pub async fn ensure_evm_wallet( + client: &DynamicWalletClient, + address: Option<&str>, +) -> anyhow::Result<(WalletProperties, Vec)> { + if let Some(addr) = address { + return load_evm_from_storage(addr); + } + let evm = DynamicEvmWalletClient::new(client); + println!("Creating new ephemeral EVM wallet..."); + let (wp, shares) = evm + .create_wallet_account(ThresholdSignatureScheme::default(), None, false) + .await + .context("create EVM wallet")?; + println!("Wallet created: {}", wp.account_address); + Ok((wp, shares)) +} + +/// SVM analogue of `ensure_evm_wallet`. +pub async fn ensure_svm_wallet( + client: &DynamicWalletClient, + address: Option<&str>, +) -> anyhow::Result<(WalletProperties, Vec)> { + if let Some(addr) = address { + return load_svm_from_storage(addr); + } + let svm = DynamicSvmWalletClient::new(client); + println!("Creating new ephemeral SVM wallet..."); + let (wp, shares) = svm + .create_wallet_account(ThresholdSignatureScheme::default(), None, false) + .await + .context("create SVM wallet")?; + println!("Wallet created: {}", wp.account_address); + Ok((wp, shares)) +} + +fn load_evm_from_storage(address: &str) -> anyhow::Result<(WalletProperties, Vec)> { + let stored = storage::get(address)? + .with_context(|| format!("wallet not found: {address} (run `evm-wallet --list`)"))?; + if !stored.chain_name.eq_ignore_ascii_case("EVM") { + anyhow::bail!( + "wallet {address} is on chain {}, expected EVM", + stored.chain_name + ); + } + if stored.key_shares.is_empty() { + anyhow::bail!( + "wallet {address} has no locally-stored key shares — recovery is not yet \ + supported by Rust SDK 0.0.3 (see evm-recover-key-shares for status)" + ); + } + Ok((stored.to_properties(), stored.shares())) +} + +fn load_svm_from_storage(address: &str) -> anyhow::Result<(WalletProperties, Vec)> { + let stored = storage::get(address)? + .with_context(|| format!("wallet not found: {address} (run `svm-wallet --list`)"))?; + if !stored.chain_name.eq_ignore_ascii_case("SVM") { + anyhow::bail!( + "wallet {address} is on chain {}, expected SVM", + stored.chain_name + ); + } + if stored.key_shares.is_empty() { + anyhow::bail!( + "wallet {address} has no locally-stored key shares — recovery is not yet \ + supported by Rust SDK 0.0.3" + ); + } + Ok((stored.to_properties(), stored.shares())) +} diff --git a/examples/rust-server-wallets/wallet.json.example b/examples/rust-server-wallets/wallet.json.example new file mode 100644 index 0000000..15f5c16 --- /dev/null +++ b/examples/rust-server-wallets/wallet.json.example @@ -0,0 +1,10 @@ +{ + "chain": "EVM", + "address": "0x...", + "walletId": "wallet-uuid-here", + "walletApiKey": "api-key-here", + "delegatedShare": { + "keyShareId": "optional-keygen-id", + "secretShare": "hex-encoded-secret-share" + } +}