Options
All
  • Public
  • Public/Protected
  • All
Menu

The user-specific configuration object generated by initialization of the Nash protocol. Used as an input for various operations, such as signing.

Derived from InitParams. Should generally be made accessible on program start, as most important Nash operations require this Config.

Hierarchy

  • Config

Index

Properties

assetData

assetData: object

Transparently forwarded from InitParams for convenience.

Type declaration

marketData

marketData: object

Transparently forwarded from InitParams for convenience.

Type declaration

payloadSigningKey

payloadSigningKey: Wallet

The public and private keypair used by the user to sign payloads.

Refer to signPayload.ts and generateWallet.ts#generateNashPayloadSigningKey() for more information.

todo:

While this type is valid, it is confusing, as it's not really a wallet. It just coincidentally has a private and public key.

wallets

wallets: Record<string, Wallet>

All of a user's Wallets for all supported blockchains.

Note that private keys are included, so this should never be exposed.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc