Skip to content

Commit 53b77b6

Browse files
rplusqclaudezerosnacks
authored
feat(signer-turnkey): bump to 0.5 and add to main alloy package (#3043)
## Changes - Bump turnkey_client from 0.4 to 0.5 (removes OpenSSL dependency) - Add alloy-signer-turnkey to workspace dependencies - Add alloy-signer-turnkey to main alloy package - Add signer-turnkey feature flag matching AWS/GCP pattern - Add turnkey module re-export in signers - Add turnkey to eip712 feature for EIP-712 signing support This makes the Turnkey signer consistent with AWS KMS and GCP KMS signers, and enables integration with Foundry. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: rplusq <[email protected]> Co-authored-by: Claude <[email protected]> Co-authored-by: zerosnacks <[email protected]>
1 parent aab02d3 commit 53b77b6

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ alloy-signer-gcp = { version = "1.0.41", path = "crates/signer-gcp", default-fea
6565
alloy-signer-ledger = { version = "1.0.41", path = "crates/signer-ledger", default-features = false }
6666
alloy-signer-local = { version = "1.0.41", path = "crates/signer-local", default-features = false }
6767
alloy-signer-trezor = { version = "1.0.41", path = "crates/signer-trezor", default-features = false }
68+
alloy-signer-turnkey = { version = "1.0.41", path = "crates/signer-turnkey", default-features = false }
6869
alloy-transport = { version = "1.0.41", path = "crates/transport", default-features = false }
6970
alloy-transport-http = { version = "1.0.41", path = "crates/transport-http", default-features = false }
7071
alloy-transport-ipc = { version = "1.0.41", path = "crates/transport-ipc", default-features = false }

crates/alloy/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ alloy-signer-gcp = { workspace = true, optional = true }
5555
alloy-signer-ledger = { workspace = true, optional = true }
5656
alloy-signer-local = { workspace = true, optional = true }
5757
alloy-signer-trezor = { workspace = true, optional = true }
58+
alloy-signer-turnkey = { workspace = true, optional = true }
5859

5960
# transport
6061
alloy-transport = { workspace = true, optional = true }
@@ -268,6 +269,7 @@ signer-ledger-browser = ["signer-ledger", "alloy-signer-ledger?/browser"]
268269
signer-ledger-node = ["signer-ledger", "alloy-signer-ledger?/node"]
269270
signer-local = ["signers", "dep:alloy-signer-local"]
270271
signer-trezor = ["signers", "dep:alloy-signer-trezor"]
272+
signer-turnkey = ["signers", "dep:alloy-signer-turnkey"]
271273
signer-keystore = ["signer-local", "alloy-signer-local?/keystore"]
272274
signer-mnemonic = ["signer-local", "alloy-signer-local?/mnemonic"]
273275
signer-mnemonic-all-languages = [
@@ -329,6 +331,7 @@ eip712 = [
329331
"alloy-signer-aws?/eip712",
330332
"alloy-signer-gcp?/eip712",
331333
"alloy-signer-ledger?/eip712",
334+
"alloy-signer-turnkey?/eip712",
332335
# TODO: https://github.com/alloy-rs/alloy/issues/201
333336
# "alloy-signer-trezor?/eip712",
334337
]

crates/alloy/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ pub mod signers {
155155
#[cfg(feature = "signer-trezor")]
156156
#[doc(inline)]
157157
pub use alloy_signer_trezor as trezor;
158+
159+
#[cfg(feature = "signer-turnkey")]
160+
#[doc(inline)]
161+
pub use alloy_signer_turnkey as turnkey;
158162
}
159163

160164
/// Low-level Ethereum JSON-RPC transport abstraction and implementations.

crates/signer-turnkey/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ alloy-signer.workspace = true
3131
async-trait.workspace = true
3232
thiserror.workspace = true
3333
tracing.workspace = true
34-
turnkey_client = "0.4"
34+
turnkey_client = "0.5"
3535

3636
[dev-dependencies]
3737
k256 = { workspace = true, features = ["ecdsa"] }

0 commit comments

Comments
 (0)