Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Muta

DEPRECATED: please use import { Client, Account } from '@mutadev/muta-sdk' to instead

deprecated

Hierarchy

  • Muta

Index

Constructors

constructor

Properties

Private context

context: MutaContext

Static account

account: Account = Account
deprecated

Static hdWallet

hdWallet: HDWallet = HDWallet
deprecated

Methods

client

  • get a Client for communication with chain thru Muta node

    deprecated

    Parameters

    • Default value defaultCyclesLimit: Uint64 = "0xffffff"
    • Default value defaultCyclesPrice: Uint64 = "0xffffff"

    Returns Client

Static accountFromPrivateKey

  • accountFromPrivateKey(privateKey: string): Account

Static hdWalletFromMnemonic

  • hdWalletFromMnemonic(mnemonic: string): HDWallet
  • create a HD wallet from mnemonic. the HD path is set to m/44'/${COIN_TYPE}'/${index}'/0/0 COIN_TYPE

    Parameters

    • mnemonic: string

      12 mnemonic words split by space

    Returns HDWallet

Generated using TypeDoc