Closed redDwarf03 closed 3 years ago
Hello
I try to find an equivalence in dart of this js method :
sign(hash, key) { const { signature, recid } = secp256k1.ecdsaSign( new Uint8Array(hash), hexToUint8Array(key) ); this.signature = Buffer.from([...signature, recid]); return this; }
this part is complicated to code for me: "Buffer.from([...signature, recid])" in dart and I don't know how to retrieve recid with your code.
Could you help me please ?
i find the solution in this project https://github.com/shareven/wallet_hd
Hello
I try to find an equivalence in dart of this js method :
this part is complicated to code for me: "Buffer.from([...signature, recid])" in dart and I don't know how to retrieve recid with your code.
Could you help me please ?