@polkadot/util-crypto
Version:
A collection of useful crypto utilities for @polkadot
14 lines (13 loc) • 472 B
TypeScript
/// <reference types="bn.js" />
import { BN } from '@polkadot/util';
export declare class DeriveJunction {
#private;
static from(value: string): DeriveJunction;
get chainCode(): Uint8Array;
get isHard(): boolean;
get isSoft(): boolean;
hard(value: number | string | bigint | BN | Uint8Array): DeriveJunction;
harden(): DeriveJunction;
soft(value: number | string | bigint | BN | Uint8Array): DeriveJunction;
soften(): DeriveJunction;
}