confluxSignMessageCIP23
Use requirement
Firmware version required
Touch: 3.0.0
Classic/Mini: 2.4.0
Conflux: sign message CIP23
Asks device to sign a message using the private key derived by given BIP32 path.This method follows the CIP23 specification implementation
Params
path- requiredstring | Array<number>minimum length is3. read moremessageHash- requiredstringmessage to sign in hex textdomainHash- requiredstringhex-encoded 32-byte hash of the CIP-23 domain.
Example
HardwareSDK.confluxSignMessage(connectId, deviceId, {
path: "m/44'/503'/0'/0/0",
messageHash: "0x07bc1c4f3268fc74b60587e9bb7e01e38a7d8a9a3f51202bf25332aa2c75c64"
domainHash: "7c872d109a4e735dc1886c72af47e9b4888a1507557e0f49c85b570019163373"
});Result
Error
Last updated
Was this helpful?