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

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

When mining with 2 computers, do I need to use 2 separate wallets addresses?