Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Keypair

Index

Constructors

  • new Keypair(keypair: SodiumKeyPair, netType?: number): Keypair

Properties

keyType: number
keypair: SodiumKeyPair
netType: number
privateKey: Buffer
publicKey: Buffer

Accessors

  • get address(): default

Methods

  • sign(message: string | Uint8Array): Promise<Uint8Array>
  • fromEntropy(entropy: Uint8Array | Buffer, netType?: number): Promise<Keypair>
  • fromWords(words: string[], netType?: number): Promise<Keypair>
  • makeRandom(netType?: number): Promise<Keypair>

Generated using TypeDoc