Class Wallet

Wallets are created from seeds, so they can have multiple addresses by changing the index. Use Wallets to "write" (send, receive, change rep) to the network

Constructors

Properties

Methods

Constructors

  • Parameters

    • rpc: RPCInterface
    • Optional seed: string

      Seed for the wallet from which private keys are derived. 64 character hex string (32 bytes)

    Returns Wallet

Properties

index: number = 0
seed: string

Methods