You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I can able to sign a message by:
let message = "Hi BTC".data(using: .utf8)!
let signatureData = try Crypto.sign(message, privateKey: wallet.privKeys[0]).
Hashing the hex-encoded string twice using SHA256 should give you back the corresponding tosign data.
Decoding the hex-encoded string using our /txs/decode endpoint (or an independent, client-side source) should give you the output addresses and amounts that match your work-in-progress transaction.
I think it not matching with their requirements.
How to do this with our SDK..Please help to solve this..
The text was updated successfully, but these errors were encountered:
Hi I can able to sign a message by:
let message = "Hi BTC".data(using: .utf8)!
let signatureData = try Crypto.sign(message, privateKey: wallet.privKeys[0]).
Now am following the link https://www.blockcypher.com/dev/bitcoin/#creating-transactions for the transaction.
Above link expected to sign data as
Hashing the hex-encoded string twice using SHA256 should give you back the corresponding tosign data.
Decoding the hex-encoded string using our /txs/decode endpoint (or an independent, client-side source) should give you the output addresses and amounts that match your work-in-progress transaction.
I think it not matching with their requirements.
How to do this with our SDK..Please help to solve this..
The text was updated successfully, but these errors were encountered: