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

New z-enemy 1.26 Nvidia GPU Miner With Improved Performance

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)

How do I calculate the witness commitment hash for a given block?