Class BorshAccountsCoder<A>

Encodes and decodes account objects.

Type Parameters

  • A extends string = string

Implements

Constructors

Methods

  • Get the unique discriminator prepended to all anchor accounts.

    Parameters

    • name: string

      The name of the account to get the discriminator of.

    Returns Buffer