Introduction
The configuration options for creating a HyMatrix instance with hymatrix-js include: debug, accid, signer, privateKey, and arJWK.
- The configuration options type is
Config.
import { JWKInterface } from 'arweave/node/lib/wallet'
import { Web3Provider } from '@ethersproject/providers'
export type ArJWK = JWKInterface | 'use_wallet'
export type EthereumPrivateKey = `0x${string}`
export type Config = {
debug?: boolean
accid?: string
signer?: Web3Provider
privateKey?: EthereumPrivateKey
arJWK?: ArJWK
}