privateKey
Configuration Description
This option is the Ethereum wallet private key used in Node environments to sign transactions.
privateKey: consists of '0x' followed by 64 hexadecimal characters, totaling 66 characters.
import HyMatrix from 'hymatrix-js'
const privateKey = '0x...'
const hyMatrix = new HyMatrix({
privateKey: privateKey
})
Private Key Leakage Risk
Passing the private key in plain text within the code poses a security risk.