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

Do extra hop channels in a BOLT#11 invoice need to exist on chain?

What exactly is a block?

New 22 THS Bitcoin ASIC Miner, the Holic H22