ChainSuiteOptions
Defined in: chain-suite.ts:5
Type Parameters
Section titled “Type Parameters”M extends WalletManager<IWalletAccount, object>
Properties
Section titled “Properties”chain:
ChainKey
Defined in: chain-suite.ts:7
Which vector set to compare against.
checkSignMessage?
Section titled “checkSignMessage?”
optionalcheckSignMessage?:boolean
Defined in: chain-suite.ts:11
Compare the recorded sign(message) encoding too (default true).
create
Section titled “create”create: (
seed) =>M|Promise<M>
Defined in: chain-suite.ts:9
Build a manager for a seed. Must NOT need the network for getAccount/getAddress/sign.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”M | Promise<M>
curve?
Section titled “curve?”
optionalcurve?:SignerCurve
Defined in: chain-suite.ts:16
fromSigner?
Section titled “fromSigner?”
optionalfromSigner?: (signer) =>M|Promise<M>
Defined in: chain-suite.ts:15
Build a manager from a Signer (multi-keyring import). With curve, the single-key account rules are checked.
Parameters
Section titled “Parameters”signer
Section titled “signer”Signer
Returns
Section titled “Returns”M | Promise<M>
publicKeyOf?
Section titled “publicKeyOf?”
optionalpublicKeyOf?: (account) =>Promise<string|Uint8Array<ArrayBufferLike> |undefined>
Defined in: chain-suite.ts:13
Hex of the account’s public key; omit if the account does not expose one.
Parameters
Section titled “Parameters”account
Section titled “account”IWalletAccount
Returns
Section titled “Returns”Promise<string | Uint8Array<ArrayBufferLike> | undefined>