pub enum Chain {
Show 43 variants
Solana(SolanaGrinder),
Evm(EvmGrinder),
Bitcoin(BitcoinLikeGrinder),
BitcoinCash(BitcoinCashGrinder),
BitcoinSegwit(BitcoinSegwitGrinder),
BitcoinTaproot(BitcoinSegwitGrinder),
Litecoin(BitcoinLikeGrinder),
Dogecoin(BitcoinLikeGrinder),
Dash(BitcoinLikeGrinder),
BitcoinFamily(BitcoinLikeGrinder),
Zcash(ZcashGrinder),
Stacks(StacksGrinder),
Decred(DecredGrinder),
Nervos(NervosGrinder),
Puzzle(PuzzleGrinder),
SplitKey(SplitKeyGrinder),
Tron(TronGrinder),
Cosmos(CosmosGrinder),
Osmosis(CosmosGrinder),
Sei(CosmosGrinder),
Injective(CosmosGrinder),
Celestia(CosmosGrinder),
Dydx(CosmosGrinder),
Ripple(RippleGrinder),
Stellar(StellarGrinder),
Aptos(AptosGrinder),
Sui(SuiGrinder),
Near(NearGrinder),
Algorand(AlgorandGrinder),
Tezos(TezosGrinder),
Icp(IcpGrinder),
Kaspa(KaspaGrinder),
Kusama(KusamaGrinder),
Ton(TonGrinder),
Filecoin(FilecoinGrinder),
Polkadot(PolkadotGrinder),
Cardano(CardanoGrinder),
Hedera(HederaGrinder),
MultiversX(MultiversXGrinder),
Create2(Create2Grinder),
EvmContract(EvmContractGrinder),
TronContract(TronContractGrinder),
SolanaMint(SolanaMintGrinder),
}Variants§
Solana(SolanaGrinder)
Evm(EvmGrinder)
Bitcoin(BitcoinLikeGrinder)
BitcoinCash(BitcoinCashGrinder)
BitcoinSegwit(BitcoinSegwitGrinder)
BitcoinTaproot(BitcoinSegwitGrinder)
Litecoin(BitcoinLikeGrinder)
Dogecoin(BitcoinLikeGrinder)
Dash(BitcoinLikeGrinder)
BitcoinFamily(BitcoinLikeGrinder)
Extra Bitcoin-family P2PKH coins (btg, rvn, mona, …) — same grinder, distinct ids.
Zcash(ZcashGrinder)
Stacks(StacksGrinder)
Decred(DecredGrinder)
Nervos(NervosGrinder)
Puzzle(PuzzleGrinder)
Restricted secp keyspace (Bitcoin puzzle style).
SplitKey(SplitKeyGrinder)
Split-key grind: base pubkey + part secret → vanity P2PKH (Bitcoin-family).
Tron(TronGrinder)
Cosmos(CosmosGrinder)
Osmosis(CosmosGrinder)
Sei(CosmosGrinder)
Injective(CosmosGrinder)
Celestia(CosmosGrinder)
Dydx(CosmosGrinder)
Ripple(RippleGrinder)
Stellar(StellarGrinder)
Aptos(AptosGrinder)
Sui(SuiGrinder)
Near(NearGrinder)
Algorand(AlgorandGrinder)
Tezos(TezosGrinder)
Icp(IcpGrinder)
Kaspa(KaspaGrinder)
Kusama(KusamaGrinder)
Ton(TonGrinder)
Filecoin(FilecoinGrinder)
Polkadot(PolkadotGrinder)
Cardano(CardanoGrinder)
Hedera(HederaGrinder)
MultiversX(MultiversXGrinder)
Create2(Create2Grinder)
EvmContract(EvmContractGrinder)
TronContract(TronContractGrinder)
SolanaMint(SolanaMintGrinder)
Implementations§
Source§impl Chain
impl Chain
Sourcepub fn chars_per_position(&self, ignore_case: bool) -> f64
pub fn chars_per_position(&self, ignore_case: bool) -> f64
How many characters one pattern position can match, i.e. how much longer each extra character makes a grind. Any-case base58/base64 letters match two.
pub fn from_id(id: &str) -> Result<Self, String>
Sourcepub fn resolve_chain(
id: &str,
deployer: Option<&str>,
init_code_hash: Option<&str>,
) -> Result<Self, String>
pub fn resolve_chain( id: &str, deployer: Option<&str>, init_code_hash: Option<&str>, ) -> Result<Self, String>
Resolve a wallet chain or deploy mode. For create2, pass deployer + init-code-hash hex.
Sourcepub fn all_ids() -> Vec<&'static str>
pub fn all_ids() -> Vec<&'static str>
Chain IDs in the same A–Z menu order as MENU_CHAINS.
Trait Implementations§
Source§impl ChainGrinder for Chain
impl ChainGrinder for Chain
fn id(&self) -> &'static str
fn display_name(&self) -> &'static str
Source§fn grind_attempt(&self) -> (String, GrindAttempt)
fn grind_attempt(&self) -> (String, GrindAttempt)
Generate address + retain secret material for finalize on match.
Source§fn finalize(&self, attempt: GrindAttempt) -> KeypairResult
fn finalize(&self, attempt: GrindAttempt) -> KeypairResult
Build export formats from a winning attempt (called once on success).
fn build_pattern( &self, prefix: Option<&str>, suffix: Option<&str>, contains: Option<&str>, exact: bool, ) -> Result<Pattern, String>
fn expected_attempts(&self, pattern: &Pattern) -> f64
fn matches(&self, address: &str, pattern: &Pattern) -> bool
fn supports_exact_case(&self) -> bool
fn pattern_hint(&self) -> &'static str
Auto Trait Implementations§
impl Forget for Chain
impl Freeze for Chain
impl Move for Chain
impl RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnsafeUnpin for Chain
impl UnwindSafe for Chain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more