Interface for local sdk exclusive methods

Hierarchy (view full)

Implements

Constructors

Properties

chainId: string = ""
connected: boolean = false
name: string = ""
provider: INetworkProvider
rpc_url: string = ""
signer: any = null
wallet: UserSigner | ExtensionProvider

Methods

  • Creates a new wallet

    Parameters

    • password: string

      The password to encrypt the wallet

    • OptionaladdressIndex: number

    Returns Promise<{
        address: string;
        mnemonics: string[];
        mnemonics_txt: string;
        wallet_keyfile: string;
    }>