Skip to content

Commit

Permalink
Merge pull request #10 from reown-com/feat/upgrade-alloy-v0.8.3
Browse files Browse the repository at this point in the history
feat: upgrade alloy to v0.9.2
  • Loading branch information
chris13524 authored Jan 7, 2025
2 parents 3e764e1 + 7ae8aa1 commit 703016d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[workspace.dependencies]
alloy = { version = "0.7.3", default-features = false }
alloy = { version = "0.9.2", default-features = false }

[dependencies]
alloy = { workspace = true, features = [
Expand All @@ -17,7 +17,7 @@ alloy = { workspace = true, features = [

[dev-dependencies]
alloy = { workspace = true, features = ["signer-local"] }
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy.git", tag = "v0.7.3", default-features = false }
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy.git", tag = "v0.8.3", default-features = false }
regex = { version = "1", default-features = false }
tokio = { version = "1", default-features = false, features = [
"process",
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ This crate verifies any Ethereum signature including:
- Smart contract wallets with [ERC-1271](https://eips.ethereum.org/EIPS/eip-1271)
- Predeploy contract wallets with [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492)

This crate is implemented using a single `eth_call` RPC request, and is described in the [off-chain validation section](https://eips.ethereum.org/EIPS/eip-6492#off-chain-validation) of the ERC-6492 spec.

## Install

```bash
Expand All @@ -15,9 +17,13 @@ cargo add erc6492 --git https://github.com/reown-com/erc6492
or

```toml
erc6492 = { git = "https://github.com/reown-com/erc6492.git", version = "0.1.0" }
erc6492 = { git = "https://github.com/reown-com/erc6492.git" }
```

We recommend pinning to a commit ref to avoid unexpected breaking changes while in v0.

We will publish to crates.io soon.

## Usage

This crate uses [Alloy](https://github.com/alloy-rs) and requires an RPC provider in order to verify all signature types.
Expand Down

0 comments on commit 703016d

Please sign in to comment.