Verify user public key by signing raw transaction with private key

Verify user public key by signing raw transaction with private key

I have to verify that user who enters public key of his address verify his address by signing a neutral raw transaction which won't be broadcasted. Don't know which transaction to use to create a new raw transaction.

I have tried to make send to same address in order to make transaction that will be input for raw transaction but I got 16: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element) when I tried to send that transaction.

https://ift.tt/2uBQZFW

Comments

Popular posts from this blog

Lightning network (lnd): What's the best way to report lnd server issues/ask for help with channels that won't close?

Is there any python library could be used to decodescript in output

How to discover startup flags or command-line options for bitcoind?