Options
All
  • Public
  • Public/Protected
  • All
Menu

NodeWallet

Anchor-compliant wallet implementation.

Hierarchy

  • Wallet

Implements

  • Wallet

Index

Constructors

  • new Wallet(payer: Keypair): Wallet

Properties

payer: Keypair

Accessors

  • get publicKey(): PublicKey

Methods

  • signAllTransactions(txs: Transaction[]): Promise<Transaction[]>
  • Parameters

    • txs: Transaction[]

    Returns Promise<Transaction[]>

  • signTransaction(tx: Transaction): Promise<Transaction>
  • Parameters

    • tx: Transaction

    Returns Promise<Transaction>

  • Factory for the local wallet. Makes use of the MARGINFI_WALLET env var, with fallback to $HOME/.config/solana/id.json.

    Returns Wallet

Generated using TypeDoc