Options
All
  • Public
  • Public/Protected
  • All
Menu

The configuration parameters used to initialize the Nash Protocol.

Used to generate a Config.

Hierarchy

  • InitParams

Index

Properties

aead

aead: AEAD

A user's AEAD. When initializing, this is received from the CAS after authenticating.

Refer to the documentation for the AEAD interface.

Optional assetData

assetData: undefined | {}

A record of asset names to asset parameters.

For more information, refer to the Asset interface.

encryptionKey

encryptionKey: Buffer

The secret key needed to decrypt the AEAD. If operating on the AEAD returned by the CAS after authenticating, this should be the encryption key derived from the user's password.

Refer to the documentation for getHKDFKeysFromPassword.md.

Optional marketData

marketData: undefined | {}

A record of market names to market parameters.

For more information, refer to the Market interface.

Optional net

net: "MainNet" | "TestNet" | "LocalNet"

The blockchain network to use.

walletIndices

walletIndices: {}

A record of wallet types to chain index.

For more information, refer to the BIP-44 spec.

Type declaration

  • [key: string]: number

Legend

  • Property

Generated using TypeDoc