Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WalletSigner

Index

Constructors

constructor

  • new WalletSigner(__namedParameters: { privateKey: Buffer }): WalletSigner
  • Parameters

    • __namedParameters: { privateKey: Buffer }
      • privateKey: Buffer

    Returns WalletSigner

Properties

privateKey

privateKey: Buffer

Methods

fetchAccount

  • fetchAccount(__namedParameters: { rpcClient: RPCClient; version: TransactionVersion }): Promise<Account>
  • Parameters

    Returns Promise<Account>

getNetwork

  • Returns StacksTestnet

getSTXAddress

  • Parameters

    Returns string

getSTXPrivateKey

  • getSTXPrivateKey(): Buffer
  • Returns Buffer

signContractCall

  • signContractCall(__namedParameters: ContractCallOptions): Promise<StacksTransaction>
  • Parameters

    • __namedParameters: ContractCallOptions

    Returns Promise<StacksTransaction>

signContractDeploy

  • signContractDeploy(__namedParameters: ContractDeployOptions): Promise<StacksTransaction>
  • Parameters

    • __namedParameters: ContractDeployOptions

    Returns Promise<StacksTransaction>

signSTXTransfer

  • Parameters

    • __namedParameters: STXTransferOptions

    Returns Promise<StacksTransaction>

Generated using TypeDoc