-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init * setup * wip * cfg stuff * chore: clippy * signature methods, tests * fix mnemonic test * fixes * wip: split to crates * fixes * chore: clippy * sort * chore: consolidate aws to a single file * rename `{Ledger,Trezor}` to `{Ledger,Trezor}Signer` * restructure * add `set_chain_id`, provide a default `with_chain_id` * bump AWS to 1.0 * better default impls for trait methods, sync feature * remove Error GAT * remove chain_id * chore: clippy * feats * msrv * deps * wazm * stop failing * asynctrait * tracing * update ledger * Revert "remove chain_id" This reverts commit 0514193. * split signer into two traits * make async the default method name * docs * make signature copy * wallet error module * docs * update ledger tests * update ledger tests again * use serial * fix * todos * auto_impl
- Loading branch information
Showing
33 changed files
with
3,310 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
msrv = "1.65" | ||
msrv = "1.68" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[package] | ||
name = "alloy-signer-aws" | ||
description = "Ethereum AWS KMS signer" | ||
|
||
version.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
license.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
exclude.workspace = true | ||
|
||
[dependencies] | ||
alloy-primitives.workspace = true | ||
alloy-signer.workspace = true | ||
|
||
async-trait.workspace = true | ||
aws-sdk-kms = { version = "1.1", default-features = false } | ||
k256.workspace = true | ||
spki.workspace = true | ||
thiserror.workspace = true | ||
tracing.workspace = true | ||
|
||
[dev-dependencies] | ||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } | ||
aws-config = { version = "1.0", default-features = false } | ||
|
||
[features] | ||
eip712 = ["alloy-signer/eip712"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# alloy-signer-aws | ||
|
||
Ethereum [AWS KMS] signer. | ||
|
||
[AWS KMS]: https://aws.amazon.com/kms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#![doc = include_str!("../README.md")] | ||
#![doc( | ||
html_logo_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/alloy.jpg", | ||
html_favicon_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/favicon.ico" | ||
)] | ||
#![warn( | ||
missing_copy_implementations, | ||
missing_debug_implementations, | ||
missing_docs, | ||
unreachable_pub, | ||
clippy::missing_const_for_fn, | ||
rustdoc::all | ||
)] | ||
#![cfg_attr(not(test), warn(unused_crate_dependencies))] | ||
#![deny(unused_must_use, rust_2018_idioms)] | ||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] | ||
|
||
#[macro_use] | ||
extern crate tracing; | ||
|
||
mod signer; | ||
pub use signer::{AwsSigner, AwsSignerError}; |
Oops, something went wrong.