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

sendrawtransaction and txn-mempool-conflict

couldn't connect to server: EOF reached (code 1)