Skip to content

Unable to use MnemonicBuilder #231

@nalbandyanmisha

Description

@nalbandyanmisha
use alloy::signers::local::MnemonicBuilder;

The error I get: unresolved import alloy::signers::local::MnemonicBuilder
no MnemonicBuilder in the root [E0432]
Yet in documentation, it is listed as available functionality.

and in Cargo.toml I have:
alloy = { version = "1.0.24", features = ["signers", "signer-local"] }

I also tried --features full, as I wasn't sure how the feature mnemonic from crate alloy-sigenrs-local was exposed.
But this breaks all things asthe meta-crate is unable to select a version for the requirement `alloy-pubsub = "^1.0.24"

error: failed to select a version for the requirement alloy-pubsub = "^1.0.24"
candidate versions found which didn't match: 0.14.0, 0.13.0, 0.12.6, ...
location searched: crates.io index
required by package alloy v1.0.24
... which satisfies dependency alloy = "^1.0.24" (locked to 1.0.24) of package *** v0.1.0 (path/to/project)
If you are looking for the prerelease package, it needs to be specified explicitly
alloy-pubsub = { version = "0.0.0-reserved" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions