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

Readonly assetData

assetData: {}

Transparently forwarded from InitParams for convenience.

Type declaration

Readonly marketData

marketData: {}

Transparently forwarded from InitParams for convenience.

Type declaration

Readonly 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.

Readonly 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

  • Property

Generated using TypeDoc