Sitelet https://github.com/SharkHand3/examples/commit/fbf851e0d1cd62bb6d76560954b027f960f69811
Skip to content

Commit fbf851e

Browse files
committed
TrezorHDPath -> HDPath
1 parent ea4247b commit fbf851e

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

‎Cargo.toml‎

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,30 @@ repository = "https://github.com/alloy-rs/examples"
1313
publish = false
1414

1515
[workspace.dependencies]
16-
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
17-
alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
18-
alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
19-
alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
20-
alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
21-
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
22-
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
23-
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
24-
alloy-pubsub = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
25-
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
26-
alloy-rpc-engine-types = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
27-
alloy-rpc-trace-types = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
28-
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
29-
alloy-serde = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
30-
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
31-
alloy-signer-aws = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
32-
alloy-signer-gcp = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
33-
alloy-signer-ledger = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
34-
alloy-signer-trezor = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
35-
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
36-
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
37-
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
38-
alloy-transport-ipc = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
39-
alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
16+
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
17+
alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
18+
alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
19+
alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
20+
alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
21+
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
22+
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
23+
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
24+
alloy-pubsub = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
25+
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
26+
alloy-rpc-engine-types = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
27+
alloy-rpc-trace-types = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
28+
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
29+
alloy-serde = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
30+
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
31+
alloy-signer-aws = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
32+
alloy-signer-gcp = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
33+
alloy-signer-ledger = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
34+
alloy-signer-trezor = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
35+
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
36+
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
37+
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
38+
alloy-transport-ipc = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
39+
alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", default-features = false }
4040

4141
alloy-core = { version = "0.6.4", default-features = false, features = ["std"] }
4242
alloy-dyn-abi = { version = "0.6.4", default-features = false, features = [

‎examples/wallets/examples/trezor_signer.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ use alloy_primitives::{address, U256};
55
use alloy_provider::{Provider, ProviderBuilder};
66
use alloy_rpc_client::RpcClient;
77
use alloy_rpc_types::request::TransactionRequest;
8-
use alloy_signer_trezor::{TrezorHDPath, TrezorSigner};
8+
use alloy_signer_trezor::{HDPath, TrezorSigner};
99
use eyre::Result;
1010

1111
#[tokio::main]
1212
async fn main() -> Result<()> {
1313
// Instantiate the application by acquiring a lock on the Trezor device.
14-
let signer = TrezorSigner::new(TrezorHDPath::TrezorLive(0), Some(1)).await?;
14+
let signer = TrezorSigner::new(HDPath::TrezorLive(0), Some(1)).await?;
1515

1616
// Create a provider with the signer.
1717
let http = "http://localhost:8545".parse()?;

0 commit comments

Comments
 (0)